op309_cycle_palette_forces_matching_palette
For a rich-neighbor five-coloring with the displayed edge partition, if every matching edge has four distinct cycle neighbors and every adjacent cycle edge has two other distinct cycle neighbors, then a three-color cycle forces every matching edge to use one of the other two colors.
Statement
theorem op309_cycle_palette_forces_matching_palette {V ι κ : Type*} (G : SimpleGraph V) (c : G.lineGraph.Coloring (Fin 5)) (C : ι → G.edgeSet) (M : κ → G.edgeSet) (hcover : ∀ e, (∃ i, C i = e) ∨ (∃ a, M a = e)) (hcycle : ∀ i, (c (C i)).val < 3) (hfour : ∀ a, ∃ x : Fin 4 → ι, Function.Injective (fun j => C (x j)) ∧ ∀ j, G.lineGraph.Adj (M a) (C (x j))) (hlocal : ∀ i a, G.lineGraph.Adj (C i) (M a) → ∃ p q, C p ≠ C q ∧ C p ≠ M a ∧ C q ≠ M a ∧ G.lineGraph.Adj (C i) (C p) ∧ G.lineGraph.Adj (C i) (C q)) (hrn : simple_graph_is_rich_neighbor_coloring G c) : ∀ a, 3 ≤ (c (M a)).val
- Source
- Structural palette reduction for OP-309, motivated by the cycle/chord construction of https://arxiv.org/abs/2611.24297 and experiments 34685, 34692, 34700.
- Verified
- 20 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 2
- 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…
- simple_graph_edge_is_richIn an edge colouring c, an edge e is rich if all edges adjacent to e receive pairwise distinct colours.
The proof, explained
The proof shows that every matching edge has color value at least 3 (i.e. uses one of the remaining two colors in a 5-coloring) by using the rich-neighbor property. First, no matching edge can be rich because it has four cycle neighbors colored with {0, 1, 2}, violating the pigeonhole principle. Therefore, every matching edge must be adjacent to a rich cycle edge. Finally, that rich cycle edge has three neighbors with colors in {0, 1, 2} (itself and two adjacent cycle edges), forcing its neighbor, the matching edge, to take a color outside {0, 1, 2}.
If an edge e and two of its neighbors have colors in {0, 1, 2}, and e is rich, then any third neighbor f must have color at least 3 automation
All edges e, a, b, f are mutually adjacent in the line graph or neighbors of e, so richness and proper coloring ensure their color values are all distinct. Since e, a, b use three distinct values below 3 (namely 0, 1, 2), f cannot take any of these values, forcing its color value to be at least 3 by linear arithmetic.
uses
Fin.exthave hval {x y : G.edgeSet} (h : c x ≠ c y) : (c x).val ≠ (c y).val := by intro heq exact h (Fin.ext heq) have hea' := hval (c.valid hea) have heb' := hval (c.valid heb) have hef' := hval (c.valid hef) have hab' := hval (hr a b hea heb hab) have haf' := hval (hr a f hea hef haf) have hbf' := hval (hr b f heb hef hbf) omega
An edge with four distinct neighbors colored in {0, 1, 2} cannot be rich automation
Such a rich edge would assign distinct colors to all four neighbors, but their colors only take values in {0, 1, 2}, which is impossible by the pigeonhole principle (cardinality 4 ≤ 3).
uses
Fin.ext,congrArg,Fintype.card_le_of_injectiveintro hr let q (i : Fin 4) : Fin 3 := ⟨(c (x i)).val, hcolors i⟩ have hq : Function.Injective q := by intro i j heq by_contra hne have hval : c (x i) = c (x j) := by apply Fin.ext have hh := congrArg Fin.val heq simpa only [q] using hh exact (hr (x i) (x j) (hadj i) (hadj j) (fun hh => hne (hx hh))) hval have hc := Fintype.card_le_of_injective q hq norm_num at hc
No matching edge can be rich
Each matching edge has four distinct cycle neighbors, all colored in {0, 1, 2}, so by the previous lemma it cannot be rich.
uses
op309_four_cycle_neighbors_not_rich_localhave hnot (a : κ) : ¬ simple_graph_edge_is_rich G c (M a) := by obtain ⟨x,hx,hadj⟩ := hfour a exact op309_four_cycle_neighbors_not_rich_local G c (M a) (fun j => C (x j)) hx hadj (fun j => hcycle (x j))
Every matching edge has color value at least 3
For any matching edge M a, by the rich-neighbor coloring property, it has a neighbor g that is rich. By the partition hypothesis, g is either a cycle edge or a matching edge. But matching edges cannot be rich, so g must be a cycle edge C i. By the local neighborhood property, C i has two other cycle neighbors distinct from M a. All three cycle edges C i, C p, C q have colors in {0, 1, 2}. Since C i is rich, the lemma op309_rich_edge_forces_outside_color forces M a to have color value at least 3.
uses
op309_rich_edge_forces_outside_colorintro a obtain ⟨x,hx,hadj⟩ := hfour a obtain ⟨g,hg,hgrich⟩ := hrn (M a) ⟨C (x 0), hadj 0⟩ rcases hcover g with ⟨i,hi⟩ | ⟨b,hb⟩ · subst g have hcm : G.lineGraph.Adj (C i) (M a) := hg.symm obtain ⟨p,q,hpq,hpm,hqm,hp,hq⟩ := hlocal i a hcm exact op309_rich_edge_forces_outside_color G c (C i) (C p) (C q) (M a) hp hq hcm hpq hpm hqm hgrich (hcycle i) (hcycle p) (hcycle q) · subst g exact (hnot b hgrich).elim
Fin.ext- Equality of Fin values implies equality of elements
congrArg- Applying a function to equal elements yields equal results
Fintype.card_le_of_injective- An injective function from a finite type to another implies the cardinality of the domain is at most the cardinality of the codomain
op309_rich_edge_forces_outside_color- If an edge is rich and incident to three distinct edges of colors in {0,1,2}, any fourth neighbor must have color at least 3
op309_four_cycle_neighbors_not_rich_local- An edge with four distinct neighbors of colors in {0,1,2} cannot be rich in a 5-coloring
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.
set_option maxRecDepth 32768set_option maxHeartbeats 4000000theorem op309_rich_edge_forces_outside_color {V : Type*} (G : SimpleGraph V) (c : G.lineGraph.Coloring (Fin 5)) (e a b f : G.edgeSet) (hea : G.lineGraph.Adj e a) (heb : G.lineGraph.Adj e b) (hef : G.lineGraph.Adj e f) (hab : a ≠ b) (haf : a ≠ f) (hbf : b ≠ f) (hr : simple_graph_edge_is_rich G c e) (he : (c e).val < 3) (ha : (c a).val < 3) (hb : (c b).val < 3) : 3 ≤ (c f).val := by have hval {x y : G.edgeSet} (h : c x ≠ c y) : (c x).val ≠ (c y).val := by intro heq exact h (Fin.ext heq) have hea' := hval (c.valid hea) have heb' := hval (c.valid heb) have hef' := hval (c.valid hef) have hab' := hval (hr a b hea heb hab) have haf' := hval (hr a f hea hef haf) have hbf' := hval (hr b f heb hef hbf) omegatheorem op309_four_cycle_neighbors_not_rich_local {V : Type*} (G : SimpleGraph V) (c : G.lineGraph.Coloring (Fin 5)) (e : G.edgeSet) (x : Fin 4 → G.edgeSet) (hx : Function.Injective x) (hadj : ∀ i, G.lineGraph.Adj e (x i)) (hcolors : ∀ i, (c (x i)).val < 3) : ¬ simple_graph_edge_is_rich G c e := by intro hr let q (i : Fin 4) : Fin 3 := ⟨(c (x i)).val, hcolors i⟩ have hq : Function.Injective q := by intro i j heq by_contra hne have hval : c (x i) = c (x j) := by apply Fin.ext have hh := congrArg Fin.val heq simpa only [q] using hh exact (hr (x i) (x j) (hadj i) (hadj j) (fun hh => hne (hx hh))) hval have hc := Fintype.card_le_of_injective q hq norm_num at hctheorem op309_cycle_palette_forces_matching_palette {V ι κ : Type*} (G : SimpleGraph V) (c : G.lineGraph.Coloring (Fin 5)) (C : ι → G.edgeSet) (M : κ → G.edgeSet) (hcover : ∀ e, (∃ i, C i = e) ∨ (∃ a, M a = e)) (hcycle : ∀ i, (c (C i)).val < 3) (hfour : ∀ a, ∃ x : Fin 4 → ι, Function.Injective (fun j => C (x j)) ∧ ∀ j, G.lineGraph.Adj (M a) (C (x j))) (hlocal : ∀ i a, G.lineGraph.Adj (C i) (M a) → ∃ p q, C p ≠ C q ∧ C p ≠ M a ∧ C q ≠ M a ∧ G.lineGraph.Adj (C i) (C p) ∧ G.lineGraph.Adj (C i) (C q)) (hrn : simple_graph_is_rich_neighbor_coloring G c) : ∀ a, 3 ≤ (c (M a)).val := by have hnot (a : κ) : ¬ simple_graph_edge_is_rich G c (M a) := by obtain ⟨x,hx,hadj⟩ := hfour a exact op309_four_cycle_neighbors_not_rich_local G c (M a) (fun j => C (x j)) hx hadj (fun j => hcycle (x j)) intro a obtain ⟨x,hx,hadj⟩ := hfour a obtain ⟨g,hg,hgrich⟩ := hrn (M a) ⟨C (x 0), hadj 0⟩ rcases hcover g with ⟨i,hi⟩ | ⟨b,hb⟩ · subst g have hcm : G.lineGraph.Adj (C i) (M a) := hg.symm obtain ⟨p,q,hpq,hpm,hqm,hp,hq⟩ := hlocal i a hcm exact op309_rich_edge_forces_outside_color G c (C i) (C p) (C q) (M a) hp hq hcm hpq hpm hqm hgrich (hcycle i) (hcycle p) (hcycle q) · subst g exact (hnot b hgrich).elim