op309_rook_max_uncovered_star_classification
Every totally edge-dominating set leaving two vertices uncovered in the three-by-three incidence array is a full row or column.
Statement
theorem op309_rook_max_uncovered_star_classification (R : Finset (Fin 3 × Fin 3)) (hdom : ∀ e : Fin 3 × Fin 3, ∃ f ∈ R, op309_rook_adj e f) (hmax : op309_rook_uncovered_count R = 2) : (∃ i : Fin 3, R = Finset.univ.filter fun e : Fin 3 × Fin 3 => e.1 = i) ∨ (∃ j : Fin 3, R = Finset.univ.filter fun e : Fin 3 × Fin 3 => e.2 = j)
- Source
- OP-309 six-vertex maximum-uncovered obstruction, experiment 40722.
- Verified
- 26 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 2
- op309_rook_uncovered_countCount unused row and column vertices of a set of edges in the three-by-three complete bipartite incidence array.
- op309_k33_witness_min_degreeIn K3,3, every total edge-dominating witness set produces a witness conflict graph with minimum degree at least six; hence a…
The proof, explained
The theorem states that any subset $R$ of the $3 \times 3$ grid that totally edge-dominates all cells under rook adjacency and leaves exactly two rows or columns uncovered must be an entire row or an entire column. The proof generalizes the statement over all subsets $R$ of the grid and then delegates the finite verification to Lean's `decide` tactic, which exhaustively checks all $2^9 = 512$ possible configurations.
The problem is generalized to a universal statement over all subsets $R$ of the $3 \times 3$ grid.
Reverting $R$ moves $R$ and the two assumptions depending on it (`hdom` and `hmax`) back into the goal. This produces a single, self-contained closed proposition: for all subsets $R \subseteq \mathrm{Fin}\,3 \times \mathrm{Fin}\,3$, if $R$ is totally dominating and leaves two lines uncovered, then $R$ is a complete row or column.
revert R
Every such dominating subset $R$ is a full row or a full column. automation
The domain $\mathrm{Fin}\,3 \times \mathrm{Fin}\,3$ has only 9 cells, so there are only $2^9 = 512$ candidate subsets $R$. Since all quantifiers are over finite domains and the predicates are decidable, the `decide` tactic checks every subset by finite exhaustive computation and closes the goal.
decide
- The entire classification is verified by Lean's computational evaluator (`decide`), which exhaustively checks all $2^9 = 512$ subsets of the $3 \times 3$ board without manual case analysis.
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.
theorem op309_rook_max_uncovered_star_classification (R : Finset (Fin 3 × Fin 3)) (hdom : ∀ e : Fin 3 × Fin 3, ∃ f ∈ R, op309_rook_adj e f) (hmax : op309_rook_uncovered_count R = 2) : (∃ i : Fin 3, R = Finset.univ.filter fun e : Fin 3 × Fin 3 => e.1 = i) ∨ (∃ j : Fin 3, R = Finset.univ.filter fun e : Fin 3 × Fin 3 => e.2 = j) := by revert R decide