AFTD Auto-Formalizing Theoretical Domains

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

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
See it in the graphDiscuss this resultChallenge it