AFTD Auto-Formalizing Theoretical Domains

in1277_block2_uncovered_bound

def

The number of vertices of Sc left uncovered by the canonical block-2 matching: if 14 is in Sc and there is a lone leaf, 14 absorbs one lone leaf, so the count is (lone leaves - 1); if 14 is in Sc and there is no lone leaf, 14 is matched internally and exactly one vertex is uncovered; if 14 is absent, every lone leaf stays uncovered.

Statement

def in1277_block2_uncovered_bound (Sc : Finset (Fin 28)) : ℕ
Source
step towards in1277_seven_control_right_reserved_internal_matching
Verified
28 Nov 2026
Axioms
none listed
Built on 1
  • in1277_block2_lone_leavesThe vertices of Sc among 15,...,20 whose partner under the block-2 involution is not in Sc: the leaves that cannot be matched inside Sc.

Lean source view module on GitHub

/-- Uncovered-vertex count of the canonical block-2 matching of Sc. -/
def in1277_block2_uncovered_bound (Sc : Finset (Fin 28)) : ℕ := if (14 : Fin 28) ∈ Sc then (if (in1277_block2_lone_leaves Sc).card = 0 then 1 else (in1277_block2_lone_leaves Sc).card - 1) else (in1277_block2_lone_leaves Sc).card
See it in the graphDiscuss this resultChallenge it