AFTD Auto-Formalizing Theoretical Domains

three_token_odd_cycle_deficit_seven

theoremverified

The value of three_token_odd_cycle_deficit at 7 equals 5.

Statement

theorem three_token_odd_cycle_deficit_seven : three_token_odd_cycle_deficit 7 = 5
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

Read back from the Lean

The value of three_token_odd_cycle_deficit at 7 is equal to 5.

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 theorem asserts that the three-token odd-cycle deficit at n = 7 is 5. It is proved by expanding the definition of `three_token_odd_cycle_deficit` and evaluating the resulting arithmetic. Since 3 does not divide 7, the definition gives (7 - 1) * (7 - 2) / 6 = 5, which the simplifier confirms directly.

  1. three_token_odd_cycle_deficit 7 = 5 automation

    The definition of `three_token_odd_cycle_deficit` is unfolded at n = 7. Because 3 does not divide 7, the conditional selects the expression (7 - 1) * (7 - 2) / 6, which evaluates to 6 * 5 / 6 = 5. Lean's simplifier evaluates this arithmetic expression directly to close the goal.

    line 2

    uses three_token_odd_cycle_deficit_five

    theorem three_token_odd_cycle_deficit_seven : three_token_odd_cycle_deficit 7 = 5 := by first | exact three_token_odd_cycle_deficit_five | (apply three_token_odd_cycle_deficit_five <;> assumption) | (apply three_token_odd_cycle_deficit_five <;> simp_all) | simpa using three_token_odd_cycle_deficit_five | (simp only [three_token_odd_cycle_deficit] at *; first | exact three_token_odd_cycle_deficit_five | (apply three_token_odd_cycle_deficit_five <;> assumption) | (apply three_token_odd_cycle_deficit_five <;> simp_all) | simpa using three_token_odd_cycle_deficit_five)
three_token_odd_cycle_deficit_five
The value of three_token_odd_cycle_deficit at 5 is 2.

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

/-- Sanity check: the deficit at n = 7 is 5. -/theorem three_token_odd_cycle_deficit_seven : three_token_odd_cycle_deficit 7 = 5 := by first | exact three_token_odd_cycle_deficit_five | (apply three_token_odd_cycle_deficit_five <;> assumption) | (apply three_token_odd_cycle_deficit_five <;> simp_all) | simpa using three_token_odd_cycle_deficit_five | (simp only [three_token_odd_cycle_deficit] at *; first | exact three_token_odd_cycle_deficit_five | (apply three_token_odd_cycle_deficit_five <;> assumption) | (apply three_token_odd_cycle_deficit_five <;> simp_all) | simpa using three_token_odd_cycle_deficit_five)
See it in the graphDiscuss this resultChallenge it