Documentation

Anderson4D.Combinatorics.PairingHeadCases

The three head cases in the proof of Proposition 3.4 #

The paper indexes a pairing by [1, m]. Here a pairing of Fin (m + 1) uses zero-based indices, so its distinguished new index is 0, and the paper prefix [1, 2q] is exactly the finset of indices i < 2q, whose last element is 2q - 1.

The zero-based prefix corresponding to the paper interval [1, 2q]. The bound 2q ≤ m + 1 is deliberately not built into the definition.

Equations
Instances For
    @[simp]
    theorem Anderson4D.PartialPairing.mem_headEvenPrefix {m q : ℕ} {i : Fin (m + 1)} :
    i ∈ headEvenPrefix m q ↔ ↑i < 2 * q
    def Anderson4D.PartialPairing.headEvenPrefixLast {m q : ℕ} (hqpos : 1 ≤ q) (hq : 2 * q ≤ m + 1) :
    Fin (m + 1)

    The endpoint 2q - 1 of the zero-based realization of [1, 2q].

    Equations
    Instances For
      theorem Anderson4D.PartialPairing.headEvenPrefix_eq_Icc {m q : ℕ} (hqpos : 1 ≤ q) (hq : 2 * q ≤ m + 1) :

      A positive even prefix which is fully paired under κ.

      Equations
      Instances For

        There is a paper-style fully paired prefix [1, 2q].

        Equations
        Instances For

          Case (1): the distinguished head index is a single.

          Equations
          Instances For

            Case (2): the head is paired, but no [1, 2q] is fully paired.

            Equations
            Instances For

              Case (3): the head is paired and some [1, 2q] is fully paired.

              Equations
              Instances For

                The least q for which the paper prefix [1, 2q] is fully paired.

                Equations
                Instances For

                  Complete data attached to case (3). The minimality field is the exact formal counterpart of “choose the smallest q” in the proof of (3.16).

                  Instances For

                    The canonical minimal-prefix data of a case-(3) pairing.

                    Equations
                    Instances For
                      def Anderson4D.PartialPairing.restrictTo {α : Type u_1} [DecidableEq α] (κ : PartialPairing α) {B : Finset α} (hB : ∀ i ∈ B, κ i ∈ B) :

                      Restrict an involution to a closed finset.

                      Equations
                      Instances For
                        @[simp]
                        theorem Anderson4D.PartialPairing.restrictTo_apply_val {α : Type u_1} [DecidableEq α] (κ : PartialPairing α) {B : Finset α} (hB : ∀ i ∈ B, κ i ∈ B) (i : ↥B) :
                        ↑((κ.restrictTo hB) i) = κ ↑i
                        theorem Anderson4D.PartialPairing.IsFull.congr {α : Type u_1} {β : Type u_2} {κ : PartialPairing α} (hκ : κ.IsFull) (e : α ≃ β) :

                        Increasing identification of the selected prefix with Fin (2q).

                        Equations
                        Instances For

                          Restriction of κ to its first fully paired prefix, reindexed from zero through 2q-1.

                          Equations
                          Instances For

                            Increasing reindexing of the external remainder. Its source consists of the ambient indices 2q, …, m, i.e. paper indices 2q+1, …, m+1.

                            Equations
                            Instances For

                              The external pairing σ₂ from case (3), on exactly m+1-2q reindexed positions.

                              Equations
                              Instances For

                                The three cases are represented by disjoint subtypes, yielding a direct finite-sum reindexing API.

                                Equations
                                • One or more equations did not get rendered due to their size.
                                Instances For
                                  theorem Anderson4D.PartialPairing.sum_headCases {m : ℕ} {R : Type u_1} [AddCommMonoid R] (f : PartialPairing (Fin (m + 1)) → R) :
                                  ∑ κ : PartialPairing (Fin (m + 1)), f κ = ∑ κ : { κ : PartialPairing (Fin (m + 1)) // κ.HeadIsSingle }, f ↑κ + ∑ κ : { κ : PartialPairing (Fin (m + 1)) // κ.HeadPairedNoPrefix }, f ↑κ + ∑ κ : { κ : PartialPairing (Fin (m + 1)) // κ.HeadPairedWithPrefix }, f ↑κ

                                  Reindex any finite sum over pairings into the three cases of the proof of Proposition 3.4.