AFTD Auto-Formalizing Theoretical Domains

op874_tight_nontriangle_minority_disjoint_graph_data

theoremverified

The graph is simple cubic with Hamiltonian factor, a 1:2 locally maximal matching-constant cut, and no triangle containing either minority matching edge.

Statement

theorem op874_tight_nontriangle_minority_disjoint_graph_data :
    let E : Finset (Sym2 (Fin 12)) := {s((0 : Fin 12),5),s(0,11),s(0,1),s(1,6),s(1,9),s(2,10),s(2,9),s(2,3),s(3,7),s(3,5),s(4,6),s(4,11),s(4,5),s(6,7),s(7,8),s(8,10),s(8,9),s(10,11)}
    let M : Finset (Sym2 (Fin 12)) := {s((0 : Fin 12),1),s(2,3),s(4,5),s(6,7),s(8,9),s(10,11)}
    let bit : Fin 12 → Bool := ![false,false,false,false,true,true,true,true,true,true,true,true]
    let P : Fin 12 → Fin 12 := ![0,5,3,7,8,10,2,9,1,6,4,11]
    let F : Finset (Sym2 (Fin 12)) := Finset.univ.image (fun i : Fin 12 => s(P i,P (i+1)))
    let same : Fin 12 → ℕ := fun v => (F.filter fun edge =>
      ∃ z : Fin 12, edge = s(v,z) ∧ bit v = bit z).card
    (∀ edge ∈ E, ¬ edge.IsDiag) ∧ (∀ v : Fin 12, (E.filter fun edge => v ∈ edge).card = 3) ∧
    Function.Injective P ∧ M ⊆ E ∧
    (∀ v : Fin 12, (M.filter fun edge => v ∈ edge).card = 1) ∧
    E = F ∪ M ∧ Disjoint F M ∧
    (∀ u v : Fin 12, s(u,v) ∈ M → bit u = bit v ∧ same u + same v = if bit u then 2 else 0) ∧
    (∀ u v z : Fin 12, s(u,v) ∈ M → bit u = false → s(u,z) ∈ E → s(v,z) ∉ E)
Source
Nontriangle minority-palette obstruction for OP-874; https://arxiv.org/abs/2610.41950.
Verified
27 Nov 2026
Axioms
Classical.choiceQuot.soundpropext

The proof, explained

The theorem verifies that an explicit 18-edge graph on 12 vertices is simple and cubic, decomposes into a Hamiltonian 2-factor and a disjoint 1-factor, and possesses a 1:2 locally maximal matching-constant cut whose minority matching edges do not lie on any triangles. After expanding the local definitions and splitting the conjunction into nine independent claims, each claim is proved by finite computational evaluation via the `decide` tactic.

  1. The proof reduces to nine concrete verification subgoals.

    Unfolding the local definitions of the edge set $E$, matching $M$, partition $\mathrm{bit}$, cycle permutation $P$, 2-factor $F$, and monochromatic degree function $\mathrm{same}$ using `dsimp only`, and then applying `refine`, splits the nine-part conjunction into nine separate goals to verify on the concrete finite graph.

    lines 15–16

      dsimp only
      refine ⟨?_, ?_, ?_, ?_, ?_, ?_, ?_, ?_, ?_⟩
  2. The graph $(V, E)$ is simple and cubic. automation

    Lean evaluates by finite exhaustive check (`decide`) that none of the 18 edges in $E$ are self-loops (so the graph is simple) and that every vertex $v \in \mathrm{Fin}\,12$ has degree exactly 3 in $E$ (so the graph is 3-regular).

    lines 17–18

      · decide
      · decide
  3. The edge set $E$ decomposes into a Hamiltonian cycle $F$ and an edge-disjoint perfect matching $M$. automation

    Lean evaluates five finite conditions using `decide`: the cycle ordering $P$ is injective (hence visits all 12 vertices); $M$ is a subset of $E$; every vertex has degree 1 in $M$ (so $M$ is a 1-factor / perfect matching); the cycle edges $F$ and matching edges $M$ together cover $E$ ($E = F \cup M$); and $F$ and $M$ share no edges ($F$ and $M$ are disjoint).

    lines 19–23

      · decide
      · decide
      · decide
      · decide
      · decide
  4. The cut defined by $\mathrm{bit}$ is a matching-constant cut with the 1:2 condition. automation

    By finite evaluation (`decide`) over all edges $\{u, v\} \in M$, Lean checks that every matching edge is monochromatic ($\mathrm{bit}(u) = \mathrm{bit}(v)$) and that the number of incident cycle edges within the same partition part sums to 2 for majority matching edges ($\mathrm{bit} = \mathrm{true}$) and to 0 for minority matching edges ($\mathrm{bit} = \mathrm{false}$).

    line 24

      · decide
  5. No minority matching edge is contained in a triangle. automation

    By exhaustive verification (`decide`) over all triples of vertices $(u, v, z)$, Lean confirms that whenever $\{u, v\} \in M$ is a minority matching edge ($\mathrm{bit}(u) = \mathrm{false}$) and $z$ is a neighbor of $u$ in $E$, $z$ cannot also be a neighbor of $v$ in $E$, so $u$ and $v$ share no common neighbors.

    line 25

      · 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

theorem op874_tight_nontriangle_minority_disjoint_graph_data :    let E : Finset (Sym2 (Fin 12)) := {s((0 : Fin 12),5),s(0,11),s(0,1),s(1,6),s(1,9),s(2,10),s(2,9),s(2,3),s(3,7),s(3,5),s(4,6),s(4,11),s(4,5),s(6,7),s(7,8),s(8,10),s(8,9),s(10,11)}    let M : Finset (Sym2 (Fin 12)) := {s((0 : Fin 12),1),s(2,3),s(4,5),s(6,7),s(8,9),s(10,11)}    let bit : Fin 12 → Bool := ![false,false,false,false,true,true,true,true,true,true,true,true]    let P : Fin 12 → Fin 12 := ![0,5,3,7,8,10,2,9,1,6,4,11]    let F : Finset (Sym2 (Fin 12)) := Finset.univ.image (fun i : Fin 12 => s(P i,P (i+1)))    let same : Fin 12 → ℕ := fun v => (F.filter fun edge =>      ∃ z : Fin 12, edge = s(v,z) ∧ bit v = bit z).card    (∀ edge ∈ E, ¬ edge.IsDiag) ∧ (∀ v : Fin 12, (E.filter fun edge => v ∈ edge).card = 3) ∧    Function.Injective P ∧ M ⊆ E ∧    (∀ v : Fin 12, (M.filter fun edge => v ∈ edge).card = 1) ∧    E = F ∪ M ∧ Disjoint F M ∧    (∀ u v : Fin 12, s(u,v) ∈ M → bit u = bit v ∧ same u + same v = if bit u then 2 else 0) ∧    (∀ u v z : Fin 12, s(u,v) ∈ M → bit u = false → s(u,z) ∈ E → s(v,z) ∉ E) := by  dsimp only  refine ⟨?_, ?_, ?_, ?_, ?_, ?_, ?_, ?_, ?_⟩  · decide  · decide  · decide  · decide  · decide  · decide  · decide  · decide  · decide
See it in the graphDiscuss this resultChallenge it