Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 6.2 — M maps to Pol(H₂, H_K) for some K ≥ 2 iff M contains no Olšák function

Proved
AlgebraicPCSP.Colouring.theorem_6_2

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

hypergraph-colouringminionsolsak-functionp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1promise-csp

Let M\mathscr MM be a minion on a pair of finite sets (A,B)(A, B)(A,B), and for K≥2K \ge 2K≥2 let HK=Pol(H2,HK)\mathscr H_K = \mathrm{Pol}(\mathbf H_2, \mathbf H_K)HK​=Pol(H2​,HK​), where HK=(EK;NAEK)\mathbf H_K = (E_K; \mathrm{NAE}_K)HK​=(EK​;NAEK​). The following are equivalent:

  1. there exist K≥2K \ge 2K≥2 and a minion homomorphism ξ:M→HK\xi : \mathscr M \to \mathscr H_Kξ:M→HK​;
  2. M\mathscr MM does not contain an Olšák function, i.e. no 6-ary o∈Mo \in \mathscr Mo∈M satisfies
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∈A.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 A .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∈A.

Combined with the hardness of approximate hypergraph colouring, this gives a purely algebraic sufficient condition for NP-hardness of a PCSP (Corollary 6.3): it suffices that the template has no Olšák polymorphism.

Formalization Note The minion's sets are finite (Fintype A, Fintype B), the paper's standing assumption on minions (Definition 2.20); it makes the set M(2)\mathscr M^{(2)}M(2) of binary members finite. The target minion is exactly Pol(H2,HK)\mathrm{Pol}(\mathbf H_2, \mathbf H_K)Pol(H2​,HK​) with K≥2K \ge 2K≥2 quantified existentially.

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

/-- Theorem 6.2 (arXiv:1811.00970v3, p. 38): for a minion `M` on finite sets `(A, B)`, the
following are equivalent:
(1) there exist `K ≥ 2` and a minion homomorphism `M → 𝓗_K = Pol(H₂, H_K)`;
(2) `M` does not contain an Olšák function. -/
theorem theorem_6_2 {A B : Type} [Fintype A] [Fintype B] (M : Minion A B) :
    (∃ (K : ℕ) (hK : 2 ≤ K)
        (ξ : (n : ℕ) → ((Fin n → A) → B) → ((Fin n → Fin 2) → Fin K)),
        IsMinionHom M (HMinion K hK) ξ) ↔
      ¬ ContainsOlsak M := 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, Theorem 6.2
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