op309_edge_endpoints_rich_witnesses_imply_rich_neighbor
If rich edges meet an endpoint of every edge, and each designated rich edge has a different adjacent designated rich edge, the coloring is rich-neighbor.
Statement
theorem op309_edge_endpoints_rich_witnesses_imply_rich_neighbor {V : Type*} (G : SimpleGraph V) (c : G.lineGraph.Coloring (Fin 5)) (R : Set G.edgeSet) (hrich : ∀ e ∈ R, simple_graph_edge_is_rich G c e) (hcover : ∀ e : G.edgeSet, ∃ v : V, v ∈ e.1 ∧ ∃ f ∈ R, v ∈ f.1) (hpaired : ∀ e ∈ R, ∃ f ∈ R, G.lineGraph.Adj e f) : simple_graph_is_rich_neighbor_coloring G c
- Source
- Assembly step for triangle-dominated cubic graphs in OP-309.
- Verified
- 20 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 2
- simple_graph_edge_is_richIn an edge colouring c, an edge e is rich if all edges adjacent to e receive pairwise distinct colours.
- simple_graph_is_rich_neighbor_coloringA proper edge colouring is a rich-neighbor edge colouring if every non-isolated edge (one with at least one adjacent edge) is adjacent to…
The proof, explained
To show that the coloring is rich-neighbor, we take an arbitrary edge e and seek an adjacent rich edge. The covering hypothesis yields an endpoint of e incident to a designated rich edge f ∈ R. If e = f, the pairing hypothesis guarantees a distinct rich edge adjacent to e; if e ≠ f, then f itself shares an endpoint with e and is rich.
For an arbitrary edge e of G, there exists an endpoint v ∈ e and an edge f ∈ R incident to v.
To show that c is a rich-neighbor coloring, we consider an edge e of G. By the covering hypothesis (hcover), there exists a vertex v of e that is also incident to some designated edge f in R.
intro e _ obtain ⟨v, hve, f, hfR, hvf⟩ := hcover e
If e = f, there is an edge adjacent to e that is rich under c.
We split into cases on whether e = f. If e = f, then e ∈ R. By the pairing hypothesis (hpaired), there exists an edge f' ∈ R adjacent to e in the line graph. Since all edges in R are rich (hrich), f' is rich, which provides the required adjacent rich edge.
by_cases hef : e = f · subst hef obtain ⟨f', hf'R, hadj⟩ := hpaired e hfR exact ⟨f', hadj, hrich f' hf'R⟩
If e ≠ f, then f itself is an edge adjacent to e that is rich under c.
In the remaining case e ≠ f, f is already in R and therefore rich by hrich. Furthermore, e and f are distinct and share the vertex v, so by SimpleGraph.lineGraph_adj_iff_exists they are adjacent in the line graph. Hence f is the required adjacent rich edge.
uses
SimpleGraph.lineGraph_adj_iff_exists· refine ⟨f, ?_, hrich f hfR⟩ rw [SimpleGraph.lineGraph_adj_iff_exists] exact ⟨hef, v, hve, hvf⟩
SimpleGraph.lineGraph_adj_iff_exists- Two edges of a simple graph are adjacent in its line graph if and only if they are distinct and share at least one vertex.
- The hypothesis that the chosen edge has an adjacent edge in the line graph is introduced and discarded on line 8 (`intro e _`), because the covering and pairing hypotheses guarantee an adjacent rich edge without it.
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_edge_endpoints_rich_witnesses_imply_rich_neighbor {V : Type*} (G : SimpleGraph V) (c : G.lineGraph.Coloring (Fin 5)) (R : Set G.edgeSet) (hrich : ∀ e ∈ R, simple_graph_edge_is_rich G c e) (hcover : ∀ e : G.edgeSet, ∃ v : V, v ∈ e.1 ∧ ∃ f ∈ R, v ∈ f.1) (hpaired : ∀ e ∈ R, ∃ f ∈ R, G.lineGraph.Adj e f) : simple_graph_is_rich_neighbor_coloring G c := by intro e _ obtain ⟨v, hve, f, hfR, hvf⟩ := hcover e by_cases hef : e = f · subst hef obtain ⟨f', hf'R, hadj⟩ := hpaired e hfR exact ⟨f', hadj, hrich f' hf'R⟩ · refine ⟨f, ?_, hrich f hfR⟩ rw [SimpleGraph.lineGraph_adj_iff_exists] exact ⟨hef, v, hve, hvf⟩