Documentation

LeanPool.NandakumarRamanaRao.NRR.PrimePolyhedron.FoxNeuwirth.FacetShuffleEquiv

Facet extensions and shuffles #

For a codimension-one Fox--Neuwirth cell, the labels form two ordered blocks. A containing top cell is exactly an order-preserving interleaving of these blocks, hence is determined by the set of positions occupied by the first block. This module constructs the inverse interleaving, proves the resulting equivalence with ShuffleIndex, and closes the genuine cellular-cycle calculation modulo a prime.

noncomputable def NRR.FoxNeuwirth.facetLabelSumEquiv {p : ℕ} (hp : Nat.Prime p) (a : BarredPermutation p) (ha : a.dualDimension = p - 2) :
Fin p ≃ Fin (facetLeftSize hp a ha) ⊕ Fin (p - facetLeftSize hp a ha)

A codimension-one facet has two blocks; this equivalence records the old rank inside the left or right block.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    theorem NRR.FoxNeuwirth.shuffle_compl_card {p : ℕ} (hp : Nat.Prime p) (a : BarredPermutation p) (ha : a.dualDimension = p - 2) (s : ShuffleIndex p (facetLeftSize hp a ha)) :
    (↑s)ᶜ.card = p - facetLeftSize hp a ha

    The complement of a shuffle has the complementary cardinality.

    noncomputable def NRR.FoxNeuwirth.shuffleMergeEquiv {p : ℕ} (hp : Nat.Prime p) (a : BarredPermutation p) (ha : a.dualDimension = p - 2) (s : ShuffleIndex p (facetLeftSize hp a ha)) :
    Fin (facetLeftSize hp a ha) ⊕ Fin (p - facetLeftSize hp a ha) ≃ Fin p

    Increasing merge of the two ordered blocks into the positions selected by a shuffle.

    Equations
    Instances For
      noncomputable def NRR.FoxNeuwirth.shuffleRank {p : ℕ} (hp : Nat.Prime p) (a : BarredPermutation p) (ha : a.dualDimension = p - 2) (s : ShuffleIndex p (facetLeftSize hp a ha)) :

      The top-cell rank obtained by interleaving the two ordered blocks according to s.

      Equations
      Instances For
        theorem NRR.FoxNeuwirth.shuffleRank_apply_left {p : ℕ} (hp : Nat.Prime p) (a : BarredPermutation p) (ha : a.dualDimension = p - 2) (s : ShuffleIndex p (facetLeftSize hp a ha)) (i : Fin p) (hi : ↑(a.rank i) < facetLeftSize hp a ha) :
        (shuffleRank hp a ha s) i = ((↑s).orderEmbOfFin ⋯) ⟨↑(a.rank i), hi⟩

        On a first-block label, shuffleRank is the increasing enumeration of the selected positions.

        theorem NRR.FoxNeuwirth.shuffleRank_apply_right {p : ℕ} (hp : Nat.Prime p) (a : BarredPermutation p) (ha : a.dualDimension = p - 2) (s : ShuffleIndex p (facetLeftSize hp a ha)) (i : Fin p) (hi : ¬↑(a.rank i) < facetLeftSize hp a ha) :
        (shuffleRank hp a ha s) i = ((↑s)ᶜ.orderEmbOfFin ⋯) ⟨↑(a.rank i) - facetLeftSize hp a ha, ⋯⟩

        On a second-block label, shuffleRank is the increasing enumeration of the complementary positions.

        theorem NRR.FoxNeuwirth.sameBlock_iff_same_side {p : ℕ} (hp : Nat.Prime p) (a : BarredPermutation p) (ha : a.dualDimension = p - 2) (i j : Fin p) :
        a.SameBlock i j ↔ (↑(a.rank i) < facetLeftSize hp a ha ↔ ↑(a.rank j) < facetLeftSize hp a ha)

        In a codimension-one cell, two labels are in the same block exactly when their old ranks lie on the same side of the unique bar.

        theorem NRR.FoxNeuwirth.shuffleRank_preserves_sameBlock_order {p : ℕ} (hp : Nat.Prime p) (a : BarredPermutation p) (ha : a.dualDimension = p - 2) (s : ShuffleIndex p (facetLeftSize hp a ha)) (i j : Fin p) (hij : a.SameBlock i j) :
        ↑(a.rank i) < ↑(a.rank j) ↔ ↑((shuffleRank hp a ha s) i) < ↑((shuffleRank hp a ha s) j)

        The shuffle merge preserves the old order inside each of the two facet blocks.

        The merged permutation is a top-cell extension of the original facet.

        noncomputable def NRR.FoxNeuwirth.shuffleToTopExtension {p : ℕ} (hp : Nat.Prime p) (a : BarredPermutation p) (ha : a.dualDimension = p - 2) :

        Inverse construction: merge the two ordered blocks according to the chosen shuffle.

        Equations
        Instances For

          The first-block positions of the constructed extension are the prescribed shuffle.

          theorem NRR.FoxNeuwirth.topExtension_preserves_sameBlock_order {p : ℕ} (a : BarredPermutation p) (c : TopExtension a) (i j : Fin p) (hij : a.SameBlock i j) :
          ↑(a.rank i) < ↑(a.rank j) ↔ ↑((↑↑c).rank i) < ↑((↑↑c).rank j)

          A top-cell extension is order-preserving on each facet block.

          theorem NRR.FoxNeuwirth.rank_mem_firstBlockPositions_iff {p : ℕ} (hp : Nat.Prime p) (a : BarredPermutation p) (ha : a.dualDimension = p - 2) (c : TopExtension a) (i : Fin p) :
          (↑↑c).rank i ∈ firstBlockPositions hp a ha ↑c ↔ ↑(a.rank i) < facetLeftSize hp a ha

          A label occupies a first-block position in an extension exactly when it belongs to the first block of the facet.

          noncomputable def NRR.FoxNeuwirth.topExtensionLeftOrderEmb {p : ℕ} (hp : Nat.Prime p) (a : BarredPermutation p) (ha : a.dualDimension = p - 2) (c : TopExtension a) :

          The first-block restriction of a top-cell extension, indexed by old rank.

          Equations
          Instances For
            theorem NRR.FoxNeuwirth.topExtensionLeftOrderEmb_mem {p : ℕ} (hp : Nat.Prime p) (a : BarredPermutation p) (ha : a.dualDimension = p - 2) (c : TopExtension a) (r : Fin (facetLeftSize hp a ha)) :

            The first-block restriction lands in the first-block position finset.

            theorem NRR.FoxNeuwirth.topExtension_left_rank_eq_orderEmb {p : ℕ} (hp : Nat.Prime p) (a : BarredPermutation p) (ha : a.dualDimension = p - 2) (c : TopExtension a) (i : Fin p) (hi : ↑(a.rank i) < facetLeftSize hp a ha) :
            (↑↑c).rank i = ((firstBlockPositions hp a ha ↑c).orderEmbOfFin ⋯) ⟨↑(a.rank i), hi⟩

            The increasing enumeration of first-block positions agrees with every top-cell extension.

            The complement of the first-block position set has the size of the second block.

            noncomputable def NRR.FoxNeuwirth.topExtensionRightOrderEmb {p : ℕ} (hp : Nat.Prime p) (a : BarredPermutation p) (ha : a.dualDimension = p - 2) (c : TopExtension a) :
            Fin (p - facetLeftSize hp a ha) ↪o Fin p

            The second-block restriction of a top-cell extension, indexed by old rank within that block.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              theorem NRR.FoxNeuwirth.topExtensionRightOrderEmb_mem {p : ℕ} (hp : Nat.Prime p) (a : BarredPermutation p) (ha : a.dualDimension = p - 2) (c : TopExtension a) (r : Fin (p - facetLeftSize hp a ha)) :

              The second-block restriction lands in the complementary position finset.

              theorem NRR.FoxNeuwirth.topExtension_right_rank_eq_orderEmb {p : ℕ} (hp : Nat.Prime p) (a : BarredPermutation p) (ha : a.dualDimension = p - 2) (c : TopExtension a) (i : Fin p) (hi : ¬↑(a.rank i) < facetLeftSize hp a ha) :
              (↑↑c).rank i = ((firstBlockPositions hp a ha ↑c)ᶜ.orderEmbOfFin ⋯) ⟨↑(a.rank i) - facetLeftSize hp a ha, ⋯⟩

              The increasing enumeration of complementary positions agrees with every top-cell extension.

              Two extensions with the same first-block position set are equal.

              Every shuffle is realized by its canonical order-preserving merge.

              noncomputable def NRR.FoxNeuwirth.facetShuffleEquiv {p : ℕ} (hp : Nat.Prime p) (a : BarredPermutation p) (ha : a.dualDimension = p - 2) :

              Canonical equivalence between top-cell extensions of a facet and its shuffles.

              Equations
              Instances For

                The canonical extension-to-shuffle map is bijective.

                Unconditional shuffle-cardinality formula for all prime facets.

                Every actual cellular boundary coefficient vanishes modulo the prime.

                The genuine top-cell incidence sum is an unconditional finite cycle modulo a prime.

                Equations
                Instances For