Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 4.11 — (A₂, F_M(A₂)) is a relaxation of a pp-power of (A₁, B₁), M = Pol(A₁, B₁)

Proved
AlgebraicPCSP.Theory.lemma_4_11

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

free-structureminionsp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1pp-constructionspromise-csp

Let (A1,B1)(\mathbf A_1,\mathbf B_1)(A1​,B1​) be a PCSP template of finite structures, M=Pol(A1,B1)\mathcal M=\mathrm{Pol}(\mathbf A_1,\mathbf B_1)M=Pol(A1​,B1​), and A2\mathbf A_2A2​ a finite relational structure with nonempty relations (finite signatures, arities ≥1\ge1≥1, nonempty finite domains). Then the template (A2,FM(A2))(\mathbf A_2,F_{\mathcal M}(\mathbf A_2))(A2​,FM​(A2​)) is a relaxation of a pp-power of (A1,B1)(\mathbf A_1,\mathbf B_1)(A1​,B1​): for some NNN there is an NNN-th pp-power (A′,B′)(\mathbf A',\mathbf B')(A′,B′) of (A1,B1)(\mathbf A_1,\mathbf B_1)(A1​,B1​) in the signature of A2\mathbf A_2A2​ and homomorphisms

hA:A2→A′,hB:B′→FM(A2).h_A:\mathbf A_2\to\mathbf A',\qquad h_B:\mathbf B'\to F_{\mathcal M}(\mathbf A_2).hA​:A2​→A′,hB​:B′→FM​(A2​).

Combined with a homomorphism FM(A2)→B2F_{\mathcal M}(\mathbf A_2)\to\mathbf B_2FM​(A2​)→B2​ this is the step (4) ⇒ (5) of Theorem 4.12. The free structure is built from fixed enumerations of A2A_2A2​ and of the relations of A2\mathbf A_2A2​.

Formalization Note The exponent NNN is existentially quantified, as in the lemma ("a pp-power"); the proof uses N=∣A1∣∣A2∣N=|A_1|^{|A_2|}N=∣A1​∣∣A2​∣. Nonemptiness of A1A_1A1​ and A2A_2A2​ (the field's standing convention) is needed: for A2=∅A_2=\emptysetA2​=∅ and nonempty B1B_1B1​, a pp-power has a nonempty B′B'B′, which cannot map to the empty universe of FM(A2)F_{\mathcal M}(\mathbf A_2)FM​(A2​). Every relation of A2\mathbf A_2A2​ is also assumed nonempty, which the paper does not state but needs: if RA2=∅R^{\mathbf A_2}=\emptysetRA2​=∅ then RFM(A2)=∅R^{F_{\mathcal M}(\mathbf A_2)}=\emptysetRFM​(A2​)=∅ (a minion has no nullary members), while for A1=B1\mathbf A_1=\mathbf B_1A1​=B1​ a one-point loop every pp-formula holds on B′\mathbf B'B′, so RB′≠∅R^{\mathbf B'}\neq\emptysetRB′=∅ has nowhere to go and the lemma fails.

Preamble
import Mathlib
import Definitions.Def_PCSPBLPAff_Symmetric_Setting
import Definitions.Def_AlgebraicPCSP_Theory_Minion
import Definitions.Def_AlgebraicPCSP_Theory_MinorCondition
import Definitions.Def_AlgebraicPCSP_Theory_PPConstruction

open PCSPBLPAff.Symmetric
Formal statement
namespace AlgebraicPCSP.Theory

/-- Lemma 4.11 (arXiv:1811.00970v3, p. 26). Let `(𝔸₁, 𝔹₁)` be a PCSP template,
`M = Pol(𝔸₁, 𝔹₁)`, and `𝔸₂` a finite relational structure. Then the template `(𝔸₂, F_M(𝔸₂))` is a
relaxation of a pp-power of `(𝔸₁, 𝔹₁)`: for some `N` there is an `N`-th pp-power
`(𝔸', 𝔹')` of `(𝔸₁, 𝔹₁)`, in the signature of `𝔸₂`, of which `(𝔸₂, F_M(𝔸₂))` is a homomorphic
relaxation.

Every relation of `𝔸₂` is assumed nonempty (`hne`). The page does not say so, but without it the
lemma is false: for `𝔸₁ = 𝔹₁` a one-point loop and `𝔸₂` a one-point structure with an empty unary
relation `R`, `R^{F_M(𝔸₂)} = ∅` (minions have no nullary members), while every pp-formula holds on
the one-point loop, so `R^{𝔹'} ≠ ∅` cannot map into it. -/
theorem lemma_4_11 {τ₁ τ₂ : Type} [Fintype τ₁] [Fintype τ₂]
    {ar₁ : τ₁ → ℕ} {ar₂ : τ₂ → ℕ} (har₁ : ∀ R, 0 < ar₁ R) (har₂ : ∀ R, 0 < ar₂ R)
    {A₁ B₁ A₂ : Type} [Fintype A₁] [DecidableEq A₁] [Nonempty A₁] [Fintype B₁] [DecidableEq B₁] [Nonempty B₁]
    [Fintype A₂] [DecidableEq A₂] [Nonempty A₂]
    (𝔸₁ : RelStruct τ₁ ar₁ A₁) (𝔹₁ : RelStruct τ₁ ar₁ B₁) (h₁ : IsPromiseTemplate 𝔸₁ 𝔹₁)
    (𝔸₂ : RelStruct τ₂ ar₂ A₂) (hne : ∀ R, (𝔸₂.rel R).Nonempty)
    {n : ℕ} (e : Fin n ≃ A₂) (m : τ₂ → ℕ) (eR : (R : τ₂) → Fin (m R) ≃ 𝔸₂.rel R) :
    ∃ (N : ℕ) (𝔸' : RelStruct τ₂ ar₂ (Fin N → A₁)) (𝔹' : RelStruct τ₂ ar₂ (Fin N → B₁)),
      IsPPPower N 𝔸₁ 𝔹₁ 𝔸' 𝔹' ∧
        IsRelaxation 𝔸' 𝔹' 𝔸₂ (freeStructure (Pol 𝔸₁ 𝔹₁ h₁) 𝔸₂ e m eR) := by sorry

end AlgebraicPCSP.Theory
Source
L. Barto, J. Bulín, A. Krokhin, J. Opršal, Algebraic approach to promise constraint satisfaction, arXiv:1811.00970v3, p. 26, Lemma 4.11
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