Consequences 1–8 — Primary algebra
ProvedLawsOfForm.primary_consequencesAll 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.
import Definitions.Def_LawsOfForm_Algebra set_option autoImplicit false
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
Read-back
What the Lean code literally says, in plain math · Codex (GPT-6)
Let be the set of finite formal expressions generated by a blank symbol , variables for every natural number , a unary constructor , and a binary constructor ; write . Define to be the least equivalence relation on preserved by , by either argument of , and by every simultaneous substitution , where substitution fixes , sends to , and acts recursively through and . This relation contains, for every , the pairs , , , , and . Then, for every , 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:
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.