AFTD Auto-Formalizing Theoretical Domains

op309_girth7_leafclean_selection_impossible

theoremverified

A connected cubic graph of girth at least seven has no totally edge-dominating P3 forest whose nonselected leaf edges all meet uncovered vertices.

Statement

theorem op309_girth7_leafclean_selection_impossible :
    ∃ (G : SimpleGraph (Fin 24)) (inst : DecidableRel G.Adj),
      letI : DecidableRel G.Adj := inst
      G.Connected ∧ (∀ v, G.degree v = 3) ∧ (7 : ℕ∞) ≤ G.egirth ∧
      ∀ R : Finset G.edgeSet,
        (∀ e : G.edgeSet, ∃ f ∈ R, G.lineGraph.Adj e f) →
        (∀ v, (R.filter fun e => v ∈ e.1).card ≤ 2) →
        (∀ e ∈ R, ¬ ∃ a b : Fin 24, e.1 = s(a,b) ∧
          (R.filter fun f => a ∈ f.1).card = 2 ∧
          (R.filter fun f => b ∈ f.1).card = 2) →
        (∀ e ∈ R, ∃ f ∈ R, G.lineGraph.Adj e f) →
        ¬ (∀ e : G.edgeSet, e ∉ R →
          (∃ v, v ∈ e.1 ∧ (R.filter fun f => v ∈ f.1).card = 1) →
          ∃ u, u ∈ e.1 ∧ ∀ f ∈ R, u ∉ f.1)
Source
Explicit high-girth counterexample to the leaf-clean P3 selection route for OP-309, experiment 43909.
Verified
28 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 3

The proof, explained

The theorem is proved by exhibiting an explicit witness: the seeded 24-vertex cubic graph op309_girth7_seeded_twentyfour_graph. Connectedness, 3-regularity, and edge girth at least 7 are provided by a pre-verified validity lemma for this graph. The impossibility of a leaf-clean totally edge-dominating P3 forest then follows from a general lemma establishing that no 24-vertex cubic graph can support such an edge selection.

  1. Adjacency in the seeded 24-vertex graph is decidable. automation

    We establish a DecidableRel instance for the adjacency relation of op309_girth7_seeded_twentyfour_graph. Unfolding the definition reveals that adjacency is given by membership of a pair of vertices in an explicit list of 36 edges, which typeclass resolution decides automatically.

    lines 1–2

    private instance : DecidableRel op309_girth7_seeded_twentyfour_graph.Adj :=
      fun _ _ => by unfold op309_girth7_seeded_twentyfour_graph; infer_instance
  2. The seeded 24-vertex graph witnesses the existential claim.

    We instantiate the existential quantifier with the concrete graph G = op309_girth7_seeded_twentyfour_graph and its decidable adjacency instance inst. This reduces the theorem to verifying the four properties for G: connectedness, 3-regularity, edge girth at least 7, and the impossibility of a leaf-clean totally edge-dominating P3 forest.

    lines 18–20

      let G := op309_girth7_seeded_twentyfour_graph
      let inst : DecidableRel G.Adj := inferInstance
      refine ⟨G, inst, ?_⟩
  3. G is connected, 3-regular, and has edge girth at least 7.

    We invoke op309_girth7_seeded_twentyfour_graph_valid, which asserts that G is connected, every vertex has degree 3, and G has edge girth at least 7. Supplying these three components dispatches the first three conjuncts, leaving only the impossibility of the P3 forest.

    lines 21–22

    uses op309_girth7_seeded_twentyfour_graph_valid

      have h := op309_girth7_seeded_twentyfour_graph_valid
      refine ⟨h.1, h.2.1, h.2.2, ?_⟩
  4. No totally edge-dominating P3 forest in G can be leaf-clean.

    We introduce an arbitrary edge subset R alongside the hypotheses that R is totally edge-dominating, has maximum degree at most 2, contains no edge connecting two vertices of degree 2, and has no isolated edges (so every connected component of R is a path of length 2, i.e., a P3). Applying op309_cubic_twentyfour_no_leafclean_p3_forest with the 3-regularity of G and these four hypotheses concludes that R cannot satisfy the leaf-clean condition.

    lines 23–24

    uses op309_cubic_twentyfour_no_leafclean_p3_forest

      intro R hdom hbound hpaths hneighbors
      exact op309_cubic_twentyfour_no_leafclean_p3_forest G R h.2.1 hdom hbound hpaths hneighbors
op309_girth7_seeded_twentyfour_graph_valid
The seeded 24-vertex graph is connected, 3-regular, and has edge girth at least 7.
op309_cubic_twentyfour_no_leafclean_p3_forest
In any 3-regular graph on 24 vertices, no totally edge-dominating subgraph whose components are paths of length 2 can satisfy the leaf-clean condition that every nonselected edge incident to a leaf meets an uncovered vertex.

Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.

Lean source view module on GitHub

private instance : DecidableRel op309_girth7_seeded_twentyfour_graph.Adj :=  fun _ _ => by unfold op309_girth7_seeded_twentyfour_graph; infer_instancetheorem op309_girth7_leafclean_selection_impossible :    ∃ (G : SimpleGraph (Fin 24)) (inst : DecidableRel G.Adj),      letI : DecidableRel G.Adj := inst      G.Connected ∧ (∀ v, G.degree v = 3) ∧ (7 : ℕ∞) ≤ G.egirth ∧      ∀ R : Finset G.edgeSet,        (∀ e : G.edgeSet, ∃ f ∈ R, G.lineGraph.Adj e f) →        (∀ v, (R.filter fun e => v ∈ e.1).card ≤ 2) →        (∀ e ∈ R, ¬ ∃ a b : Fin 24, e.1 = s(a,b) ∧          (R.filter fun f => a ∈ f.1).card = 2 ∧          (R.filter fun f => b ∈ f.1).card = 2) →        (∀ e ∈ R, ∃ f ∈ R, G.lineGraph.Adj e f) →        ¬ (∀ e : G.edgeSet, e ∉ R →          (∃ v, v ∈ e.1 ∧ (R.filter fun f => v ∈ f.1).card = 1) →          ∃ u, u ∈ e.1 ∧ ∀ f ∈ R, u ∉ f.1) := by  let G := op309_girth7_seeded_twentyfour_graph  let inst : DecidableRel G.Adj := inferInstance  refine ⟨G, inst, ?_⟩  have h := op309_girth7_seeded_twentyfour_graph_valid  refine ⟨h.1, h.2.1, h.2.2, ?_⟩  intro R hdom hbound hpaths hneighbors  exact op309_cubic_twentyfour_no_leafclean_p3_forest G R h.2.1 hdom hbound hpaths hneighbors
See it in the graphDiscuss this resultChallenge it