AFTD Auto-Formalizing Theoretical Domains

op874_fixed_owner_obstruction_deletion_connected

theoremverified

In the explicit fourteen-vertex graph of the fixed-owner obstruction, deleting any one displayed edge leaves every pair of vertices connected by a path of displayed edges.

Statement

theorem op874_fixed_owner_obstruction_deletion_connected :
  let in1258_left : Fin 21 → Fin 14 := ![0,0,0,1,1,1,2,2,2,3,3,4,4,5,5,6,6,7,8,9,11]
  let in1258_right : Fin 21 → Fin 14 := ![3,7,10,4,5,8,7,9,10,10,13,8,11,6,12,9,13,11,12,12,13]
  let in1258_edge (e : Fin 21) : Sym2 (Fin 14) := s(in1258_left e,in1258_right e)
  let in1258_adjAway (in1258_removed : Fin 21) (u v : Fin 14) : Prop :=
    ∃ e : Fin 21, e ≠ in1258_removed ∧ in1258_edge e = s(u,v)
  ∀ in1258_removed : Fin 21, ∀ u v : Fin 14,
    Relation.ReflTransGen (in1258_adjAway in1258_removed) u v
Source
Edge-deletion connectivity certificate for the fixed-owner obstruction to OP-874; experiment 43175.
Verified
28 Nov 2026
Axioms
Classical.choiceQuot.soundpropext

The proof, explained

The proof shows the fourteen-vertex graph remains connected after deleting any single edge by exhibiting, for each of the 21 possible deletions, an explicit spanning tree directed toward vertex 0, encoded as parent and depth functions. Exhaustive finite evaluation verifies that moving from any non-root vertex to its parent traverses an intact edge while strictly decreasing depth, which implies every vertex has a path to 0 by well-founded induction. Because edges are undirected, reachability is symmetric, so paths through 0 connect any two vertices u and v.

  1. For every removed edge and every non-root vertex v ≠ 0, the edge to the parent vertex is present and the parent has strictly smaller depth. automation

    Reverting v puts the non-zero vertex assumption back into the goal. The fin_cases tactic branches on all 21 possible choices of the deleted edge. For each choice, unfolding the adjacency definition in the remaining graph and running the decision procedure decide verifies by direct finite computation that the parent edge exists and the depth strictly decreases.

    lines 14–15

      revert v
      fin_cases in1258_removed <;> simp only [in1258_adjAway] <;> decide
  2. The root vertex 0 can reach itself in the remaining graph.

    Case v = 0. Substituting 0 for v, the reflexive-transitive closure holds immediately by reflexivity (Relation.ReflTransGen.refl).

    lines 21–23

    uses Relation.ReflTransGen.refl

      by_cases hv : v = 0
      · subst v
        exact Relation.ReflTransGen.refl
  3. Every non-root vertex v reaches the root vertex 0.

    Case v ≠ 0. By parent_step, v connects to its parent via a surviving edge, and the parent has strictly smaller depth. By well-founded recursion on depth, the parent reaches 0; prepending the step from v to its parent (Relation.ReflTransGen.head) shows v reaches 0.

    lines 24–27

    uses parent_step, reaches_root, Relation.ReflTransGen.head

      · exact Relation.ReflTransGen.head (parent_step in1258_removed v hv).1
          (reaches_root in1258_removed (in1258_parent in1258_removed v))
    termination_by in1258_depth in1258_removed v
    decreasing_by exact (parent_step in1258_removed v hv).2
  4. Reachability in the remaining graph is symmetric: if a reaches b, then b reaches a.

    By induction on the path from a to b. The base case (zero steps) is reflexive by Relation.ReflTransGen.refl. For the inductive step, since graph edges are undirected unordered pairs (Sym2.eq_swap), an edge from b' to c' is also an edge from c' to b'; prepending this reversed edge using Relation.ReflTransGen.head to the path from b' to a gives a path from c' to a.

    lines 33–41

    uses Relation.ReflTransGen.refl, Relation.ReflTransGen.head, Sym2.eq_swap

      have reverse : ∀ {a b}, Relation.ReflTransGen (in1258_adjAway in1258_removed) a b →
          Relation.ReflTransGen (in1258_adjAway in1258_removed) b a := by
        intro a b hp
        induction hp with
        | refl => exact Relation.ReflTransGen.refl
        | tail hp edge_step ih =>
          apply Relation.ReflTransGen.head _ ih
          rcases edge_step with ⟨e, he, hends⟩
          exact ⟨e, he, hends.trans Sym2.eq_swap⟩
  5. Any two vertices u and v are connected by a path after deleting any one edge.

    By reaches_root, both u and v have paths to the root 0. Symmetrizing the path from v to 0 yields a path from 0 to v, and concatenating the path from u to 0 with the path from 0 to v gives a path from u to v.

    line 42

    uses reaches_root

      exact (reaches_root in1258_removed u).trans (reverse (reaches_root in1258_removed v))
  6. In the fourteen-vertex graph of the fixed-owner obstruction, deleting any one displayed edge leaves every pair of vertices connected.

    Simplifying the local definitions and introducing the removed edge and vertices u and v, the theorem follows directly from connected_after_deletion.

    lines 55–57

    uses IN1258ConnectivityWitness.connected_after_deletion

      dsimp only
      intro in1258_removed u v
      exact IN1258ConnectivityWitness.connected_after_deletion in1258_removed u v
