Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 4.4 — homomorphisms F_M(A) → B correspond 1-to-1 to minion homomorphisms M → Pol(A, B)

Disproved
AlgebraicPCSP.Colouring.lemma_4_4

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

free-structureminionsp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1promise-csp

Let M\mathscr MM be a minion and (A,B)(\mathbf A, \mathbf B)(A,B) a PCSP template, where the domain of A\mathbf AA is enumerated as e(1),…,e(n)e(1), \dots, e(n)e(1),…,e(n), and let FM(A)\mathbf F_{\mathscr M}(\mathbf A)FM​(A) be the free structure of M\mathscr MM generated by A\mathbf AA. To a minion homomorphism ξ:M→Pol(A,B)\xi : \mathscr M \to \mathrm{Pol}(\mathbf A, \mathbf B)ξ:M→Pol(A,B) assign the map

cξ:M(n)→B,cξ(f)=ξ(f)(e(1),…,e(n)).c_\xi : \mathscr M^{(n)} \to B, \qquad c_\xi(f) = \xi(f)\big(e(1), \dots, e(n)\big).cξ​:M(n)→B,cξ​(f)=ξ(f)(e(1),…,e(n)).

Then ξ↦cξ\xi \mapsto c_\xiξ↦cξ​ is a one-to-one correspondence between minion homomorphisms M→Pol(A,B)\mathscr M \to \mathrm{Pol}(\mathbf A, \mathbf B)M→Pol(A,B) and homomorphisms FM(A)→B\mathbf F_{\mathscr M}(\mathbf A) \to \mathbf BFM​(A)→B:

  1. for every minion homomorphism ξ\xiξ, the map cξc_\xicξ​ is a homomorphism FM(A)→B\mathbf F_{\mathscr M}(\mathbf A) \to \mathbf BFM​(A)→B;
  2. for every homomorphism c:FM(A)→Bc : \mathbf F_{\mathscr M}(\mathbf A) \to \mathbf Bc:FM​(A)→B there is a minion homomorphism ξ\xiξ with cξ=cc_\xi = ccξ​=c, and every minion homomorphism χ\chiχ with cχ=cc_\chi = ccχ​=c agrees with ξ\xiξ on every member of M\mathscr MM.

The lemma turns the existence of a minion homomorphism into the existence of an ordinary structure homomorphism, which is how Theorem 6.2 produces its minion homomorphism into Pol(H2,HK)\mathrm{Pol}(\mathbf H_2, \mathbf H_K)Pol(H2​,HK​) from a colouring of a hypergraph.

Formalization Note Minion homomorphisms are families of maps whose values outside M\mathscr MM are unconstrained, so "one-to-one" is stated up to agreement on M\mathscr MM: surjectivity is the existence in item 2 and injectivity is its uniqueness clause. No finiteness is assumed of the minion's sets (Remark 4.5 notes the lemma holds for minions on infinite sets); the domain of A\mathbf AA is finite through the enumeration eee.

Preamble
import Mathlib
import Definitions.Def_PCSPBLPAff_Symmetric_Setting
import Definitions.Def_AlgebraicPCSP_Colouring_Minion
import Definitions.Def_AlgebraicPCSP_Colouring_FreeStructure
Formal statement
namespace AlgebraicPCSP.Colouring

open PCSPBLPAff.Symmetric

/-- Lemma 4.4 (arXiv:1811.00970v3, p. 24): for a minion `M` and a PCSP template `(𝔸, 𝔹)` with
the domain of `𝔸` enumerated as `e : Fin n ≃ A`, homomorphisms `F_M(𝔸) → 𝔹` correspond 1-to-1
to minion homomorphisms `M → Pol(𝔸, 𝔹)` (two minion homomorphisms being the same when they
agree on `M`). The correspondence sends `ξ` to `c_ξ : f ↦ ξ(f)(e(1), …, e(n))`:
1. for every minion homomorphism `ξ`, `c_ξ` is a homomorphism `F_M(𝔸) → 𝔹`;
2. every homomorphism `c : F_M(𝔸) → 𝔹` is `c_ξ` for some minion homomorphism `ξ`, and any
   minion homomorphism `χ` with `c_χ = c` agrees with `ξ` on all of `M`. -/
theorem lemma_4_4 {τ : Type} {ar : τ → ℕ} {A B A' B' : Type} {n : ℕ}
    (M : Minion A' B') (𝔸 : RelStruct τ ar A) (𝔹 : RelStruct τ ar B)
    (h : IsPromiseTemplate 𝔸 𝔹) (e : Fin n ≃ A) :
    (∀ ξ : (m : ℕ) → ((Fin m → A') → B') → ((Fin m → A) → B),
        IsMinionHom M (Pol 𝔸 𝔹 h) ξ →
          IsHom (FreeStruct M 𝔸 e) 𝔹 (fun f => ξ n f.1 (fun i => e i))) ∧
    (∀ c : {f // f ∈ M.mem n} → B, IsHom (FreeStruct M 𝔸 e) 𝔹 c →
      ∃ ξ : (m : ℕ) → ((Fin m → A') → B') → ((Fin m → A) → B),
        IsMinionHom M (Pol 𝔸 𝔹 h) ξ ∧
        (∀ f : {f // f ∈ M.mem n}, ξ n f.1 (fun i => e i) = c f) ∧
        ∀ χ : (m : ℕ) → ((Fin m → A') → B') → ((Fin m → A) → B),
          IsMinionHom M (Pol 𝔸 𝔹 h) χ →
          (∀ f : {f // f ∈ M.mem n}, χ n f.1 (fun i => e i) = c f) →
          ∀ (m : ℕ) (g : (Fin m → A') → B'), g ∈ M.mem m → χ m g = ξ m g) := by sorry

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