op309_girth5_five_clique_palette_obstruction
The stated finite five-color domain constraints are inconsistent.
Statement
theorem op309_girth5_five_clique_palette_obstruction
(a0 a1 a2 a3 a4 b2 b7 b8 b10 b11 b12 b13 b14 b15 b16 : Fin 5)
(hclique : ([a0,a1,a2,a3,a4] : List (Fin 5)).Nodup)
(h14 : b14 ≠ a1 ∧ b14 ≠ a2 ∧ b14 ≠ a3 ∧ b14 ≠ a4)
(h16 : b16 ≠ a1 ∧ b16 ≠ a3 ∧ b16 ≠ a4 ∧ b16 ≠ b14)
(h2 : b2 ≠ a3 ∧ b2 ≠ b14 ∧ b2 ≠ b16)
(h12 : b12 ≠ a2 ∧ b12 ≠ b14 ∧ b12 ≠ b2)
(h13 : b13 ≠ a2 ∧ b13 ≠ b14 ∧ b13 ≠ b2 ∧ b13 ≠ b12)
(h7 : b7 ≠ a0 ∧ b7 ≠ b2 ∧ b7 ≠ b12 ∧ b7 ≠ b13)
(h10 : b10 ≠ a2 ∧ b10 ≠ b14 ∧ b10 ≠ b12 ∧ b10 ≠ b13)
(h15 : b15 ≠ a0 ∧ b15 ≠ b2 ∧ b15 ≠ b7)
(h8 : b8 ≠ a0 ∧ b8 ≠ b7 ∧ b8 ≠ b10 ∧ b8 ≠ b15)
(h11 : b11 ≠ a0 ∧ b11 ≠ b7 ∧ b11 ≠ b10 ∧ b11 ≠ b15 ∧ b11 ≠ b8) : False- Source
- OP-309; girth-five fixed-P3 obstruction, experiments 41671, 41673, 41674, 41678 and 41684.
- Verified
- 27 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Used by 1
- op309_girth5_spanning_p3_forest_noncolorableThe displayed graph has a spanning totally edge-dominating P3 forest for which no proper five-edge-coloring makes all selected edges rich.
The proof, explained
The theorem proves that the palette constraints on fifteen 5-color variables are unsatisfiable. Because a₀, ..., a₄ are pairwise distinct in the five-element set Fin 5, they exhaust all available colors, so every variable must equal one of the aᵢ. Successively branching on the colors of the remaining ten variables and pruning branches that violate the pairwise inequality constraints eliminates every possible assignment, deriving False.
The distinctness hypothesis hclique is expanded into explicit pairwise inequalities between a₀, a₁, a₂, a₃, and a₄.
We enable classical logic and simplify the condition that the list [a₀, a₁, a₂, a₃, a₄] has no duplicates using standard list lemmas and de Morgan's laws for disjunction, yielding the pairwise distinctness of all five elements.
uses
List.nodup_cons,List.mem_cons,List.mem_singleton,List.nodup_singleton,not_orset_option maxHeartbeats 4000000 in classical simp only [List.nodup_cons, List.mem_cons, List.mem_singleton, List.nodup_singleton, not_or] at hclique
The sequence (a₀, a₁, a₂, a₃, a₄) defines an injective function f : Fin 5 → Fin 5.
We define f sending indices 0 through 4 to a₀ through a₄. To establish injectivity, we assume f i = f j and exhaustively check all 25 pairs of indices (i, j) with `fin_cases`; in each case, simplification against the pairwise distinctness of the aₖ forces i = j.
uses
Function.Injectivelet f : Fin 5 → Fin 5 := ![a0,a1,a2,a3,a4] have hf : Function.Injective f := by intro i j h fin_cases i <;> fin_cases j <;> simp_all [f]
Every element x : Fin 5 is equal to one of a₀, a₁, a₂, a₃, or a₄.
Because Fin 5 is finite and f is an injective endofunction, f is surjective by the Pigeonhole Principle (`Finite.surjective_of_injective`). Given x ∈ Fin 5, there is some index i with f i = x; testing each possibility for i ∈ {0, 1, 2, 3, 4} shows that x must be one of the five elements a₀, ..., a₄.
uses
Finite.surjective_of_injectivehave cover (x : Fin 5) : x=a0 ∨ x=a1 ∨ x=a2 ∨ x=a3 ∨ x=a4 := by obtain ⟨i,hi⟩ := (Finite.surjective_of_injective hf) x fin_cases i <;> simp_all [f]
The values of b₁₄ and b₁₆ are uniquely fixed to a₀ and a₂ respectively, and b₂ is restricted to {a₁, a₄}.
We apply the five-way cover to b₁₄. The hypothesis h14 forbids b₁₄ from being a₁, a₂, a₃, or a₄, leaving b₁₄ = a₀. Next, b₁₆ cannot be a₁, a₃, a₄, or b₁₄ (= a₀), so b₁₆ must be a₂. Finally, branching on b₂, which cannot equal a₃, b₁₄, or b₁₆, leaves only two surviving branches: b₂ = a₁ and b₂ = a₄.
rcases cover b14 with h | h | h | h | h <;> simp_all rcases cover b16 with h | h | h | h | h <;> simp_all rcases cover b2 with h | h | h | h | h <;> simp_all
All possible remaining assignments to b₁₂, b₁₃, b₇, b₁₀, b₁₅, b₈, and b₁₁ are contradictory, proving False. automation
We successively case-split each remaining variable against the five values a₀, ..., a₄ using `cover`. At each step, `simp_all` prunes every branch that violates the accumulated inequality hypotheses (h12, h13, h7, h10, h15, h8, h11). After testing all choices through b₁₁, every branch has encountered a contradiction, closing the proof.
all_goals rcases cover b12 with h | h | h | h | h <;> simp_all all_goals rcases cover b13 with h | h | h | h | h <;> simp_all all_goals rcases cover b7 with h | h | h | h | h <;> simp_all all_goals rcases cover b10 with h | h | h | h | h <;> simp_all all_goals rcases cover b15 with h | h | h | h | h <;> simp_all all_goals rcases cover b8 with h | h | h | h | h <;> simp_all all_goals rcases cover b11 with h | h | h | h | h <;> simp_all
List.nodup_cons- A list with head a and tail l has no duplicate elements if and only if a does not appear in l and l has no duplicates.
List.mem_cons- An element a is in the list b :: l if and only if a = b or a is in l.
List.mem_singleton- An element a is in the singleton list [b] if and only if a = b.
List.nodup_singleton- Any singleton list has no duplicate elements.
not_or- The negation of a disjunction ¬(p ∨ q) is equivalent to ¬p ∧ ¬q.
Function.Injective- A function f is injective if f x = f y implies x = y for all x, y.
Finite.surjective_of_injective- Any injective mapping from a finite type to itself is also surjective (the Pigeonhole Principle for finite sets).
- The search space over the 10 constrained variables b₁₄, ..., b₁₁ involves hundreds of branches; Lean explores and eliminates these branches automatically using `simp_all`, requiring an increased heartbeat limit (`maxHeartbeats 4000000`).
Written by a model (gemini-3.8-flash) from the Lean source alone (no goal states were available). Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.
Lean source view module on GitHub
theorem op309_girth5_five_clique_palette_obstruction (a0 a1 a2 a3 a4 b2 b7 b8 b10 b11 b12 b13 b14 b15 b16 : Fin 5) (hclique : ([a0,a1,a2,a3,a4] : List (Fin 5)).Nodup) (h14 : b14 ≠ a1 ∧ b14 ≠ a2 ∧ b14 ≠ a3 ∧ b14 ≠ a4) (h16 : b16 ≠ a1 ∧ b16 ≠ a3 ∧ b16 ≠ a4 ∧ b16 ≠ b14) (h2 : b2 ≠ a3 ∧ b2 ≠ b14 ∧ b2 ≠ b16) (h12 : b12 ≠ a2 ∧ b12 ≠ b14 ∧ b12 ≠ b2) (h13 : b13 ≠ a2 ∧ b13 ≠ b14 ∧ b13 ≠ b2 ∧ b13 ≠ b12) (h7 : b7 ≠ a0 ∧ b7 ≠ b2 ∧ b7 ≠ b12 ∧ b7 ≠ b13) (h10 : b10 ≠ a2 ∧ b10 ≠ b14 ∧ b10 ≠ b12 ∧ b10 ≠ b13) (h15 : b15 ≠ a0 ∧ b15 ≠ b2 ∧ b15 ≠ b7) (h8 : b8 ≠ a0 ∧ b8 ≠ b7 ∧ b8 ≠ b10 ∧ b8 ≠ b15) (h11 : b11 ≠ a0 ∧ b11 ≠ b7 ∧ b11 ≠ b10 ∧ b11 ≠ b15 ∧ b11 ≠ b8) : False := by set_option maxHeartbeats 4000000 in classical simp only [List.nodup_cons, List.mem_cons, List.mem_singleton, List.nodup_singleton, not_or] at hclique let f : Fin 5 → Fin 5 := ![a0,a1,a2,a3,a4] have hf : Function.Injective f := by intro i j h fin_cases i <;> fin_cases j <;> simp_all [f] have cover (x : Fin 5) : x=a0 ∨ x=a1 ∨ x=a2 ∨ x=a3 ∨ x=a4 := by obtain ⟨i,hi⟩ := (Finite.surjective_of_injective hf) x fin_cases i <;> simp_all [f] rcases cover b14 with h | h | h | h | h <;> simp_all rcases cover b16 with h | h | h | h | h <;> simp_all rcases cover b2 with h | h | h | h | h <;> simp_all all_goals rcases cover b12 with h | h | h | h | h <;> simp_all all_goals rcases cover b13 with h | h | h | h | h <;> simp_all all_goals rcases cover b7 with h | h | h | h | h <;> simp_all all_goals rcases cover b10 with h | h | h | h | h <;> simp_all all_goals rcases cover b15 with h | h | h | h | h <;> simp_all all_goals rcases cover b8 with h | h | h | h | h <;> simp_all all_goals rcases cover b11 with h | h | h | h | h <;> simp_all