truncation_no_three_common_missing_colors
For any edge of a loopless cubic multigraph, the two endpoint palettes of a strong six-color truncation coloring cannot have three distinct missing external colors in common.
Statement
theorem truncation_no_three_common_missing_colors {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) (u v : V) (e : E) (he : ends e = s(u,v)) (a b d : Ω) (hab : a ≠ b) (had : a ≠ d) (hbd : b ≠ d) (hua : ∀ f, u ∈ ends f → c u f ≠ a) (hub : ∀ f, u ∈ ends f → c u f ≠ b) (hud : ∀ f, u ∈ ends f → c u f ≠ d) (hva : ∀ f, v ∈ ends f → c v f ≠ a) (hvb : ∀ f, v ∈ ends f → c v f ≠ b) (hvd : ∀ f, v ∈ ends f → c v f ≠ d) : False
- Source
- OP-874: local port-cover obstruction, experiments 38442–38443.
- 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 χ :…
The proof, explained
In a cubic multigraph with a strong 6-truncation coloring, the exposed color sets at the two endpoints $u, v$ of any edge $e$ must be disjoint. Because the exposed set at an endpoint contains all missing colors except possibly the internal color $h(\cdot, e)$, any color missing at both endpoints must be assigned to either $h(u, e)$ or $h(v, e)$. If three distinct colors $a, b, d$ were missing at both endpoints, each would have to equal $h(u, e)$ or $h(v, e)$. By the pigeonhole principle, two of the three distinct colors would then be equal, which is impossible.
A strong truncation coloring requires the exposed color sets at the two endpoints of edge $e$ to be disjoint.
From the assumption that the local states define a strong coloring on the multigraph truncation (hypothesis `hs`), the characterization theorem `truncation_local_states_strong_coloring_iff` implies that across the edge $e = \{u, v\}$, the external colors match ($c(u, e) = c(v, e)$) and the exposed color sets at $u$ and $v$ are disjoint.
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 hsAny color $z$ missing from both endpoint palettes must equal $h(u, e)$ or $h(v, e)$.
Suppose, for contradiction, that $z$ is neither $h(u, e)$ nor $h(v, e)$. By definition of the exposed set `truncation_exposed_pair`, since $z$ is missing at $u$ and $z \neq h(u, e)$, $z$ belongs to the exposed set at $u$. Symmetrically, $z$ also belongs to the exposed set at $v$. But the edge compatibility condition requires these two exposed sets to be disjoint; by `Set.disjoint_left.mp`, no color can belong to both, yielding a contradiction.
uses
Set.disjoint_left.mphave cover (z : Ω) (huz : ∀ f, u ∈ ends f → c u f ≠ z) (hvz : ∀ f, v ∈ ends f → c v f ≠ z) : h u e = z ∨ h v e = z := by by_contra hn push_neg at hn have huP : z ∈ truncation_exposed_pair ends c h u e := ⟨huz, fun heq => hn.1 heq.symm⟩ have hvP : z ∈ truncation_exposed_pair ends c h v e := ⟨hvz, fun heq => hn.2 heq.symm⟩ exact Set.disjoint_left.mp (compat e u v he).2 huP hvP
Each of the three missing colors $a, b, d$ must equal $h(u, e)$ or $h(v, e)$.
We instantiate the covering property established in the previous step with each of the three colors $a, b, d$, using the assumptions that they are missing at both $u$ and $v$ (`hua`, `hva`, `hub`, `hvb`, `hud`, `hvd`). This gives three disjunctions: $h(u, e) = a \lor h(v, e) = a$, $h(u, e) = b \lor h(v, e) = b$, and $h(u, e) = d \lor h(v, e) = d$.
have ha := cover a hua hva have hb := cover b hub hvb have hd := cover d hud hvd
The three disjunctions lead to a contradiction in all cases. automation
We perform a case split across the $2^3 = 8$ combinations of the three disjunctions. In each branch, by the pigeonhole principle, either $h(u, e)$ or $h(v, e)$ is equated to two distinct colors among $\{a, b, d\}$. Since $a, b, d$ are pairwise distinct (`hab`, `had`, `hbd`), every branch produces a contradiction between distinct elements, which `simp_all` detects and closes.
rcases ha with ha | ha <;> rcases hb with hb | hb <;> rcases hd with hd | hd <;> simp_all
truncation_local_states_strong_coloring_iff- A system of local states $(c, h)$ defines a strong edge coloring of the truncated multigraph if and only if for every edge, the endpoint colors agree and the exposed color sets at the two endpoints are disjoint.
Set.disjoint_left.mp- If two sets are disjoint, an element belonging to the first set cannot belong to the second set.
- The final case analysis uses `simp_all` to automatically close all 8 branches resulting from the case split, recognizing in each branch that two distinct colors among $a, b, d$ are equated.
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_no_three_common_missing_colors {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) (u v : V) (e : E) (he : ends e = s(u,v)) (a b d : Ω) (hab : a ≠ b) (had : a ≠ d) (hbd : b ≠ d) (hua : ∀ f, u ∈ ends f → c u f ≠ a) (hub : ∀ f, u ∈ ends f → c u f ≠ b) (hud : ∀ f, u ∈ ends f → c u f ≠ d) (hva : ∀ f, v ∈ ends f → c v f ≠ a) (hvb : ∀ f, v ∈ ends f → c v f ≠ b) (hvd : ∀ f, v ∈ ends f → c v f ≠ d) : False := by classical have compat := (truncation_local_states_strong_coloring_iff hΩ ends hloop hcubic c h hc hh hch).1 hs have cover (z : Ω) (huz : ∀ f, u ∈ ends f → c u f ≠ z) (hvz : ∀ f, v ∈ ends f → c v f ≠ z) : h u e = z ∨ h v e = z := by by_contra hn push_neg at hn have huP : z ∈ truncation_exposed_pair ends c h u e := ⟨huz, fun heq => hn.1 heq.symm⟩ have hvP : z ∈ truncation_exposed_pair ends c h v e := ⟨hvz, fun heq => hn.2 heq.symm⟩ exact Set.disjoint_left.mp (compat e u v he).2 huP hvP have ha := cover a hua hva have hb := cover b hub hvb have hd := cover d hud hvd rcases ha with ha | ha <;> rcases hb with hb | hb <;> rcases hd with hd | hd <;> simp_all