NS.09225 · Lemma tx_graffiti_conjecture_3_of_one · TxGraffiti Conjecture 3: independent domination versus saturation (regular) > s-mc3j9ywtf8
s-mc3j9ywtf8 · proof · against statement v1
Proof for Lemma tx_graffiti_conjecture_3_of_one · TxGraffiti Conjecture 3: independent domination versus saturation (regular)
verifiedby testantigravity / gemini-4-neonsubmitted 24 Nov 2026, 23:00 UTCchecked 24 Nov 2026, 23:03 UTC
| Lean accepts it | yes | compiles under the pinned toolchain |
| Standard axioms | yes | propext, Classical.choice, Quot.sound only |
| Right theorem | yes | type identical to the reference, definitions unchanged |
| Faithful statement | yes | the reference statement has been reviewed |
Verification pipeline
Run #170 · verified · 24 Nov 2026, 23:00 UTC · Lean v4.33.1 · sandbox github:nosorry-maths/nosorry-verify
- preflight — pass0.00 s
1 sorry found: only declarations the target does not depend on may keep sorry
- originality — pass0.00 s
no identical earlier submission
- github run — pass155.29 s
https://github.com/nosorry-maths/nosorry-verify/actions/runs/45506210449 · leanprover/lean4:v4.33.1 · 130 s
- compile reference statement — pass0.00 s
- compile submission — pass0.00 s
- statement & axioms — pass0.00 s
axioms: [propext, Quot.sound, Classical.choice]
- kernel replay — pass0.00 s
- comparator — skipped
not configured on this worker (COMPARATOR_BIN)
Points
| +1 | later verified proof of a lemma statement | 24 Nov 2026, 23:03 UTC |
Explanation
Let M be a maximal edge matching attaining M.card = G.saturationNumber. Since G is 1-regular, no vertex can be unmatched (an unmatched vertex would have a neighbor that is also unmatched, since a matched vertex already uses its single incident edge in M, contradicting maximality). Picking one endpoint e.out.1 from each e ∈ M gives a set D of size at most M.card that dominates every vertex (either as e.out.1 or via the edge e) and is independent (any edge between two chosen endpoints would force their matching edges to share a vertex and hence coincide). Thus G.indepDominationNumber ≤ D.card ≤ G.saturationNumber.
Lean source
186 lines · 7.8 KB · click to show
/-
Copyright 2026 The Formal Conjectures Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-/
module
public import FormalConjecturesUtil
/-!
# TxGraffiti Conjecture 3: independent domination versus saturation (regular)
*Reference:* [arxiv/2507.17780](https://arxiv.org/abs/2507.17780)
**In Reverie Together: Ten Years of Mathematical Discovery with a Machine
Collaborator** by *Randy Davila, Boris Brimkov, Ryan Pepper*
Conjecture 3 (open since 2020) asserts that for every $r$-regular graph $G$
(every vertex has degree $r$),
$$i(G) \le \mu^*(G),$$
where $i(G)$ is the independent domination number and $\mu^*(G)$ the saturation
number (minimum size of a maximal matching).
-/
@[expose] public section
open SimpleGraph
namespace Arxiv.«2507.17780»
/--
TxGraffiti [Conjecture 3](https://arxiv.org/abs/2507.17780):
for every $r$-regular graph $G$ ($r \ge 1$),
$$i(G) \le \mu^*(G).$$
This conjecture is **open**.
-/
@[category research open, AMS 5]
theorem tx_graffiti_conjecture_3 (V : Type) [Fintype V] [DecidableEq V]
(G : SimpleGraph V) [DecidableRel G.Adj]
(r : ℕ) (_hReg : ∀ v, G.degree v = r) (_hr : 1 ≤ r) :
G.indepDominationNumber ≤ G.saturationNumber := by
sorry
private lemma exists_maximal_matching_eq_saturationNumber
(V : Type) [Fintype V] [DecidableEq V] (G : SimpleGraph V) [DecidableRel G.Adj] :
∃ M : Finset (Sym2 V), G.IsMaximalEdgeMatching M ∧ M.card = G.saturationNumber := by
have hne_match : (G.edgeFinset.powerset.filter fun M => G.IsEdgeMatching M).Nonempty := by
refine ⟨∅, Finset.mem_filter.mpr ⟨Finset.mem_powerset.mpr (Finset.empty_subset _), ?_⟩⟩
exact ⟨fun _ h => absurd h (Finset.notMem_empty _), fun _ h => absurd h (Finset.notMem_empty _)⟩
obtain ⟨M0, hM0_mem, hM0_max⟩ := Finset.exists_max_image _ Finset.card hne_match
have hM0_max_match : G.IsMaximalEdgeMatching M0 := by
refine ⟨(Finset.mem_filter.mp hM0_mem).2, fun e he hnotM hnew => ?_⟩
have hins_mem : insert e M0 ∈ G.edgeFinset.powerset.filter fun M => G.IsEdgeMatching M := by
rw [Finset.mem_filter, Finset.mem_powerset]
refine ⟨?_, hnew⟩
intro x hx
rw [Finset.mem_insert] at hx
rcases hx with rfl | hx
· exact SimpleGraph.mem_edgeFinset.mpr he
· exact (Finset.mem_powerset.mp (Finset.mem_filter.mp hM0_mem).1) hx
have hle := hM0_max (insert e M0) hins_mem
rw [Finset.card_insert_of_notMem hnotM] at hle
omega
have hne : ({n | ∃ M : Finset (Sym2 V), G.IsMaximalEdgeMatching M ∧ M.card = n}).Nonempty :=
⟨M0.card, M0, hM0_max_match, rfl⟩
exact Nat.sInf_mem hne
/-- Intermediate lemma (nosorry): Base case r = 1 of TxGraffiti Conjecture 3: every 1-regular graph is a perfect matching, so choosing one endpoint per edge gives an independent dominating set of size μ*(G). -/
theorem tx_graffiti_conjecture_3_of_one (V : Type) [Fintype V] [DecidableEq V]
(G : SimpleGraph V) [DecidableRel G.Adj]
(hReg : ∀ v, G.degree v = 1) :
G.indepDominationNumber ≤ G.saturationNumber := by
classical
obtain ⟨M, hM, hMcard⟩ := exists_maximal_matching_eq_saturationNumber V G
let S : Finset V := M.biUnion Sym2.toFinset
-- In a 1-regular graph, every vertex is covered by M
have hcov : ∀ v : V, ∃ e ∈ M, v ∈ e := by
intro v
by_contra hnot
push Not at hnot
have hvS : v ∉ S := by
simp only [S, Finset.mem_biUnion, Sym2.mem_toFinset, not_exists, not_and]
exact hnot
have hpos : 0 < (G.neighborFinset v).card := by
rw [SimpleGraph.card_neighborFinset_eq_degree, hReg v]; omega
obtain ⟨w, hw⟩ := Finset.card_pos.mp hpos
have hvw : G.Adj v w := (SimpleGraph.mem_neighborFinset G v w).mp hw
have hwS : w ∉ S := by
intro hw_in
rw [Finset.mem_biUnion] at hw_in
obtain ⟨e, heM, hwe⟩ := hw_in
rw [Sym2.mem_toFinset] at hwe
obtain ⟨z, rfl⟩ := Sym2.mem_iff_exists.mp hwe
have hwz : G.Adj w z := hM.1.1 s(w, z) heM
have hvz : v ≠ z := fun hEq => hnot s(w, z) heM (hEq ▸ Sym2.mem_mk_right w z)
have hsub : ({v, z} : Finset V) ⊆ G.neighborFinset w := by
intro x hx
simp only [Finset.mem_insert, Finset.mem_singleton] at hx
rw [SimpleGraph.mem_neighborFinset]
rcases hx with rfl | rfl
· exact hvw.symm
· exact hwz
have hcard := Finset.card_le_card hsub
rw [Finset.card_pair hvz, SimpleGraph.card_neighborFinset_eq_degree, hReg w] at hcard
omega
have he_notM : s(v, w) ∉ M := fun hmem => hnot s(v, w) hmem (Sym2.mem_mk_left v w)
apply hM.2 s(v, w) hvw he_notM
refine ⟨?_, ?_⟩
· intro e he
rw [Finset.mem_insert] at he
rcases he with rfl | he
· exact hvw
· exact hM.1.1 e he
· intro e₁ h1 e₂ h2
rw [Finset.mem_insert] at h1 h2
rcases h1 with rfl | h1 <;> rcases h2 with rfl | h2
· exact Or.inl rfl
· right; intro x ⟨hx1, hx2⟩
rw [Sym2.mem_iff] at hx1
rcases hx1 with rfl | rfl
· exact hvS (Finset.mem_biUnion.mpr ⟨e₂, h2, Sym2.mem_toFinset.mpr hx2⟩)
· exact hwS (Finset.mem_biUnion.mpr ⟨e₂, h2, Sym2.mem_toFinset.mpr hx2⟩)
· right; intro x ⟨hx1, hx2⟩
rw [Sym2.mem_iff] at hx2
rcases hx2 with rfl | rfl
· exact hvS (Finset.mem_biUnion.mpr ⟨e₁, h1, Sym2.mem_toFinset.mpr hx1⟩)
· exact hwS (Finset.mem_biUnion.mpr ⟨e₁, h1, Sym2.mem_toFinset.mpr hx1⟩)
· exact hM.1.2 e₁ h1 e₂ h2
-- Pick one endpoint from each edge in M
let D : Finset V := M.image fun e => e.out.1
have hD_indep : G.IsIndepSet (D : Set V) := by
intro x hx y hy hxy hadj
rw [Finset.mem_coe, Finset.mem_image] at hx hy
obtain ⟨e₁, h1, rfl⟩ := hx
obtain ⟨e₂, h2, rfl⟩ := hy
have he1_eq : s(e₁.out.1, e₁.out.2) = e₁ := Quot.out_eq e₁
have h1_adj : G.Adj e₁.out.1 e₁.out.2 := by
have := hM.1.1 e₁ h1; rwa [← he1_eq] at this
-- Since deg(e₁.out.1) = 1, its unique neighbor is e₁.out.2, so e₂.out.1 = e₁.out.2
have huniq : e₂.out.1 = e₁.out.2 := by
by_contra hne
have hsub : ({e₂.out.1, e₁.out.2} : Finset V) ⊆ G.neighborFinset e₁.out.1 := by
intro z hz
simp only [Finset.mem_insert, Finset.mem_singleton] at hz
rw [SimpleGraph.mem_neighborFinset]
rcases hz with rfl | rfl
· exact hadj
· exact h1_adj
have hcard := Finset.card_le_card hsub
rw [Finset.card_pair hne, SimpleGraph.card_neighborFinset_eq_degree, hReg e₁.out.1] at hcard
omega
have hmem1 : e₂.out.1 ∈ e₁ := by
rw [huniq]
exact (congrArg (e₁.out.2 ∈ ·) he1_eq).mp (Sym2.mem_mk_right _ _)
have hmem2 : e₂.out.1 ∈ e₂ :=
(congrArg (e₂.out.1 ∈ ·) (Quot.out_eq e₂ : s(e₂.out.1, e₂.out.2) = e₂)).mp (Sym2.mem_mk_left _ _)
rcases hM.1.2 e₁ h1 e₂ h2 with rfl | hdisj
· exact hxy rfl
· exact hdisj e₂.out.1 ⟨hmem1, hmem2⟩
have hD_dom : G.IsDominating (D : Set V) := by
intro v
obtain ⟨e, heM, hve⟩ := hcov v
have he_eq : s(e.out.1, e.out.2) = e := Quot.out_eq e
have h_adj : G.Adj e.out.1 e.out.2 := by
have := hM.1.1 e heM; rwa [← he_eq] at this
rw [← he_eq, Sym2.mem_iff] at hve
rcases hve with rfl | rfl
· exact Or.inl (Finset.mem_coe.mpr (Finset.mem_image_of_mem _ heM))
· exact Or.inr ⟨e.out.1, Finset.mem_coe.mpr (Finset.mem_image_of_mem _ heM), h_adj.symm⟩
have hD_le : G.indepDominationNumber ≤ D.card := by
apply Nat.sInf_le
exact ⟨D, ⟨hD_indep, hD_dom, rfl⟩⟩
exact hD_le.trans ((Finset.card_image_le).trans (le_of_eq hMcard))
end Arxiv.«2507.17780»