truncation_two_common_missing_no_three_edges
In a strong six-color truncation coloring represented by local states, a vertex and three distinct incident neighbors cannot all miss the same two distinct external colors.
Statement
theorem truncation_two_common_missing_no_three_edges {V E Ω : Type*} [Fintype Ω] (hΩ : Fintype.card Ω = 6) (ends : E → Sym2 V) (hloop : ∀ e, ¬ (ends e).IsDiag) (hcubic : ∀ v, Set.ncard {e | v ∈ ends e} = 3) (c h : V → E → Ω) (hc : ∀ v e f, v ∈ ends e → v ∈ ends f → c v e = c v f → e = f) (hh : ∀ v e f, v ∈ ends e → v ∈ ends f → h v e = h v f → e = f) (hch : ∀ v e f, v ∈ ends e → v ∈ ends f → h v e ≠ c v f) (hs : truncation_local_states_define_strong_coloring ends c h) (v w₁ w₂ w₃ : V) (e₁ e₂ e₃ : E) (a b : Ω) (hab : a ≠ b) (he₁ : ends e₁ = s(v,w₁)) (he₂ : ends e₂ = s(v,w₂)) (he₃ : ends e₃ = s(v,w₃)) (hne₁₂ : e₁ ≠ e₂) (hne₁₃ : e₁ ≠ e₃) (hne₂₃ : e₂ ≠ e₃) (hva : ∀ f, v ∈ ends f → c v f ≠ a) (hvb : ∀ f, v ∈ ends f → c v f ≠ b) (hw₁a : ∀ f, w₁ ∈ ends f → c w₁ f ≠ a) (hw₁b : ∀ f, w₁ ∈ ends f → c w₁ f ≠ b) (hw₂a : ∀ f, w₂ ∈ ends f → c w₂ f ≠ a) (hw₂b : ∀ f, w₂ ∈ ends f → c w₂ f ≠ b) (hw₃a : ∀ f, w₃ ∈ ends f → c w₃ f ≠ a) (hw₃b : ∀ f, w₃ ∈ ends f → c w₃ f ≠ b) : False
- Source
- OP-874: necessary two-color local port-cover bound motivated by experiment 38417.
- Verified
- 24 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 3
- truncation_local_states_strong_coloring_iffLemma 2.1 of arXiv:2610.41950. Let G be a loopless cubic multigraph, given by ends : E → Sym2 V (no Fintype or Finite instance on V or E…
- truncation_exposed_pairFor a multigraph given by ends : E → Sym2 V and colour assignments c h : V → E → Ω (c v e is the external colour at the port (v, e), h v e…
- truncation_local_states_define_strong_coloringThe local states (c, h), with c h : V → E → Ω, define a strong edge-colouring of the truncation multigraph_truncation ends: there is χ :…
- Used by 1
- op874_forest_fixed_external_no_strong_completionThe explicit ten-vertex forest fixed-external-color data admit no strong truncation local-state completion.
The proof, explained
In a strong edge coloring of a truncation, two endpoints of an edge cannot share an exposed missing color. If two distinct colors $a, b$ are missing at both $v$ and an incident neighbor $w$, this disjointness forces the internal edge color at $v$ to belong to $\{a, b\}$. Having three distinct incident neighbors that all miss both $a$ and $b$ forces all three values $h(v, e_1), h(v, e_2), h(v, e_3)$ into the two-element set $\{a, b\}$, contradicting the injectivity of $h(v, \cdot)$ by the pigeonhole principle.
For every edge, the exposed pairs of missing colors at its two endpoints are disjoint.
Using classical logic and the forward implication of `truncation_local_states_strong_coloring_iff`, we extract the edge compatibility condition (`compat`) guaranteed by the hypothesis `hs` that $(c, h)$ defines a strong edge coloring. In particular, for any edge $e$ with ends $u$ and $v$, the set of exposed colors at $u$ is disjoint from that at $v$.
uses
truncation_local_states_strong_coloring_iffclassical have compat := (truncation_local_states_strong_coloring_iff hΩ ends hloop hcubic c h hc hh hch).1 hsIf an external color $z$ is missing at both endpoints $v$ and $w$ of an edge $e$, then either $h(v, e) = z$ or $h(w, e) = z$.
We prove the helper lemma `cover` by contradiction (`by_contra hn`, `push_neg`). If neither $h(v, e) = z$ nor $h(w, e) = z$, then $z$ satisfies the defining conditions for the exposed pair at both endpoints: $z$ is missing from all external edges at $v$ and $z \ne h(v, e)$ (giving $z \in \text{exposed}(v, e)$ as `hvP`), and likewise at $w$ (giving $z \in \text{exposed}(w, e)$ as `hwP`). But `compat` requires these two sets to be disjoint, so by `Set.disjoint_left.mp` this is a contradiction.
uses
Set.disjoint_left.mphave cover (e : E) (w : V) (z : Ω) (he : ends e = s(v,w)) (hvz : ∀ f, v ∈ ends f → c v f ≠ z) (hwz : ∀ f, w ∈ ends f → c w f ≠ z) : h v e = z ∨ h w e = z := by by_contra hn push_neg at hn have hvP : z ∈ truncation_exposed_pair ends c h v e := ⟨hvz, fun heq => hn.1 heq.symm⟩ have hwP : z ∈ truncation_exposed_pair ends c h w e := ⟨hwz, fun heq => hn.2 heq.symm⟩ exact Set.disjoint_left.mp (compat e v w he).2 hvP hwP
For any edge $e$ connecting $v$ to $w$, if both colors $a$ and $b$ are missing at $w$, then $h(v, e) = a$ or $h(v, e) = b$.
We prove the helper lemma `force`. Applying `cover` to color $a$, either $h(v, e) = a$ (closing via `Or.inl`), or $h(w, e) = a$. In the latter case, applying `cover` to color $b$ yields either $h(v, e) = b$ (closing via `Or.inr`), or $h(w, e) = b$. If both $h(w, e) = a$ and $h(w, e) = b$, transitivity gives $a = b$, contradicting $a \ne b$ (`hab`); `False.elim` eliminates this impossible branch.
uses
Or.inl,Or.inr,False.elimhave force (e : E) (w : V) (he : ends e = s(v,w)) (hwa : ∀ f, w ∈ ends f → c w f ≠ a) (hwb : ∀ f, w ∈ ends f → c w f ≠ b) : h v e = a ∨ h v e = b := by rcases cover e w a he hva hwa with hv | hw · exact Or.inl hv · rcases cover e w b he hvb hwb with hv | hw' · exact Or.inr hv · exact False.elim (hab (hw.symm.trans hw'))
For each of the three edges $e_1, e_2, e_3$, the internal color at $v$ is forced to be either $a$ or $b$.
Applying `force` to each of the three edges $e_1, e_2, e_3$ incident to $v$ and their neighbors $w_1, w_2, w_3$ yields hypotheses $h_1, h_2, h_3$, establishing $h(v, e_i) \in \{a, b\}$ for each $i \in \{1, 2, 3\}$.
have h₁ := force e₁ w₁ he₁ hw₁a hw₁b have h₂ := force e₂ w₂ he₂ hw₂a hw₂b have h₃ := force e₃ w₃ he₃ hw₃a hw₃b
The vertex $v$ is an endpoint of each of the edges $e_1, e_2, e_3$.
Rewriting with the edge endpoint hypotheses $he_1, he_2, he_3$ and simplifying confirms that $v \in \text{ends}(e_i)$ for $i \in \{1, 2, 3\}$.
have hv₁ : v ∈ ends e₁ := by rw [he₁]; simp have hv₂ : v ∈ ends e₂ := by rw [he₂]; simp have hv₃ : v ∈ ends e₃ := by rw [he₃]; simp
The three colors $h(v, e_1)$, $h(v, e_2)$, and $h(v, e_3)$ are pairwise distinct.
The hypothesis $hh$ states that the assignment $e \mapsto h(v, e)$ is injective on edges incident to $v$. Because $e_1, e_2, e_3$ are assumed pairwise distinct (`hne₁₂`, `hne₁₃`, `hne₂₃`), their images under $h(v, \cdot)$ must be pairwise distinct.
have h₁₂ : h v e₁ ≠ h v e₂ := fun eq => hne₁₂ (hh v e₁ e₂ hv₁ hv₂ eq) have h₁₃ : h v e₁ ≠ h v e₃ := fun eq => hne₁₃ (hh v e₁ e₃ hv₁ hv₃ eq) have h₂₃ : h v e₂ ≠ h v e₃ := fun eq => hne₂₃ (hh v e₂ e₃ hv₂ hv₃ eq)
Contradiction, completing the proof. automation
Case analysis on $h(v, e_i) \in \{a, b\}$ across the three edges produces $2^3 = 8$ branches. By the pigeonhole principle, in every branch at least two of the three edges are assigned the same color from $\{a, b\}$. This equality contradicts the pairwise distinctness of $h(v, e_1), h(v, e_2), h(v, e_3)$, and `simp_all` closes all 8 branches.
rcases h₁ with h₁ | h₁ <;> rcases h₂ with h₂ | h₂ <;> rcases h₃ with h₃ | h₃ <;> simp_all
truncation_local_states_strong_coloring_iff- For a cubic graph with a 6-color set, local state functions c and h define a strong edge coloring of the truncation if and only if for every edge e = s(u, v), the external colors match (c u e = c v e) and the exposed color pairs at u and v are disjoint.
Set.disjoint_left.mp- If two sets are disjoint, an element belonging to the first set cannot belong to the second.
Or.inl- From a proof of A, infer the disjunction A ∨ B.
Or.inr- From a proof of B, infer the disjunction A ∨ B.
False.elim- From a contradiction (False), infer any proposition (principle of explosion).
- In lines 56–57, the tactic `simp_all` automatically closes all 8 branches resulting from the case analysis on $h(v, e_i) \in \{a, b\}$ by spotting a contradiction with one of the pairwise distinctness hypotheses $h_{12}, h_{13}, h_{23}$.
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 maxHeartbeats 1000000theorem truncation_two_common_missing_no_three_edges {V E Ω : Type*} [Fintype Ω] (hΩ : Fintype.card Ω = 6) (ends : E → Sym2 V) (hloop : ∀ e, ¬ (ends e).IsDiag) (hcubic : ∀ v, Set.ncard {e | v ∈ ends e} = 3) (c h : V → E → Ω) (hc : ∀ v e f, v ∈ ends e → v ∈ ends f → c v e = c v f → e = f) (hh : ∀ v e f, v ∈ ends e → v ∈ ends f → h v e = h v f → e = f) (hch : ∀ v e f, v ∈ ends e → v ∈ ends f → h v e ≠ c v f) (hs : truncation_local_states_define_strong_coloring ends c h) (v w₁ w₂ w₃ : V) (e₁ e₂ e₃ : E) (a b : Ω) (hab : a ≠ b) (he₁ : ends e₁ = s(v,w₁)) (he₂ : ends e₂ = s(v,w₂)) (he₃ : ends e₃ = s(v,w₃)) (hne₁₂ : e₁ ≠ e₂) (hne₁₃ : e₁ ≠ e₃) (hne₂₃ : e₂ ≠ e₃) (hva : ∀ f, v ∈ ends f → c v f ≠ a) (hvb : ∀ f, v ∈ ends f → c v f ≠ b) (hw₁a : ∀ f, w₁ ∈ ends f → c w₁ f ≠ a) (hw₁b : ∀ f, w₁ ∈ ends f → c w₁ f ≠ b) (hw₂a : ∀ f, w₂ ∈ ends f → c w₂ f ≠ a) (hw₂b : ∀ f, w₂ ∈ ends f → c w₂ f ≠ b) (hw₃a : ∀ f, w₃ ∈ ends f → c w₃ f ≠ a) (hw₃b : ∀ f, w₃ ∈ ends f → c w₃ f ≠ b) : False := by classical have compat := (truncation_local_states_strong_coloring_iff hΩ ends hloop hcubic c h hc hh hch).1 hs have cover (e : E) (w : V) (z : Ω) (he : ends e = s(v,w)) (hvz : ∀ f, v ∈ ends f → c v f ≠ z) (hwz : ∀ f, w ∈ ends f → c w f ≠ z) : h v e = z ∨ h w e = z := by by_contra hn push_neg at hn have hvP : z ∈ truncation_exposed_pair ends c h v e := ⟨hvz, fun heq => hn.1 heq.symm⟩ have hwP : z ∈ truncation_exposed_pair ends c h w e := ⟨hwz, fun heq => hn.2 heq.symm⟩ exact Set.disjoint_left.mp (compat e v w he).2 hvP hwP have force (e : E) (w : V) (he : ends e = s(v,w)) (hwa : ∀ f, w ∈ ends f → c w f ≠ a) (hwb : ∀ f, w ∈ ends f → c w f ≠ b) : h v e = a ∨ h v e = b := by rcases cover e w a he hva hwa with hv | hw · exact Or.inl hv · rcases cover e w b he hvb hwb with hv | hw' · exact Or.inr hv · exact False.elim (hab (hw.symm.trans hw')) have h₁ := force e₁ w₁ he₁ hw₁a hw₁b have h₂ := force e₂ w₂ he₂ hw₂a hw₂b have h₃ := force e₃ w₃ he₃ hw₃a hw₃b have hv₁ : v ∈ ends e₁ := by rw [he₁]; simp have hv₂ : v ∈ ends e₂ := by rw [he₂]; simp have hv₃ : v ∈ ends e₃ := by rw [he₃]; simp have h₁₂ : h v e₁ ≠ h v e₂ := fun eq => hne₁₂ (hh v e₁ e₂ hv₁ hv₂ eq) have h₁₃ : h v e₁ ≠ h v e₃ := fun eq => hne₁₃ (hh v e₁ e₃ hv₁ hv₃ eq) have h₂₃ : h v e₂ ≠ h v e₃ := fun eq => hne₂₃ (hh v e₂ e₃ hv₂ hv₃ eq) rcases h₁ with h₁ | h₁ <;> rcases h₂ with h₂ | h₂ <;> rcases h₃ with h₃ | h₃ <;> simp_all