Documentation

LeanPool.NandakumarRamanaRao.NRR.PrimePolyhedron.FoxNeuwirth.MaximalFlagCode

Explicit codes and internal pairings for maximal Fox--Neuwirth flags #

A maximal flag is combinatorially controlled by three permutations:

This module implements the sign-reversing part of that description. Deleting the bottom vertex is paired by swapping the two bottom labels separated by the first removed bar. Deleting any other internal vertex is paired by swapping the two adjacent removal steps around that vertex. Both operations are fixed-point-free involutions and negate the canonical product sign.

The geometric/combinatorial bridge constructs the associated strict flag and proves that paired codes have the same deleted face. The finite involution lemma then proves RankTwoCancellationTheorem.

Index conventions. The bar-removal permutation lives on Fin (p - 1). Because Lean's natural subtraction does not make p - 2 + 1 and p - 1 definitionally equal, the removal-step pairing uses the explicit reindexing equivalence eQ hp : Fin (p - 2 + 1) ≃ Fin (p - 1), and the first-cut labels use ePp hp : Fin (p - 1 + 1) ≃ Fin p.

Finite code for a maximal flag.

  • bottom : Equiv.Perm (Fin p)

    The label permutation at the bottom of the encoded maximal flag.

  • removal : Equiv.Perm (Fin (p - 1))

    The order in which the bars are removed along the maximal flag.

  • top : Equiv.Perm (Fin p)

    The label permutation at the top of the encoded maximal flag.

Instances For
    theorem NRR.FoxNeuwirthOrderComplex.MaximalFlagCode.Code.ext {p : ℕ} {x y : Code p} (bottom : x.bottom = y.bottom) (removal : x.removal = y.removal) (top : x.top = y.top) :
    x = y
    @[instance_reducible]
    Equations
    • One or more equations did not get rendered due to their size.
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For

      Integer sign of a finite permutation.

      Equations
      Instances For

        First bar-removal step; prime cardinality guarantees that Fin (p - 1) is nonempty.

        Equations
        Instances For

          Reindexing equivalence Fin (p - 1 + 1) ≃ Fin p, used to view a bar-adjacent position as a bottom label position.

          Equations
          Instances For

            Reindexing equivalence Fin (p - 2 + 1) ≃ Fin (p - 1), used to view an internal removal-step index as a bar position.

            Equations
            Instances For

              Label occupying the position immediately before the first removed bar.

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

                Label occupying the position immediately after the first removed bar.

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

                  The two labels around the first removed bar are distinct.

                  Pairing for deletion of the bottom vertex: swap the two labels which become identified after removing the first bar.

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

                    The bottom pairing swaps the ranks of the two labels and fixes every other rank.

                    @[simp]

                    After the swap, the labels occupying the two first-cut positions are exchanged.

                    Bottom pairing has no fixed points.

                    Any nontrivial transposition negates the integer permutation sign.

                    Bottom pairing reverses the code orientation.

                    Pairing for a positive internal deleted position: swap the adjacent bar-removal steps on the left and right of that position.

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

                      The two removal steps around an internal position are distinct after reindexing.

                      Removal-step pairing is an involution.

                      Removal-step pairing has no fixed points.

                      Removal-step pairing reverses the code orientation.

                      def NRR.FoxNeuwirthOrderComplex.MaximalFlagCode.deleteFace {p : ℕ} (hp : Nat.Prime p) (k : Fin (p - 1 + 1)) :
                      FaceMap (p - 2) (p - 1)

                      The order-preserving face map that deletes a chosen maximal-flag vertex.

                      Equations
                      Instances For

                        Bottom-partner flag codes represent the same simplex face after the bottom deletion.

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

                          Removal-partner flag codes represent the same simplex face at the chosen internal deletion.

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

                            The explicit sign-reversing internal pairing kernel is available.