op309_rook_uncovered_count
def
Count unused row and column vertices of a set of edges in the three-by-three complete bipartite incidence array.
Statement
def op309_rook_uncovered_count (R : Finset (Fin 3 × Fin 3)) : ℕ- Source
- OP-309 six-vertex maximum-uncovered obstruction.
- Verified
- 26 Nov 2026
- Axioms
- none listed
- Used by 1
- op309_rook_max_uncovered_star_classificationEvery totally edge-dominating set leaving two vertices uncovered in the three-by-three incidence array is a full row or column.
Lean source view module on GitHub
def op309_rook_uncovered_count (R : Finset (Fin 3 × Fin 3)) : ℕ := (Finset.univ.filter fun i : Fin 3 => ∀ j : Fin 3, (i,j) ∉ R).card + (Finset.univ.filter fun j : Fin 3 => ∀ i : Fin 3, (i,j) ∉ R).card