Documentation

LeanPool.NandakumarRamanaRao.NRR.PrimePolyhedron.FoxNeuwirth.MaximalFlagEncodingStepOne

Step 1: recovering maximal-flag codes #

This file implements the unconditional part of the maximal-flag encoding theorem.

The explicit map

MaximalFlagCode.toSimplex hp : Code p → Simplex p (p - 1)

is proved injective. The proof recovers the bottom and top permutations from the endpoint vertices and recovers the bar-removal permutation from the successive retained-bar sets. Consequently Code p is equivalent to the subtype of maximal strict flags lying in the image of the explicit stage construction.

The surjectivity statement is isolated as EveryMaximalFlagEncoded hp. From this classification the file constructs simplexToCode, proves both inverse identities, and packages the requested equivalence with all maximal strict flags. No cycle, coefficient, or cancellation statement is included in that classification hypothesis.

The first (bottom) stage index, in Fin p.

Equations
Instances For

    The last (top) stage index, in Fin p.

    Equations
    Instances For

      Cast a stage index back to the arithmetic index used by a maximal simplex.

      Equations
      Instances For

        At stage zero every original bar is retained.

        At the final stage every bar has been removed.

        At stage zero the block number is the bottom-permutation rank.

        At the final stage every label has block number zero.

        theorem NRR.FoxNeuwirthOrderComplex.MaximalFlagCode.perm_eq_of_lt_iff {n : ℕ} (sigma tau : Equiv.Perm (Fin n)) (horder : ∀ (x y : Fin n), sigma x < sigma y ↔ tau x < tau y) :
        sigma = tau

        A finite permutation is determined by the strict order it induces.

        The first stage rank is exactly the coded bottom permutation.

        The final stage rank is exactly the coded top permutation.

        The first stage cell is the all-singleton cell determined by bottom.

        theorem NRR.FoxNeuwirthOrderComplex.MaximalFlagCode.stageCell_last {p : ℕ} (hp : Nat.Prime p) (z : Code p) :
        stageCell z (lastStage hp) = { rank := z.top, bars := ∅ }

        The final stage cell is the top cell determined by top.

        A bar removed at step q is present immediately before that step.

        A bar removed at step q is absent immediately after that step.

        Equality of every retained-bar stage determines the removal permutation.

        The explicit maximal-flag code map is injective.

        Recover the unique code of an encoded maximal flag.

        Equations
        Instances For

          Unconditional equivalence between codes and the image of the explicit stage construction.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For

            Recover a code from an arbitrary maximal flag once the classification theorem is available.

            Equations
            Instances For

              Equivalence with all maximal strict flags, conditional on the surjectivity/classification theorem.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For

                Step 1 is unconditional on the image of the explicit maximal-flag construction.