op309_ten_vertex_perfect_matching_classification_kernel
If each of the ten displayed incidence triples contains exactly one selected edge, the selection contains one of the six displayed perfect matchings.
Statement
theorem op309_ten_vertex_perfect_matching_classification_kernel :
∀ x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 x11 x12 x13 x14 : Fin 2,
(((x0 = 1 ∧ x1 = 0 ∧ x2 = 0) ∨ (x0 = 0 ∧ x1 = 1 ∧ x2 = 0) ∨ (x0 = 0 ∧ x1 = 0 ∧ x2 = 1)) ∧
((x3 = 1 ∧ x4 = 0 ∧ x5 = 0) ∨ (x3 = 0 ∧ x4 = 1 ∧ x5 = 0) ∨ (x3 = 0 ∧ x4 = 0 ∧ x5 = 1)) ∧
((x6 = 1 ∧ x7 = 0 ∧ x8 = 0) ∨ (x6 = 0 ∧ x7 = 1 ∧ x8 = 0) ∨ (x6 = 0 ∧ x7 = 0 ∧ x8 = 1)) ∧
((x0 = 1 ∧ x9 = 0 ∧ x10 = 0) ∨ (x0 = 0 ∧ x9 = 1 ∧ x10 = 0) ∨ (x0 = 0 ∧ x9 = 0 ∧ x10 = 1)) ∧
((x3 = 1 ∧ x11 = 0 ∧ x12 = 0) ∨ (x3 = 0 ∧ x11 = 1 ∧ x12 = 0) ∨ (x3 = 0 ∧ x11 = 0 ∧ x12 = 1)) ∧
((x6 = 1 ∧ x13 = 0 ∧ x14 = 0) ∨ (x6 = 0 ∧ x13 = 1 ∧ x14 = 0) ∨ (x6 = 0 ∧ x13 = 0 ∧ x14 = 1)) ∧
((x1 = 1 ∧ x4 = 0 ∧ x7 = 0) ∨ (x1 = 0 ∧ x4 = 1 ∧ x7 = 0) ∨ (x1 = 0 ∧ x4 = 0 ∧ x7 = 1)) ∧
((x8 = 1 ∧ x9 = 0 ∧ x11 = 0) ∨ (x8 = 0 ∧ x9 = 1 ∧ x11 = 0) ∨ (x8 = 0 ∧ x9 = 0 ∧ x11 = 1)) ∧
((x5 = 1 ∧ x10 = 0 ∧ x13 = 0) ∨ (x5 = 0 ∧ x10 = 1 ∧ x13 = 0) ∨ (x5 = 0 ∧ x10 = 0 ∧ x13 = 1)) ∧
((x2 = 1 ∧ x12 = 0 ∧ x14 = 0) ∨ (x2 = 0 ∧ x12 = 1 ∧ x14 = 0) ∨ (x2 = 0 ∧ x12 = 0 ∧ x14 = 1))) →
((x0 = 1 ∧ x4 = 1 ∧ x8 = 1 ∧ x12 = 1 ∧ x13 = 1) ∨
(x0 = 1 ∧ x5 = 1 ∧ x7 = 1 ∧ x11 = 1 ∧ x14 = 1) ∨
(x1 = 1 ∧ x3 = 1 ∧ x8 = 1 ∧ x10 = 1 ∧ x14 = 1) ∨
(x1 = 1 ∧ x5 = 1 ∧ x6 = 1 ∧ x9 = 1 ∧ x12 = 1) ∨
(x2 = 1 ∧ x3 = 1 ∧ x7 = 1 ∧ x9 = 1 ∧ x13 = 1) ∨
(x2 = 1 ∧ x4 = 1 ∧ x6 = 1 ∧ x10 = 1 ∧ x11 = 1))- Source
- Finite enumeration of the six perfect matchings of the ten-vertex graph in experiment 31287.
- Verified
- 18 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext
The proof, explained
The theorem classifies all perfect matchings of a 3-regular graph on 10 vertices with 15 edges (the Petersen graph), where the selection of edges is represented by 15 binary indicator variables. The hypothesis states that every vertex is incident to exactly one chosen edge, and the conclusion asserts that the selection must be one of six specific 5-edge perfect matchings. The proof proceeds entirely by finite exhaustion: after introducing the first five variables, it splits into 32 cases and evaluates the decidable proposition for the remaining variables in each case using `decide`.
Fix the first five edge-selection variables $x_0, x_1, x_2, x_3, x_4 \in \{0, 1\}$.
We introduce the first five binary variables into the local context so that they are available for explicit case splitting.
intro x0 x1 x2 x3 x4Any edge selection satisfying the ten vertex incidence conditions must be one of the six canonical perfect matchings. automation
We perform an exhaustive case analysis on each of the five variables $x_0, \dots, x_4 \in \{0, 1\}$ using `fin_cases`, producing $2^5 = 32$ subgoals. In each subcase, the remaining statement is a bounded universal statement over the remaining ten binary variables $x_5, \dots, x_{14} \in \{0, 1\}$, which Lean's decision procedure `decide` verifies by finite evaluation.
fin_cases x0 <;> fin_cases x1 <;> fin_cases x2 <;> fin_cases x3 <;> fin_cases x4 <;> decide
- The proof relies entirely on exhaustive finite verification (`decide`) over the search space of $2^{15}$ possible edge assignments; the explicit case split on the first five variables with `fin_cases` breaks the computation into 32 smaller branches to avoid kernel recursion and memory limits.
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 32768set_option maxHeartbeats 12000000set_option synthInstance.maxSize 100000set_option synthInstance.maxHeartbeats 1000000theorem op309_ten_vertex_perfect_matching_classification_kernel : ∀ x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 x11 x12 x13 x14 : Fin 2, (((x0 = 1 ∧ x1 = 0 ∧ x2 = 0) ∨ (x0 = 0 ∧ x1 = 1 ∧ x2 = 0) ∨ (x0 = 0 ∧ x1 = 0 ∧ x2 = 1)) ∧ ((x3 = 1 ∧ x4 = 0 ∧ x5 = 0) ∨ (x3 = 0 ∧ x4 = 1 ∧ x5 = 0) ∨ (x3 = 0 ∧ x4 = 0 ∧ x5 = 1)) ∧ ((x6 = 1 ∧ x7 = 0 ∧ x8 = 0) ∨ (x6 = 0 ∧ x7 = 1 ∧ x8 = 0) ∨ (x6 = 0 ∧ x7 = 0 ∧ x8 = 1)) ∧ ((x0 = 1 ∧ x9 = 0 ∧ x10 = 0) ∨ (x0 = 0 ∧ x9 = 1 ∧ x10 = 0) ∨ (x0 = 0 ∧ x9 = 0 ∧ x10 = 1)) ∧ ((x3 = 1 ∧ x11 = 0 ∧ x12 = 0) ∨ (x3 = 0 ∧ x11 = 1 ∧ x12 = 0) ∨ (x3 = 0 ∧ x11 = 0 ∧ x12 = 1)) ∧ ((x6 = 1 ∧ x13 = 0 ∧ x14 = 0) ∨ (x6 = 0 ∧ x13 = 1 ∧ x14 = 0) ∨ (x6 = 0 ∧ x13 = 0 ∧ x14 = 1)) ∧ ((x1 = 1 ∧ x4 = 0 ∧ x7 = 0) ∨ (x1 = 0 ∧ x4 = 1 ∧ x7 = 0) ∨ (x1 = 0 ∧ x4 = 0 ∧ x7 = 1)) ∧ ((x8 = 1 ∧ x9 = 0 ∧ x11 = 0) ∨ (x8 = 0 ∧ x9 = 1 ∧ x11 = 0) ∨ (x8 = 0 ∧ x9 = 0 ∧ x11 = 1)) ∧ ((x5 = 1 ∧ x10 = 0 ∧ x13 = 0) ∨ (x5 = 0 ∧ x10 = 1 ∧ x13 = 0) ∨ (x5 = 0 ∧ x10 = 0 ∧ x13 = 1)) ∧ ((x2 = 1 ∧ x12 = 0 ∧ x14 = 0) ∨ (x2 = 0 ∧ x12 = 1 ∧ x14 = 0) ∨ (x2 = 0 ∧ x12 = 0 ∧ x14 = 1))) → ((x0 = 1 ∧ x4 = 1 ∧ x8 = 1 ∧ x12 = 1 ∧ x13 = 1) ∨ (x0 = 1 ∧ x5 = 1 ∧ x7 = 1 ∧ x11 = 1 ∧ x14 = 1) ∨ (x1 = 1 ∧ x3 = 1 ∧ x8 = 1 ∧ x10 = 1 ∧ x14 = 1) ∨ (x1 = 1 ∧ x5 = 1 ∧ x6 = 1 ∧ x9 = 1 ∧ x12 = 1) ∨ (x2 = 1 ∧ x3 = 1 ∧ x7 = 1 ∧ x9 = 1 ∧ x13 = 1) ∨ (x2 = 1 ∧ x4 = 1 ∧ x6 = 1 ∧ x10 = 1 ∧ x11 = 1)) := by intro x0 x1 x2 x3 x4 fin_cases x0 <;> fin_cases x1 <;> fin_cases x2 <;> fin_cases x3 <;> fin_cases x4 <;> decide