three_token_odd_cycle_deficit_five
The value of three_token_odd_cycle_deficit at 5 equals 2.
Statement
theorem three_token_odd_cycle_deficit_five : three_token_odd_cycle_deficit 5 = 2- Source
- arXiv:2611.22830 "Independent sets in the 2-token graph of a cycle and kings on the torus"; OP-2010
- Verified
- 20 Nov 2026
- Axioms
Quot.soundpropext- Built on 2
- three_token_odd_cycle_deficitFor a natural number n, three_token_odd_cycle_deficit n equals (n - 1) * (n - 2) / 6 - 1 if 3 divides n, and (n - 1) * (n - 2) / 6…
- weighted_max_cut_linear_combinationFor all real numbers W and M, the convex combination of (3/4)W + (3/16)M and W - M with weights 16/19 and 3/19 equals (15/19)W.
- Used by 1
- three_token_odd_cycle_deficit_sevenThe value of three_token_odd_cycle_deficit at 7 equals 5.
Read back from the Lean
three_token_odd_cycle_deficit 5 is equal to 2.
Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.
The proof, explained
The proof evaluates the definition of `three_token_odd_cycle_deficit` at n = 5 by direct computation. Since 3 does not divide 5, the definition takes the else branch, which simplifies to (5 - 1) * (5 - 2) / 6 = 12 / 6 = 2.
three_token_odd_cycle_deficit 5 = 2 automation
Unfolding the definition of `three_token_odd_cycle_deficit` at 5 gives the goal `(if 3 ∣ 5 then (5 - 1) * (5 - 2) / 6 - 1 else (5 - 1) * (5 - 2) / 6) = 2`. The simplifier evaluates the divisibility check `3 ∣ 5` to false and calculates the natural number arithmetic (5 - 1) * (5 - 2) / 6 = 4 * 3 / 6 = 2, closing the equality by reflexivity. The lemma `weighted_max_cut_linear_combination` supplied to `simpa using` is an unused artifact of automated proof search.
uses
weighted_max_cut_linear_combinationtheorem three_token_odd_cycle_deficit_five : three_token_odd_cycle_deficit 5 = 2 := by first | exact weighted_max_cut_linear_combination | (apply weighted_max_cut_linear_combination <;> assumption) | (apply weighted_max_cut_linear_combination <;> simp_all) | simpa using weighted_max_cut_linear_combination | (simp only [three_token_odd_cycle_deficit] at *; first | exact weighted_max_cut_linear_combination | (apply weighted_max_cut_linear_combination <;> assumption) | (apply weighted_max_cut_linear_combination <;> simp_all) | simpa using weighted_max_cut_linear_combination)
weighted_max_cut_linear_combination- For real numbers W and M, (16 / 19) * ((3 / 4) * W + (3 / 16) * M) + (3 / 19) * (W - M) = (15 / 19) * W.
- The lemma `weighted_max_cut_linear_combination` is syntactically present in the tactic script due to an automated tactic search pattern (`first | ...`), but it is mathematically irrelevant to the claim; the simplifier closes the goal purely by ground arithmetic evaluation.
Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.
Lean source view module on GitHub
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
/-- Sanity check: the deficit at n = 5 is 2. -/theorem three_token_odd_cycle_deficit_five : three_token_odd_cycle_deficit 5 = 2 := by first | exact weighted_max_cut_linear_combination | (apply weighted_max_cut_linear_combination <;> assumption) | (apply weighted_max_cut_linear_combination <;> simp_all) | simpa using weighted_max_cut_linear_combination | (simp only [three_token_odd_cycle_deficit] at *; first | exact weighted_max_cut_linear_combination | (apply weighted_max_cut_linear_combination <;> assumption) | (apply weighted_max_cut_linear_combination <;> simp_all) | simpa using weighted_max_cut_linear_combination)