Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Consequences 1–8 — Primary algebra

Proved
LawsOfForm.primary_consequences

by FiniteUniverse · Sep 7, 2026 · Mathlib 0df444a (Lean v4.33.1)

laws-of-formlogic

All eight displayed primary-algebra consequences hold as syntactic derivations from position J1 and transposition J2: reflexion, generation, integration, occultation, iteration, extension, echelon, and modified transposition. Variables range over arbitrary finite expressions; no semantic-equality rule is admitted.

Preamble
import Definitions.Def_LawsOfForm_Algebra

set_option autoImplicit false
Formal statement
namespace LawsOfForm
theorem primary_consequences (a b c r : Expr) :
  Algebra (Expr.cross (Expr.cross a)) a ∧
  Algebra (Expr.beside (Expr.cross (Expr.beside a b)) b) (Expr.beside (Expr.cross a) b) ∧
  Algebra (Expr.beside eMarked a) eMarked ∧
  Algebra (Expr.beside (Expr.cross (Expr.beside (Expr.cross a) b)) a) a ∧
  Algebra (Expr.beside a a) a ∧
  Algebra (Expr.beside (Expr.cross (Expr.beside (Expr.cross a) (Expr.cross b))) (Expr.cross (Expr.beside (Expr.cross a) b))) a ∧
  Algebra (Expr.cross (Expr.beside (Expr.cross (Expr.beside (Expr.cross a) b)) c)) (Expr.beside (Expr.cross (Expr.beside a c)) (Expr.cross (Expr.beside (Expr.cross b) c))) ∧
  Algebra (Expr.cross (Expr.beside (Expr.cross a) (Expr.beside (Expr.cross (Expr.beside b r)) (Expr.cross (Expr.beside c r))))) (Expr.beside (Expr.cross (Expr.beside (Expr.cross a) (Expr.beside (Expr.cross b) (Expr.cross c)))) (Expr.cross (Expr.beside (Expr.cross a) (Expr.cross r)))) := by sorry
end LawsOfForm
Source
G. Spencer-Brown, Laws of Form, Julian Press, New York, first American edition, 1972. Page authority: complete user-supplied G-Spencer-Brown-Laws-of-Form.pdf, SHA-256 1d1112350b9cf616a52bd406284f05a7fa8efe54dab6cbd37b21c005ba3928eb. Printed p = one-based PDF p+24. Edition record: https://openlibrary.org/books/OL5299727M/Laws_of_form. Chapter 6, Consequences C1–C8, printed pp. 28–34 (PDF pp. 52–58).
Read-back

What the Lean code literally says, in plain math · Codex (GPT-6)

Let EEE be the set of finite formal expressions generated by a blank symbol BBB, variables xnx_nxn​ for every natural number n≥0n\geq 0n≥0, a unary constructor CCC, and a binary constructor ⊕\oplus⊕; write M=C(B)M=C(B)M=C(B). Define p≈qp\approx qp≈q to be the least equivalence relation on EEE preserved by CCC, by either argument of ⊕\oplus⊕, and by every simultaneous substitution σ:N→E\sigma:\mathbb N\to Eσ:N→E, where substitution fixes BBB, sends xnx_nxn​ to σ(n)\sigma(n)σ(n), and acts recursively through CCC and ⊕\oplus⊕. This relation contains, for every u,v,w∈Eu,v,w\in Eu,v,w∈E, the pairs (u⊕v)⊕w≈u⊕(v⊕w)(u\oplus v)\oplus w\approx u\oplus(v\oplus w)(u⊕v)⊕w≈u⊕(v⊕w), u⊕v≈v⊕uu\oplus v\approx v\oplus uu⊕v≈v⊕u, B⊕u≈uB\oplus u\approx uB⊕u≈u, C(C(u)⊕u)≈BC(C(u)\oplus u)\approx BC(C(u)⊕u)≈B, and C(C(u⊕w)⊕C(v⊕w))≈C(C(u)⊕C(v))⊕wC(C(u\oplus w)\oplus C(v\oplus w))\approx C(C(u)\oplus C(v))\oplus wC(C(u⊕w)⊕C(v⊕w))≈C(C(u)⊕C(v))⊕w. Then, for every a,b,c,r∈Ea,b,c,r\in Ea,b,c,r∈E, all eight of the following relations hold simultaneously, with no additional hypotheses; in particular, the expressions may coincide, may be blank, may contain no variables, or may contain variables of any natural-number index, including zero:

C(C(a))≈a,C(a⊕b)⊕b≈C(a)⊕b,M⊕a≈M,C(C(a)⊕b)⊕a≈a,a⊕a≈a,C(C(a)⊕C(b))⊕C(C(a)⊕b)≈a,C(C(C(a)⊕b)⊕c)≈C(a⊕c)⊕C(C(b)⊕c),C(C(a)⊕(C(b⊕r)⊕C(c⊕r)))≈C(C(a)⊕(C(b)⊕C(c)))⊕C(C(a)⊕C(r)).\begin{aligned} C(C(a))&\approx a,\\ C(a\oplus b)\oplus b&\approx C(a)\oplus b,\\ M\oplus a&\approx M,\\ C(C(a)\oplus b)\oplus a&\approx a,\\ a\oplus a&\approx a,\\ C(C(a)\oplus C(b))\oplus C(C(a)\oplus b)&\approx a,\\ C(C(C(a)\oplus b)\oplus c)&\approx C(a\oplus c)\oplus C(C(b)\oplus c),\\ C\bigl(C(a)\oplus(C(b\oplus r)\oplus C(c\oplus r))\bigr)&\approx C\bigl(C(a)\oplus(C(b)\oplus C(c))\bigr)\oplus C(C(a)\oplus C(r)). \end{aligned}C(C(a))C(a⊕b)⊕bM⊕aC(C(a)⊕b)⊕aa⊕aC(C(a)⊕C(b))⊕C(C(a)⊕b)C(C(C(a)⊕b)⊕c)C(C(a)⊕(C(b⊕r)⊕C(c⊕r)))​≈a,≈C(a)⊕b,≈M,≈a,≈a,≈a,≈C(a⊕c)⊕C(C(b)⊕c),≈C(C(a)⊕(C(b)⊕C(c)))⊕C(C(a)⊕C(r)).​
Human review
  • Endorsed by Shuze Chen · Nov 18, 2026

    Confirmed by the moderator at approval.

  • Endorsed by FiniteUniverse · Nov 18, 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