parent_step
For any non-root vertex v in the graph with one edge removed, moving from v to its parent traverses a surviving edge and strictly decreases the depth.
Relation.ReflTransGen.refl
The reflexive-transitive closure is reflexive: any element reaches itself in zero steps.
Relation.ReflTransGen.head
Prepending a single step to an existing path yields a valid path in the reflexive-transitive closure.
reaches_root
In the graph with one edge removed, every vertex has a path to the root vertex 0.
Sym2.eq_swap
An unordered pair is symmetric: s(a, b) = s(b, a).
IN1258ConnectivityWitness.connected_after_deletion
In the graph with any one edge removed, any two vertices u and v are connected by a path.

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

namespace IN1258ConnectivityWitnessdef in1258_left : Fin 21 → Fin 14 := ![0,0,0,1,1,1,2,2,2,3,3,4,4,5,5,6,6,7,8,9,11]def in1258_right : Fin 21 → Fin 14 := ![3,7,10,4,5,8,7,9,10,10,13,8,11,6,12,9,13,11,12,12,13]def in1258_edge (e : Fin 21) : Sym2 (Fin 14) := s(in1258_left e,in1258_right e)def in1258_parent : Fin 21 → Fin 14 → Fin 14 := ![![0,4,7,10,11,6,9,0,4,2,0,7,9,11],![0,5,10,0,11,6,13,2,4,2,0,13,9,3],![0,4,7,0,11,6,13,0,4,2,3,7,9,3],![0,5,7,0,11,6,13,0,4,2,0,7,9,3],![0,4,7,0,11,6,13,0,4,2,0,7,9,3],![0,4,7,0,11,6,13,0,4,2,0,7,9,3],![0,4,10,0,11,6,13,0,4,2,0,7,9,3],![0,4,7,0,11,6,13,0,4,6,0,7,5,3],![0,4,7,0,11,6,13,0,4,2,0,7,9,3],![0,4,7,0,11,6,13,0,4,2,0,7,9,3],![0,4,7,0,11,6,9,0,4,2,0,7,9,11],![0,4,7,0,11,6,13,0,12,2,0,7,9,3],![0,5,7,0,1,6,13,0,12,2,0,7,9,3],![0,4,7,0,11,12,13,0,4,2,0,7,9,3],![0,4,7,0,11,6,13,0,4,2,0,7,9,3],![0,4,7,0,11,6,13,0,4,2,0,7,9,3],![0,4,7,0,11,6,9,0,4,2,0,7,9,3],![0,5,7,0,11,6,13,0,4,2,0,13,9,3],![0,4,7,0,11,6,13,0,4,2,0,7,9,3],![0,4,7,0,11,6,13,0,4,2,0,7,5,3],![0,4,7,0,11,6,13,0,4,2,0,7,9,3]]def in1258_depth : Fin 21 → Fin 14 → Nat := ![![0,4,2,2,3,5,4,1,4,3,1,2,4,3],![0,5,2,1,4,4,3,3,5,3,1,3,4,2],![0,4,2,1,3,4,3,1,4,3,2,2,4,2],![0,5,2,1,3,4,3,1,4,3,1,2,4,2],![0,4,2,1,3,4,3,1,4,3,1,2,4,2],![0,4,2,1,3,4,3,1,4,3,1,2,4,2],![0,4,2,1,3,4,3,1,4,3,1,2,4,2],![0,4,2,1,3,4,3,1,4,4,1,2,5,2],![0,4,2,1,3,4,3,1,4,3,1,2,4,2],![0,4,2,1,3,4,3,1,4,3,1,2,4,2],![0,4,2,1,3,5,4,1,4,3,1,2,4,3],![0,4,2,1,3,4,3,1,5,3,1,2,4,2],![0,5,2,1,6,4,3,1,5,3,1,2,4,2],![0,4,2,1,3,5,3,1,4,3,1,2,4,2],![0,4,2,1,3,4,3,1,4,3,1,2,4,2],![0,4,2,1,3,4,3,1,4,3,1,2,4,2],![0,4,2,1,3,5,4,1,4,3,1,2,4,2],![0,5,2,1,4,4,3,1,5,3,1,3,4,2],![0,4,2,1,3,4,3,1,4,3,1,2,4,2],![0,4,2,1,3,4,3,1,4,3,1,2,5,2],![0,4,2,1,3,4,3,1,4,3,1,2,4,2]]def in1258_adjAway (in1258_removed : Fin 21) (u v : Fin 14) : Prop :=  ∃ e : Fin 21, e ≠ in1258_removed ∧ in1258_edge e = s(u,v)set_option maxRecDepth 100000 inset_option maxHeartbeats 0 intheorem parent_step (in1258_removed : Fin 21) (v : Fin 14) (hv : v ≠ 0) :    in1258_adjAway in1258_removed v (in1258_parent in1258_removed v) ∧ in1258_depth in1258_removed (in1258_parent in1258_removed v) < in1258_depth in1258_removed v := by  revert v  fin_cases in1258_removed <;> simp only [in1258_adjAway] <;> decideset_option maxRecDepth 100000 inset_option maxHeartbeats 0 intheorem reaches_root (in1258_removed : Fin 21) (v : Fin 14) :    Relation.ReflTransGen (in1258_adjAway in1258_removed) v 0 := by  by_cases hv : v = 0  · subst v    exact Relation.ReflTransGen.refl  · exact Relation.ReflTransGen.head (parent_step in1258_removed v hv).1      (reaches_root in1258_removed (in1258_parent in1258_removed v))termination_by in1258_depth in1258_removed vdecreasing_by exact (parent_step in1258_removed v hv).2set_option maxRecDepth 100000 inset_option maxHeartbeats 0 intheorem connected_after_deletion (in1258_removed : Fin 21) (u v : Fin 14) :    Relation.ReflTransGen (in1258_adjAway in1258_removed) u v := by  have reverse : ∀ {a b}, Relation.ReflTransGen (in1258_adjAway in1258_removed) a b →      Relation.ReflTransGen (in1258_adjAway in1258_removed) b a := by    intro a b hp    induction hp with    | refl => exact Relation.ReflTransGen.refl    | tail hp edge_step ih =>      apply Relation.ReflTransGen.head _ ih      rcases edge_step with ⟨e, he, hends⟩      exact ⟨e, he, hends.trans Sym2.eq_swap⟩  exact (reaches_root in1258_removed u).trans (reverse (reaches_root in1258_removed v))end IN1258ConnectivityWitnesstheorem op874_fixed_owner_obstruction_deletion_connected :  let in1258_left : Fin 21 → Fin 14 := ![0,0,0,1,1,1,2,2,2,3,3,4,4,5,5,6,6,7,8,9,11]  let in1258_right : Fin 21 → Fin 14 := ![3,7,10,4,5,8,7,9,10,10,13,8,11,6,12,9,13,11,12,12,13]  let in1258_edge (e : Fin 21) : Sym2 (Fin 14) := s(in1258_left e,in1258_right e)  let in1258_adjAway (in1258_removed : Fin 21) (u v : Fin 14) : Prop :=    ∃ e : Fin 21, e ≠ in1258_removed ∧ in1258_edge e = s(u,v)  ∀ in1258_removed : Fin 21, ∀ u v : Fin 14,    Relation.ReflTransGen (in1258_adjAway in1258_removed) u v := by  dsimp only  intro in1258_removed u v  exact IN1258ConnectivityWitness.connected_after_deletion in1258_removed u v
See it in the graphDiscuss this resultChallenge it