Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 7.9, p. 48 — a symmetric polymorphism of arity ℓ gives a homomorphism LP_ℓ(A) → B

Proved
AlgebraicPCSP.BLP.h_ell_hom

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

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

Let (A,B)(\mathbf A,\mathbf B)(A,B) be similar structures with AAA finite, and let ℓ≥1\ell\ge 1ℓ≥1. If Pol(A,B)\mathrm{Pol}(\mathbf A,\mathbf B)Pol(A,B) contains a symmetric function sℓs_\ellsℓ​ of arity ℓ\ellℓ, i.e. a polymorphism with

sℓ(xπ(1),…,xπ(ℓ))=sℓ(x1,…,xℓ)for every permutation π of [ℓ],s_\ell(x_{\pi(1)},\dots,x_{\pi(\ell)})=s_\ell(x_1,\dots,x_\ell)\quad\text{for every permutation }\pi\text{ of }[\ell],sℓ​(xπ(1)​,…,xπ(ℓ)​)=sℓ​(x1​,…,xℓ​)for every permutation π of [ℓ],

then LPℓ(A)\mathrm{LP}_\ell(\mathbf A)LPℓ​(A) maps homomorphically to B\mathbf BB.

In the paper the homomorphism is hℓ(ϕ)=sℓ(a1,…,aℓ)h_\ell(\phi)=s_\ell(a_1,\dots,a_\ell)hℓ​(ϕ)=sℓ​(a1​,…,aℓ​), where each a∈Aa\in Aa∈A appears exactly ϕ(a)ℓ\phi(a)\ellϕ(a)ℓ times among a1,…,aℓa_1,\dots,a_\ella1​,…,aℓ​. Since every finite substructure of LP(A)\mathrm{LP}(\mathbf A)LP(A) is a substructure of some LPℓ(A)\mathrm{LP}_\ell(\mathbf A)LPℓ​(A), this step together with compactness yields LP(A)→B\mathrm{LP}(\mathbf A)\to\mathbf BLP(A)→B, and hence item (1) of Theorem 7.9, from item (2).

Formalization Note Only the existence of the homomorphism is asserted, which is what the sentence "every LPℓ(A)\mathrm{LP}_\ell(\mathbf A)LPℓ​(A) maps homomorphically to B\mathbf BB" states.

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

open PCSPBLPAff.Symmetric

/-- Proof of Theorem 7.9, p. 48 (arXiv:1811.00970v3): for `ℓ ≥ 1`, if `Pol(𝔸, 𝔹)` contains a
symmetric function `s_ℓ` of arity `ℓ`, then `LP_ℓ(𝔸)` maps homomorphically to `𝔹` (the paper's
`h_ℓ(ϕ) = s_ℓ(a₁, …, a_ℓ)`, each `a` appearing `ϕ(a)ℓ` times, is such a homomorphism). -/
theorem h_ell_hom {τ : Type} {ar : τ → ℕ} {A B : Type} [Fintype A] [DecidableEq A]
    (𝔸 : RelStruct τ ar A) (𝔹 : RelStruct τ ar B) (ℓ : ℕ) (hℓ : 0 < ℓ)
    (hs : ∃ s : (Fin ℓ → A) → B, IsPolymorphism 𝔸 𝔹 s ∧ IsSymmetric s) :
    ∃ h : LPellDist A ℓ → B, IsHom (LPell 𝔸 ℓ) 𝔹 h := 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. 48, proof of Theorem 7.9 (definition of h_ℓ : LP_ℓ(A) → B)
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