Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 6.1 — (S′_m, T′_m) is ppp-definable from (S_m, T_m)

Proved
SymBoolPCSP.Galois.sprime_from_s

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

galois-correspondencep2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1polymorphismspromise-csp

Let DDD be a finite domain, Γ\GammaΓ a finite family of promise relations on DDD, m,k≥0m, k \ge 0m,k≥0, and x1,…,xm∈Dkx^1, \dots, x^m \in D^kx1,…,xm∈Dk. Define y1,…,yk∈Dmy^1, \dots, y^k \in D^my1,…,yk∈Dm by yji=xijy^i_j = x^j_iyji​=xij​, and

Sm′={(f(y1),…,f(yk)):f∈Sm},Tm′={(f(y1),…,f(yk)):f∈Tm},S'_m = \{(f(y^1), \dots, f(y^k)) : f \in S_m\}, \qquad T'_m = \{(f(y^1), \dots, f(y^k)) : f \in T_m\},Sm′​={(f(y1),…,f(yk)):f∈Sm​},Tm′​={(f(y1),…,f(yk)):f∈Tm​},

with Sm,TmS_m, T_mSm​,Tm​ as in Proposition 6.3. Then (Sm′,Tm′)(S'_m, T'_m)(Sm′​,Tm′​) is ppp-definable from the one-relation family {(Sm,Tm)}\{(S_m, T_m)\}{(Sm​,Tm​)}, where functions Dm→DD^m \to DDm→D are listed as vectors of their ∣D∣m|D|^m∣D∣m values.

In the proof of Theorem 6.1 the vectors x1,…,xmx^1, \dots, x^mx1,…,xm enumerate P′P'P′; the statement holds for any vectors. Repeated vectors yi=yjy^i = y^jyi=yj are allowed, which is where the EQUAL relation is used.

Formalization Note The vectors are a function x : Fin m → Fin k → D (x j is xjx^{j}xj, 0-based), and yjiy^i_jyji​ is x j i (yvec). The ordering of the ∣D∣m|D|^m∣D∣m coordinates is any bijection e.

Preamble
import Mathlib
import Definitions.Def_SymBoolPCSP_Galois_Basic
Formal statement
namespace SymBoolPCSP.Galois

open PCSPBLPAff.Symmetric

/-- Proof of Theorem 6.1, p. 28: for vectors `y_1, …, y_k ∈ D^m` (here `(y_i)_j = x j i`), the
promise relation `(S′_m, T′_m)` with `S′_m = {(f(y_1), …, f(y_k)) : f ∈ S_m}` and
`T′_m = {(f(y_1), …, f(y_k)) : f ∈ T_m}` is ppp-definable from the one-relation family
`{(S_m, T_m)}`, functions `D^m → D` being listed as vectors of their `|D|^m` values in the
order `e`. -/
theorem sprime_from_s {τ : Type} [Fintype τ] {ar : τ → ℕ} {D : Type} [Fintype D]
    [DecidableEq D] (𝔸 𝔹 : RelStruct τ ar D) (hΓ : IsPromiseFamily 𝔸 𝔹)
    {k m : ℕ} (x : Fin m → Fin k → D) (e : Fin (Fintype.card (Fin m → D)) ≃ (Fin m → D)) :
    PPPDefinable (single (asTuples e (SL 𝔸 m))) (single (asTuples e (TL 𝔸 𝔹 m)))
      (evalAt x (SL 𝔸 m)) (evalAt x (TL 𝔸 𝔹 m)) := by sorry

end SymBoolPCSP.Galois
Source
J. Brakensiek, V. Guruswami, Promise Constraint Satisfaction: Algebraic Structure and a Symmetric Boolean Dichotomy, arXiv:1704.01937v2, p. 28, proof of Theorem 6.1
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