AFTD Auto-Formalizing Theoretical Domains

op874_square_suppression_counterexample_endpoint_data

theoremverified

The indicated four outside neighbors in each of the eight- and ten-vertex square-suppression examples give, respectively, a loop and two distinct replacement edges already present in the reduced graph.

Statement

theorem op874_square_suppression_counterexample_endpoint_data :
  (let E : Finset (Sym2 (Fin 8)) :=
    {s(0,3),s(0,5),s(0,6),s(1,4),s(1,6),s(1,7),
     s(2,4),s(2,6),s(2,7),s(3,5),s(3,7),s(4,5)}
   let G : SimpleGraph (Fin 8) := SimpleGraph.fromEdgeSet (↑E : Set (Sym2 (Fin 8)))
   let c : Fin 4 → Fin 8 := ![1,4,2,6]
   let t : Fin 4 → Fin 8 := ![7,5,7,0]
   (∀ i, G.Adj (c i) (t i) ∧ ∀ j, t i ≠ c j) ∧ t 0 = t 2) ∧
  (let E : Finset (Sym2 (Fin 10)) :=
    {s(0,4),s(0,7),s(0,8),s(1,5),s(1,6),s(1,7),
     s(2,5),s(2,8),s(2,9),s(3,6),s(3,8),s(3,9),s(4,7),s(4,9),s(5,6)}
   let G : SimpleGraph (Fin 10) := SimpleGraph.fromEdgeSet (↑E : Set (Sym2 (Fin 10)))
   let R : Finset (Sym2 (Fin 10)) :=
    {s(0,4),s(0,7),s(1,5),s(1,6),s(1,7),s(4,7),s(5,6)}
   let c : Fin 4 → Fin 10 := ![2,8,3,9]
   let t : Fin 4 → Fin 10 := ![5,0,6,4]
   (∀ i, G.Adj (c i) (t i) ∧ ∀ j, t i ≠ c j) ∧
   t 0 ≠ t 2 ∧ t 1 ≠ t 3 ∧ s(t 0,t 2) ∈ R ∧ s(t 1,t 3) ∈ R ∧
   R = E.filter (fun e => ∀ i, c i ∉ e))
Source
Finite endpoint data for the square-suppression obstructions in OP-874, experiments 43691 and 43698.
Verified
28 Nov 2026
Axioms
Classical.choiceQuot.soundpropext

The proof, explained

The theorem verifies endpoint data for two counterexamples to square-suppression operations, one on an 8-vertex graph and one on a 10-vertex graph. The proof definitionally unfolds the explicit edge sets, 4-cycles, and outside neighbor choices. It then splits into the two graph cases and discharges all adjacencies, disjointness conditions, and edge-membership checks by exhaustive finite evaluation via the `decide` tactic.

  1. The local graph parameters, cycles, and neighbor assignments are unfolded into concrete expressions.

    Definitional simplification (`dsimp only`) substitutes the `let`-bound edge sets E, graphs G, cycles c, neighbor selections t, and reduced edge set R directly into the goal for both the 8-vertex and 10-vertex cases.

    line 23

      dsimp only
  2. The endpoint and reduction conditions hold for both the 8-vertex and 10-vertex graphs. automation

    The `constructor` tactic splits the conjunction into two subgoals, one for each graph. For the 8-vertex graph, `decide` verifies by finite evaluation that each c(i) is adjacent to t(i), that the t(i) do not belong to the cycle c, and that t(0) = t(2) = 7 (which forms a self-loop). For the 10-vertex graph, `decide` verifies that each t(i) is a valid outside neighbor, that the opposite pairs are distinct (t(0) ≠ t(2) and t(1) ≠ t(3)), that both potential replacement edges {5, 6} and {0, 4} already belong to R, and that R is precisely the sub-finset of E containing edges disjoint from the cycle c.

    line 24

      constructor <;> decide

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

set_option maxRecDepth 8192set_option maxHeartbeats 3000000theorem op874_square_suppression_counterexample_endpoint_data :  (let E : Finset (Sym2 (Fin 8)) :=    {s(0,3),s(0,5),s(0,6),s(1,4),s(1,6),s(1,7),     s(2,4),s(2,6),s(2,7),s(3,5),s(3,7),s(4,5)}   let G : SimpleGraph (Fin 8) := SimpleGraph.fromEdgeSet (↑E : Set (Sym2 (Fin 8)))   let c : Fin 4 → Fin 8 := ![1,4,2,6]   let t : Fin 4 → Fin 8 := ![7,5,7,0]   (∀ i, G.Adj (c i) (t i) ∧ ∀ j, t i ≠ c j) ∧ t 0 = t 2) ∧  (let E : Finset (Sym2 (Fin 10)) :=    {s(0,4),s(0,7),s(0,8),s(1,5),s(1,6),s(1,7),     s(2,5),s(2,8),s(2,9),s(3,6),s(3,8),s(3,9),s(4,7),s(4,9),s(5,6)}   let G : SimpleGraph (Fin 10) := SimpleGraph.fromEdgeSet (↑E : Set (Sym2 (Fin 10)))   let R : Finset (Sym2 (Fin 10)) :=    {s(0,4),s(0,7),s(1,5),s(1,6),s(1,7),s(4,7),s(5,6)}   let c : Fin 4 → Fin 10 := ![2,8,3,9]   let t : Fin 4 → Fin 10 := ![5,0,6,4]   (∀ i, G.Adj (c i) (t i) ∧ ∀ j, t i ≠ c j) ∧   t 0 ≠ t 2 ∧ t 1 ≠ t 3 ∧ s(t 0,t 2) ∈ R ∧ s(t 1,t 3) ∈ R ∧   R = E.filter (fun e => ∀ i, c i ∉ e)) := by  dsimp only  constructor <;> decide
See it in the graphDiscuss this resultChallenge it