Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 2, p. 6 — if X is satisfiable in A, the BLP+Affine algorithm accepts

Proved
PCSPBLPAff.Symmetric.completeness

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

affine-relaxationbasic-lpp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1promise-csp

Let A\mathbf AA be a structure on a finite domain AAA and XXX an instance of the same signature. If XXX is satisfiable in A\mathbf AA, then the BLP+Affine algorithm accepts XXX:

X satisfiable in A ⟹ LPQ(X,A) has a maximal-support solution (w,p) and AffZ′(X,A)≠∅.X \text{ satisfiable in } \mathbf A\ \Longrightarrow\ \mathrm{LP}_{\mathbb Q}(X,\mathbf A) \text{ has a maximal-support solution } (w,p) \text{ and } \mathrm{Aff}'_{\mathbb Z}(X,\mathbf A)\neq\emptyset.X satisfiable in A ⟹ LPQ​(X,A) has a maximal-support solution (w,p) and AffZ′​(X,A)=∅.

This is the completeness half of Definition 1, and it holds for every template: no polymorphism is involved.

Preamble
import Mathlib
import Definitions.Def_PCSPBLPAff_Symmetric_Setting
Formal statement
namespace PCSPBLPAff.Symmetric

/-- Proof of Theorem 2, p. 6, first paragraph: if `X` is satisfiable in `𝔸`, the BLP+Affine
algorithm accepts `X`. -/
theorem completeness {τ : Type} {ar : τ → ℕ} {A : Type} [Fintype A] [DecidableEq A]
    (𝔸 : RelStruct τ ar A) (X : Instance τ ar) (hX : SatIn X 𝔸) :
    Accepts 𝔸 X := by sorry

end PCSPBLPAff.Symmetric
Source
arXiv:1907.04383v3, proof of Theorem 2, p. 6, first paragraph
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