Documentation

LeanPool.BrillNoetherGraphs.Bananas.CrossOneOff.CrossOneOffFiniteRows

Finite-row inversion counting for the corrected both-off block #

The corrected rows of Lemma 4.30 extend to crossOneOffCutoff g n. To count their ordinary inversions as distinct affine inversions one must additionally know that this cutoff is at most the affine period. This file makes that finite-row injection precise and then specializes it to the corrected cross-one-off row function.

def Bananas.finiteRowInversionPairs (lo hi : ℕ) (row : ℕ → ℕ) :

Ordered pairs of rows in [lo, hi] on which a finite row function is strictly decreasing.

Equations
Instances For

    Cast a natural-number row pair to the integer pair used by kInversions.

    Equations
    Instances For
      theorem Bananas.finiteRowInversionPairs_card_le_kInversionCount {lo hi k : ℕ} {row : ℕ → ℕ} {tau : ℤ → ℤ} (hRows : ∀ (b : ℕ), lo ≤ b → b ≤ hi → tau ↑b = ↑(row b)) (hSeparate : hi ≤ k) (hfinite : (kInversions k tau).Finite) :

      Every inversion visible in a finite row block injects into the normalized k-inversion set when the final row is at most the period. Equality hi = k is allowed: the first coordinate of every inversion is strictly smaller than its second coordinate.

      The finite set of all ordinary inversions forced by the corrected common block 2 ≤ b ≤ crossOneOffCutoff g n.

      Equations
      Instances For
        theorem Bananas.crossOneOff_forcedInversionPairs_card_le {g k : ℕ} (B : Banana g) (alpha beta : Fin (g + 1)) (tau : ℤ → ℤ) (hg : 2 ≤ g) (hab : alpha ≠ beta) (hAlpha : 1 < B.length alpha) (hBeta : 1 < B.length beta) (hLong : CrossOneOffLongEnough g (B.length alpha) (B.length beta)) (hTau : IsTransmissionPermutation (mark (Utilities.Certificate.SubdivisionGraph.Spec.graph B) (strandVertex B alpha ⟨1, ⋯⟩) (strandVertex B beta ⟨B.length beta - 1, ⋯⟩)) (g • oneChip (rightEndpoint B)) tau) (hSeparate : crossOneOffCutoff g (B.length beta) ≤ k) (hfinite : (kInversions k tau).Finite) :

        Under the missing period-separation hypothesis from Corollary 4.31, every forced finite-row inversion is a distinct normalized affine inversion.

        The corrected numerical target from Corollary 4.31. Its n = 2 branch accounts for the corrected block beginning at row 2; for n ≥ 3 the target is choose (g-1) 2 + floor(g/(n-1)).

        Equations
        Instances For
          theorem Bananas.crossOneOff_corrected_inversion_lower_bound_of_finiteRows {g k : ℕ} (B : Banana g) (alpha beta : Fin (g + 1)) (tau : ℤ → ℤ) (hg : 2 ≤ g) (hab : alpha ≠ beta) (hAlpha : 1 < B.length alpha) (hBeta : 1 < B.length beta) (hLong : CrossOneOffLongEnough g (B.length alpha) (B.length beta)) (hTau : IsTransmissionPermutation (mark (Utilities.Certificate.SubdivisionGraph.Spec.graph B) (strandVertex B alpha ⟨1, ⋯⟩) (strandVertex B beta ⟨B.length beta - 1, ⋯⟩)) (g • oneChip (rightEndpoint B)) tau) (hSeparate : crossOneOffCutoff g (B.length beta) ≤ k) (hfinite : (kInversions k tau).Finite) (hSharp : correctedCrossOneOffForcedCount g (B.length beta) ≤ (crossOneOffForcedInversionPairs g (B.length beta)).card) :

          A sharp finite-row block certificate implies the corrected Corollary 4.31 lower bound, provided the cutoff lies in one affine period. The remaining pure arithmetic task is to construct hSharp for crossOneOffRow.