AFTD Auto-Formalizing Theoretical Domains

truncation_no_three_common_missing_colors

theoremverified

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

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.

  1. 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.

    lines 20–22

    uses truncation_local_states_strong_coloring_iff

      classical
      have compat := (truncation_local_states_strong_coloring_iff
        hΩ ends hloop hcubic c h hc hh hch).1 hs
  2. Any 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.

    lines 23–32

    uses Set.disjoint_left.mp

      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
  3. 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$.

    lines 33–35

      have ha := cover a hua hva
      have hb := cover b hub hvb
      have hd := cover d hud hvd
  4. 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.

    lines 36–37

      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.

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

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
See it in the graphDiscuss this resultChallenge it