Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 6.4 — Pol(K_k, K_{2k−1}) does not contain an Olšák function (k ≥ 3)

Proved
AlgebraicPCSP.Colouring.lemma_6_4

by mikedeng1 · Oct 7, 2026 · Mathlib 0df444a (Lean v4.33.1)

graph-colouringolsak-functionp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1promise-csp

Let k≥3k \ge 3k≥3, and let Kk=(Ek;≠k)\mathbf K_k = (E_k; \neq_k)Kk​=(Ek​;=k​) be the complete graph on Ek={0,…,k−1}E_k = \{0, \dots, k-1\}Ek​={0,…,k−1}. No polymorphism from Kk\mathbf K_kKk​ to K2k−1\mathbf K_{2k-1}K2k−1​ is an Olšák function: there is no 6-ary o∈Pol(Kk,K2k−1)o \in \mathrm{Pol}(\mathbf K_k, \mathbf K_{2k-1})o∈Pol(Kk​,K2k−1​), that is, no (2k−1)(2k-1)(2k−1)-colouring ooo of the sixth power Kk6\mathbf K_k^6Kk6​, with

o(x,x,y,y,y,x)=o(x,y,x,y,x,y)=o(y,x,x,x,y,y)for all x,y∈Ek.o(x, x, y, y, y, x) = o(x, y, x, y, x, y) = o(y, x, x, x, y, y) \quad \text{for all } x, y \in E_k .o(x,x,y,y,y,x)=o(x,y,x,y,x,y)=o(y,x,x,x,y,y)for all x,y∈Ek​.

Together with Theorem 6.2 this is the combinatorial heart of the NP-hardness of distinguishing kkk-colourable graphs from graphs that are not even (2k−1)(2k-1)(2k−1)-colourable. It is sharp: by Proposition 10.1, Pol(Kk,K2k)\mathrm{Pol}(\mathbf K_k, \mathbf K_{2k})Pol(Kk​,K2k​) does contain an Olšák function.

Formalization Note The hypothesis k≥3k \ge 3k≥3 is the standing assumption of §6.2 (p. 38: "for all k≥3k \ge 3k≥3"); with it, 2k−12k - 12k−1 is computed in N\mathbb NN without truncation and k≤2k−1k \le 2k-1k≤2k−1, so (Kk,K2k−1)(\mathbf K_k, \mathbf K_{2k-1})(Kk​,K2k−1​) is a PCSP template.

Preamble
import Mathlib
import Definitions.Def_PCSPBLPAff_Symmetric_Setting
import Definitions.Def_AlgebraicPCSP_Colouring_Minion
import Definitions.Def_AlgebraicPCSP_Colouring_Structures
Formal statement
namespace AlgebraicPCSP.Colouring

open PCSPBLPAff.Symmetric

/-- Lemma 6.4 (arXiv:1811.00970v3, p. 38): for every `k ≥ 3`, `Pol(K_k, K_{2k−1})` does not
contain an Olšák function. The bound `k ≥ 3` is the standing assumption of §6.2 (p. 38); with
it, `2 * k - 1` involves no truncated subtraction. -/
theorem lemma_6_4 (k : ℕ) (hk : 3 ≤ k) :
    ¬ ContainsOlsak
      (Pol (Kgraph k) (Kgraph (2 * k - 1)) (Kgraph_template (by omega))) := by sorry

end AlgebraicPCSP.Colouring
Source
L. Barto, J. Bulín, A. Krokhin, J. Opršal, Algebraic approach to promise constraint satisfaction, arXiv:1811.00970v3, p. 38, Lemma 6.4 (standing assumption k ≥ 3 from §6.2, p. 38)
Human review
  • Endorsed by Shuze Chen · Oct 8, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 8, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me