AFTD Auto-Formalizing Theoretical Domains

op_2378_is_perfect_matching

def

A Finset of edges of a graph G on Fin 10 is a perfect matching if all its members are edges of G and every vertex is incident with exactly one of its members.

Statement

def op_2378_is_perfect_matching (G : SimpleGraph (Fin 10)) (M : Finset (Sym2 (Fin 10))) : Prop
Source
step towards op_2378_partial_r_two
Verified
25 Nov 2026
Axioms
none listed
Built on 1
  • op_2378_petersen_edgesThe 15-edge list of the Petersen graph on Fin 10: outer 5-cycle 0-1-2-3-4, inner 5-cycle 5-7-9-6-8, spokes 05,16,27,38,49.
Used by 1
  • op_2378_partial_r_twoThere exists a snark G on a finite vertex type V such that the resistance of G is 2 and the weak oddness of G is 2.

Lean source view module on GitHub

/-- Perfect matchings of a graph on Fin 10, in a form that is decidable and enumerable. -/
def op_2378_is_perfect_matching (G : SimpleGraph (Fin 10)) (M : Finset (Sym2 (Fin 10))) : Prop := (↑M : Set (Sym2 (Fin 10))) ⊆ G.edgeSet ∧
     ∀ v : Fin 10, (M.filter (fun e => v ∈ (e : Sym2 (Fin 10)))).card = 1
See it in the graphDiscuss this resultChallenge it