OAI/Combinatorics/CompleteCrossing/Hill.lean
22 declarations, 0 contain sorry, 0 declared as axioms
Harary–Hill arithmetic, residue-page definitions, and the even-order deletion inequality.
- def
OAI.Paper170.hillline 33Source documentation
The integer in the Harary–Hill formula.
Distinct definitions of this name: ComparatorChallenges/CompleteCrossing.lean:78 (different declaration text). Qualify references as OAI.Paper170.hill@path.
def hill (n : ℕ) : ℕ := …
- def
OAI.Paper170.residueColorline 37Source documentation
The two contiguous residue blocks used by the explicit drawing.
def residueColor (n r : ℕ) : Bool := decide (r % n < n / 2)
- def
OAI.Paper170.crossingTuplesline 40Source documentation
Increasing four-tuples whose alternating edges occupy the same page.
def crossingTuples (n : ℕ) : Finset (Fin 4 → Fin n) := by …
- def
OAI.Paper170.sameColorResiduesline 47Source documentation
Residues with the same color after a cyclic shift by k.
def sameColorResidues (n k : ℕ) : Finset ℕ := …
- def
OAI.Paper170.sameColorGapTuplesline 51Source documentation
Cyclic starting points and the first two positive gaps in the source count.
def sameColorGapTuples (n k : ℕ) : Finset (ℕ × ℕ × ℕ) := …
- def
OAI.Paper170.residueFiberline 57Source documentation
Starting labels producing a prescribed diagonal-sum residue.
def residueFiber (n b r : ℕ) : Finset ℕ := …
- def
OAI.Paper170.sameColorResiduesParityline 61Source documentation
One parity class of the same-color residues.
def sameColorResiduesParity (n k p : ℕ) : Finset ℕ := …
- def
OAI.Paper170.firstGapParityline 65Source documentation
One parity class of the first-gap choices after a fixed offset.
def firstGapParity (k b p : ℕ) : Finset ℕ := …
- def
OAI.Paper170.crossingAntiderivativeline 69Source documentation
The polynomial whose finite difference evaluates the crossing sum.
def crossingAntiderivative (n k : ℤ) : ℤ := …
- theorem
OAI.Paper170.crossingAntiderivative_subline 83 - theorem
OAI.Paper170.hill_numerator_dvdline 89 - theorem
OAI.Paper170.hill_evenline 98 - theorem
OAI.Paper170.hill_oddline 106 - theorem
OAI.Paper170.hill_eq_floor_productline 118 - theorem
OAI.Paper170.crossing_sum_partialline 140 - theorem
OAI.Paper170.crossing_sum_telescopeline 156 - theorem
OAI.Paper170.cyclic_count_pairingline 172 - lemma
OAI.Paper170.four_mul_hillline 237 - lemma
OAI.Paper170.four_mul_hill_evenline 241 - lemma
OAI.Paper170.four_mul_hill_precedingline 251 - lemma
OAI.Paper170.hill_deletion_relationline 261 - lemma
OAI.Paper170.even_lower_bound_of_deletionline 272