Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 7.9 β€” BLP solves PCSP(A, B) iff Pol(A, B) has symmetric functions of all arities iff 𝒬_conv β†’ Pol(A, B) iff (A, B) is pp-constructible from a finite reduct of Q_conv

Proved
AlgebraicPCSP.BLP.theorem_7_9

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

linear-programmingminionsp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1promise-cspsymmetric-polymorphisms

Let (A,B)(\mathbf A,\mathbf B)(A,B) be a PCSP template: two finite relational structures over the same finite signature, all arities at least 111, with a homomorphism A→B\mathbf A\to\mathbf BA→B and nonempty domain BBB. The following are equivalent.

  1. BLP solves PCSP(A,B)\mathrm{PCSP}(\mathbf A,\mathbf B)PCSP(A,B): every instance I\mathbf II with BLPA(I)=1\mathrm{BLP}_{\mathbf A}(\mathbf I)=1BLPA​(I)=1 maps homomorphically to B\mathbf BB.
  2. Pol(A,B)\mathrm{Pol}(\mathbf A,\mathbf B)Pol(A,B) contains symmetric functions of all arities: for every nβ‰₯1n\ge 1nβ‰₯1 there is a polymorphism f:Anβ†’Bf:A^n\to Bf:Anβ†’B with f(xΟ€(1),…,xΟ€(n))=f(x1,…,xn)f(x_{\pi(1)},\dots,x_{\pi(n)})=f(x_1,\dots,x_n)f(xΟ€(1)​,…,xΟ€(n)​)=f(x1​,…,xn​) for all permutations Ο€\piΟ€ of [n][n][n].
  3. Pol(A,B)\mathrm{Pol}(\mathbf A,\mathbf B)Pol(A,B) admits a minion homomorphism from Qconv\mathcal Q_{\mathrm{conv}}Qconv​, the minion of convex linear functions βˆ‘iΞ±ixi\sum_i\alpha_ix_iβˆ‘i​αi​xi​ (Ξ±i∈[0,1]\alpha_i\in[0,1]Ξ±iβ€‹βˆˆ[0,1], βˆ‘iΞ±i=1\sum_i\alpha_i=1βˆ‘i​αi​=1) on Q\mathbb QQ:
Qconv⟢Pol(A,B).\mathcal Q_{\mathrm{conv}}\longrightarrow\mathrm{Pol}(\mathbf A,\mathbf B).Qconvβ€‹βŸΆPol(A,B).
  1. (A,B)(\mathbf A,\mathbf B)(A,B) is pp-constructible from (D,D)(\mathbf D,\mathbf D)(D,D) for some finite reduct D\mathbf DD of Qconv\mathbf Q_{\mathrm{conv}}Qconv​, the structure on Q\mathbb QQ whose relations are the rational linear inequalities.

The theorem characterises the PCSP templates for which the basic linear programming relaxation is a correct decision procedure, in three algebraic ways; it generalises Theorem 2(5)&(6) of Kun, O'Donnell, Tamaki, Yoshida and Zhou from CSPs to promise CSPs.

Formalization Note The conclusion is a List.TFAE of the four items. Item (1) uses BLPSolves, where BLPA(I)=1\mathrm{BLP}_{\mathbf A}(\mathbf I)=1BLPA​(I)=1 is the feasibility of the basic LP with ΞΌv,R\mu_{\mathbf v,R}ΞΌv,R​ vanishing off RAR^{\mathbf A}RA (the paper's remark after Definition 7.7). Item (4) uses pp-constructibility over possibly infinite domains, starting from QconvReduct S for a finite set S of non-strict rational inequalities. Nonemptiness of BBB excludes exactly the degenerate template A=B=βˆ…A=B=\emptysetA=B=βˆ… (a homomorphism Aβ†’B\mathbf A\to\mathbf BAβ†’B forces A=βˆ…A=\emptysetA=βˆ… when B=βˆ…B=\emptysetB=βˆ…): there items (1)–(3) hold while no pp-construction from a structure on Q\mathbb QQ reaches an empty BBB, so the printed theorem fails. For A=βˆ…β‰ BA=\emptyset\ne BA=βˆ…ξ€ =B all four items hold, so the weaker hypothesis on BBB is used rather than nonemptiness of AAA.

Preamble
import Mathlib
import Definitions.Def_PCSPBLPAff_Symmetric_Setting
import Definitions.Def_AlgebraicPCSP_Theory_MinorCondition
import Definitions.Def_AlgebraicPCSP_BLP_PPConstruction
import Definitions.Def_AlgebraicPCSP_BLP_Qconv
import Definitions.Def_AlgebraicPCSP_BLP_LP
Formal statement
namespace AlgebraicPCSP.BLP

open PCSPBLPAff.Symmetric

/-- Theorem 7.9 (arXiv:1811.00970v3, p. 46). Let `(𝔸, 𝔹)` be a PCSP template (finite signature,
arities `β‰₯ 1`, finite domains, `B` nonempty). The following are equivalent:
1. BLP solves `PCSP(𝔸, 𝔹)`;
2. `Pol(𝔸, 𝔹)` contains symmetric functions of all arities `n β‰₯ 1`;
3. there is a minion homomorphism `𝒬_conv β†’ AlgebraicPCSP.Theory.Pol(𝔸, 𝔹)`;
4. `(𝔸, 𝔹)` is pp-constructible from `(D, D)` for some finite reduct `D` of `Q_conv`. -/
theorem theorem_7_9 {Ο„ : Type} [Fintype Ο„] {ar : Ο„ β†’ β„•} (har : βˆ€ R, 0 < ar R)
    {A B : Type} [Fintype A] [DecidableEq A] [Fintype B] [DecidableEq B] [Nonempty B]
    (𝔸 : RelStruct Ο„ ar A) (𝔹 : RelStruct Ο„ ar B) (h : IsPromiseTemplate 𝔸 𝔹) :
    List.TFAE
      [BLPSolves 𝔸 𝔹,
       βˆ€ n : β„•, 0 < n β†’ βˆƒ f : (Fin n β†’ A) β†’ B, IsPolymorphism 𝔸 𝔹 f ∧ IsSymmetric f,
       βˆƒ ΞΎ, AlgebraicPCSP.Theory.IsMinionHom convexMinion (AlgebraicPCSP.Theory.Pol 𝔸 𝔹 h) ΞΎ,
       βˆƒ S : Finset LinIneq,
         PPConstructible (Template.of (QconvReduct S) (QconvReduct S) (fun ΞΉ => ΞΉ.val.k_pos))
           (Template.of 𝔸 𝔹 har)] := by sorry

end AlgebraicPCSP.BLP
Source
L. Barto, J. BulΓ­n, A. Krokhin, J. OprΕ‘al, Algebraic approach to promise constraint satisfaction, arXiv:1811.00970v3, p. 46, Theorem 7.9
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