op309_five_cycle_total_dom_contains_three
Every total edge-dominating subset of a five-cycle contains three consecutive edges, so no star forest can serve as its full witness.
Statement
theorem op309_five_cycle_total_dom_contains_three (r : Fin 5 → Bool)
(h : ∀ i : Fin 5, r (i + 4) = true ∨ r (i + 1) = true) :
∃ i : Fin 5, r i = true ∧ r (i + 1) = true ∧ r (i + 2) = true- Source
- Finite verification of the five-cycle exception in https://arxiv.org/abs/2610.21036.
- Verified
- 18 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext
The proof, explained
The theorem is proved by finite case exhaustion over all possible edge subsets of the 5-cycle. Since the cycle has only 5 edges, there are $2^5 = 32$ candidate boolean assignments. Moving the assignment and the domination hypothesis back into the goal yields a closed universal statement over the finite domain $\mathrm{Fin}\ 5 \to \mathrm{Bool}$, which Lean's decision procedure verifies by evaluating all 32 cases directly.
All $2^5 = 32$ configurations of edges on the 5-cycle satisfy the implication. automation
Reverting the edge selection function $r$ and the domination hypothesis $h$ turns the goal into a closed universal statement over all functions $r : \mathrm{Fin}\ 5 \to \mathrm{Bool}$. Because $\mathrm{Fin}\ 5 \to \mathrm{Bool}$ contains only $2^5 = 32$ elements, the universal quantification is decidable. The `decide` tactic checks every configuration by finite exhaustion, verifying that whenever every edge $i$ has an adjacent edge $i+4$ or $i+1$ in the set, there exists an edge $i$ for which $i$, $i+1$, and $i+2$ are all selected.
revert r decide
- Line 7 (`revert r`) is a formal detail with no counterpart in paper proofs: Lean requires the arbitrary assignment $r$ and its hypothesis to be moved back into the goal so that `decide` faces a closed universal quantifier over the finite type $\mathrm{Fin}\ 5 \to \mathrm{Bool}$ rather than free variables.
- The reasoning in line 8 is entirely automated: `decide` verifies the goal by exhaustively evaluating the 32 truth assignments in the kernel rather than through deductive inference steps.
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.
set_option maxRecDepth 16384set_option maxHeartbeats 2000000theorem op309_five_cycle_total_dom_contains_three (r : Fin 5 → Bool) (h : ∀ i : Fin 5, r (i + 4) = true ∨ r (i + 1) = true) : ∃ i : Fin 5, r i = true ∧ r (i + 1) = true ∧ r (i + 2) = true := by revert r decide