op309_cubic_dominating_matching_uncovered_degree_two
In a finite cubic simple graph whose matching endpoints dominate all vertices, every uncovered vertex has at most two uncovered neighbors.
Statement
theorem op309_cubic_dominating_matching_uncovered_degree_two {V : Type*} [Fintype V] [DecidableEq V] (G : SimpleGraph V) [DecidableRel G.Adj] (hdegree : ∀ v, G.degree v = 3) (M : Finset G.edgeSet) : let covered : V → Prop := fun v => ∃ e ∈ M, v ∈ e.1 (∀ v : V, covered v ∨ ∃ u : V, G.Adj v u ∧ covered u) → ∀ v a b c : V, ¬ covered v → [a,b,c].Nodup → G.Adj v a → G.Adj v b → G.Adj v c → covered a ∨ covered b ∨ covered c
- Source
- Structural reduction of the induced paired-domination route to OP-309; examples 31752 and 31819.
- Verified
- 19 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext
The proof, explained
The proof shows that any three distinct neighbors a, b, c of an uncovered vertex v exhaust its neighborhood, which must contain at least one covered vertex. Because the graph is 3-regular, the neighborhood of v has size 3 and therefore equals {a, b, c}. By the domination hypothesis, the uncovered vertex v must have some covered neighbor u, which must then be one of a, b, or c.
Set up the assumptions: an uncovered vertex v with three distinct neighbors a, b, and c.
We introduce the definition of being covered by M, the domination hypothesis, the vertex v, three distinct vertices a, b, c along with their adjacencies to v, and the hypothesis that v is uncovered.
intro covered hdom v a b c hnc hnd hva hvb hvcThe vertex v must have an adjacent neighbor u that is covered.
By the domination hypothesis, v is either covered or adjacent to a covered vertex u. Since v is assumed uncovered, the first case leads to a contradiction via False.elim, leaving the second case: there exists a covered vertex u adjacent to v.
uses
False.elimrcases hdom v with hv_cov | ⟨u, hvu, hu_cov⟩ · exact False.elim (hnc hv_cov)
The set {a, b, c} has cardinality 3.
Because the list [a, b, c] has no duplicates, the vertices a, b, c are pairwise distinct. Applying Finset.card_insert_of_notMem twice starting from the singleton {c} (which has size 1 by Finset.card_singleton) confirms that {a, b, c} has size 3.
uses
Finset.card_insert_of_notMem,Finset.card_singleton· have hcard_abc : ({a, b, c} : Finset V).card = 3 := by have : a ≠ b ∧ a ≠ c ∧ b ≠ c := by aesop rcases this with ⟨hab, hac, hbc⟩ rw [Finset.card_insert_of_notMem, Finset.card_insert_of_notMem, Finset.card_singleton] · simp [hbc] · simp [hab, hac]
The set {a, b, c} is a subset of the neighborhood of v.
Any element x in {a, b, c} is either a, b, or c. In each case, SimpleGraph.mem_neighborFinset converts membership in the neighborhood of v into adjacency to v, which holds by assumption.
uses
Finset.mem_insert,Finset.mem_singleton,SimpleGraph.mem_neighborFinsethave hsub : ({a, b, c} : Finset V) ⊆ G.neighborFinset v := by intro x hx simp only [Finset.mem_insert, Finset.mem_singleton] at hx rcases hx with rfl | rfl | rfl · rw [SimpleGraph.mem_neighborFinset]; exact hva · rw [SimpleGraph.mem_neighborFinset]; exact hvb · rw [SimpleGraph.mem_neighborFinset]; exact hvc
The neighborhood of v has cardinality 3.
By SimpleGraph.card_neighborFinset_eq_degree, the cardinality of the neighborhood equals the degree of v, which is 3 by 3-regularity.
uses
SimpleGraph.card_neighborFinset_eq_degreehave hcard_N : (G.neighborFinset v).card = 3 := by rw [SimpleGraph.card_neighborFinset_eq_degree, hdegree]
The neighborhood of v is precisely the set {a, b, c}.
Since {a, b, c} is a subset of the neighborhood of v and both sets have cardinality 3, they are equal by Finset.eq_of_subset_of_card_le.
uses
Finset.eq_of_subset_of_card_lehave heq : ({a, b, c} : Finset V) = G.neighborFinset v := by apply Finset.eq_of_subset_of_card_le hsub rw [hcard_N, hcard_abc]
The covered neighbor u must be one of a, b, or c.
Because u is adjacent to v, SimpleGraph.mem_neighborFinset shows u is in the neighborhood of v. Replacing the neighborhood with {a, b, c} implies u = a, u = b, or u = c.
uses
SimpleGraph.mem_neighborFinset,Finset.mem_insert,Finset.mem_singletonhave hu_mem : u ∈ G.neighborFinset v := by rw [SimpleGraph.mem_neighborFinset] exact hvu rw [← heq] at hu_mem simp only [Finset.mem_insert, Finset.mem_singleton] at hu_mem rcases hu_mem with rfl | rfl | rfl
At least one of a, b, or c is covered.
Since u is covered, each possibility (u = a, u = b, or u = c) witnesses that covered a, covered b, or covered c holds, respectively.
· left; exact hu_cov · right; left; exact hu_cov · right; right; exact hu_cov
False.elim- From a contradiction (a proof of False), any proposition holds.
Finset.card_insert_of_notMem- Inserting an element into a finite set that does not already contain it increases the set's cardinality by 1.
Finset.card_singleton- The cardinality of a singleton set is 1.
Finset.mem_insert- An element is in an inserted set if and only if it equals the inserted element or is already in the set.
Finset.mem_singleton- An element is in a singleton set if and only if it equals the unique member.
SimpleGraph.mem_neighborFinset- A vertex belongs to the neighbor finset of another vertex if and only if the two vertices are adjacent.
SimpleGraph.card_neighborFinset_eq_degree- The cardinality of the neighbor finset of a vertex is equal to its degree.
Finset.eq_of_subset_of_card_le- If one finite set is a subset of another and has at least the same cardinality, the two sets are equal.
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
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
theorem op309_cubic_dominating_matching_uncovered_degree_two {V : Type*} [Fintype V] [DecidableEq V] (G : SimpleGraph V) [DecidableRel G.Adj] (hdegree : ∀ v, G.degree v = 3) (M : Finset G.edgeSet) : let covered : V → Prop := fun v => ∃ e ∈ M, v ∈ e.1 (∀ v : V, covered v ∨ ∃ u : V, G.Adj v u ∧ covered u) → ∀ v a b c : V, ¬ covered v → [a,b,c].Nodup → G.Adj v a → G.Adj v b → G.Adj v c → covered a ∨ covered b ∨ covered c := by intro covered hdom v a b c hnc hnd hva hvb hvc rcases hdom v with hv_cov | ⟨u, hvu, hu_cov⟩ · exact False.elim (hnc hv_cov) · have hcard_abc : ({a, b, c} : Finset V).card = 3 := by have : a ≠ b ∧ a ≠ c ∧ b ≠ c := by aesop rcases this with ⟨hab, hac, hbc⟩ rw [Finset.card_insert_of_notMem, Finset.card_insert_of_notMem, Finset.card_singleton] · simp [hbc] · simp [hab, hac] have hsub : ({a, b, c} : Finset V) ⊆ G.neighborFinset v := by intro x hx simp only [Finset.mem_insert, Finset.mem_singleton] at hx rcases hx with rfl | rfl | rfl · rw [SimpleGraph.mem_neighborFinset]; exact hva · rw [SimpleGraph.mem_neighborFinset]; exact hvb · rw [SimpleGraph.mem_neighborFinset]; exact hvc have hcard_N : (G.neighborFinset v).card = 3 := by rw [SimpleGraph.card_neighborFinset_eq_degree, hdegree] have heq : ({a, b, c} : Finset V) = G.neighborFinset v := by apply Finset.eq_of_subset_of_card_le hsub rw [hcard_N, hcard_abc] have hu_mem : u ∈ G.neighborFinset v := by rw [SimpleGraph.mem_neighborFinset] exact hvu rw [← heq] at hu_mem simp only [Finset.mem_insert, Finset.mem_singleton] at hu_mem rcases hu_mem with rfl | rfl | rfl · left; exact hu_cov · right; left; exact hu_cov · right; right; exact hu_cov