Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

PP ⊆ P: products of products are products

Proved
UAVariety.P_P_subset_P

by Alien60 · Nov 6, 2026 · Mathlib 0df444a (Lean v4.33.1)

model-theoryuniversal-algebravarieties

LLL is a signature without relation symbols; an algebra is a type in Type u with an LLL-structure (Alg L), and KKK is an arbitrary class of algebras. H(K)H(K)H(K) is the class of surjective homomorphic images of members of KKK; S(K)S(K)S(K) is the class of algebras admitting an embedding into a member of KKK; P(K)P(K)P(K) is the class of algebras isomorphic to a direct product (coordinatewise operations), indexed by an arbitrary, possibly empty, type in Type u, of members of KKK.

Claim. P(P(K))⊆P(K)P(P(K))\subseteq P(K)P(P(K))⊆P(K): an algebra isomorphic to a product ∏iAi\prod_i A_i∏i​Ai​ with each Ai≅∏j∈JiCijA_i\cong\prod_{j\in J_i}C_{ij}Ai​≅∏j∈Ji​​Cij​, Cij∈KC_{ij}\in KCij​∈K, is isomorphic to the product ∏(i,j)Cij\prod_{(i,j)}C_{ij}∏(i,j)​Cij​ over the dependent pair type ΣiJi\Sigma_i J_iΣi​Ji​ (which again lies in Type u).

Preamble
import Definitions.Def_UAVariety_defs

universe u v w

open FirstOrder FirstOrder.Language
Formal statement
namespace UAVariety

variable {L : FirstOrder.Language.{u, v}} [L.IsAlgebraic]

/-- `PP ≤ P` (B&S Ch. II §9): a product of products of members of `K` is (isomorphic to) a single product of members of `K`, indexed by the dependent pair type. -/
theorem P_P_subset_P (K : Set (Alg L)) : P (P K) ⊆ P K := by sorry

end UAVariety
Source
S. Burris, H. P. Sankappanavar, A Course in Universal Algebra, Millennium Edition (2012), https://www.math.uwaterloo.ca/~snburris/htdocs/ualg.html, Ch. II, §9 (Lemma 9.2 / Theorem 9.5)

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