AFTD Auto-Formalizing Theoretical Domains

subdivided_claw_count

def

The number of connected components of a finite graph F whose induced subgraph is isomorphic to the once-subdivided claw.

Statement

open Classical in
noncomputable def subdivided_claw_count {V : Type*} [Fintype V] (F : SimpleGraph V) : ℕ
Defined in
arXiv:2611.32746: The majority game chromatic number for dense random graphs
Verified
27 Nov 2026
Axioms
none listed
Built on 1
  • subdivided_clawThe once-subdivided claw graph on Fin 7 with center 0 and paths 0-1-4, 0-2-5, 0-3-6, defined as SimpleGraph.fromRel of subdivided_claw_rel.
Used by 1

Read back from the Lean

Given a finite type V and a simple graph F on V, subdivided_claw_count F is defined as the number (cardinality) of connected components c of F such that the subgraph of F induced by the vertices of c is isomorphic (as a simple graph) to subdivided_claw.

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

Lean source view module on GitHub

open Classical in
/-- The number of connected components isomorphic to the once-subdivided claw. -/
noncomputable def subdivided_claw_count {V : Type*} [Fintype V] (F : SimpleGraph V) : ℕ := (Finset.filter (fun c : F.ConnectedComponent => Nonempty (F.induce c.supp ≃g subdivided_claw)) Finset.univ).card
See it in the graphDiscuss this resultChallenge it