Appendix 1 — Sheffer’s postulates
ProvedLawsOfForm.sheffer_postulatesWith a|b defined as [ab] and a′ as a|a, the primary algebra has distinct blank and marked classes and satisfies Sheffer’s three equational postulates. Closure is provided by the total expression constructor. The equations are asserted modulo derivability, not literal equality of expression trees.
import Definitions.Def_LawsOfForm_Logic set_option autoImplicit false
namespace LawsOfForm theorem sheffer_postulates : (¬ Algebra .blank eMarked) ∧ (∀ a : Expr, Algebra (prime (prime a)) a) ∧ (∀ a b : Expr, Algebra (stroke a (stroke b (prime b))) (prime a)) ∧ (∀ a b c : Expr, Algebra (prime (stroke a (stroke b c))) (stroke (stroke (prime b) a) (stroke (prime c) a))) := by sorry end LawsOfForm
Read-back
What the Lean code literally says, in plain math · Codex (GPT-6)
Let be the set of all finite expressions freely formed from a blank symbol , variable symbols for every natural number (including ), a unary constructor , and a binary constructor ; parentheses record the binary expression tree. Write when there is a finite derivation from the following rules, and only these rules: reflexivity, symmetry, and transitivity; , , and ; preservation under and under either argument of , so that implies , , and ; the two rules and , both enabled without any additional condition; and simultaneous replacement of variables, meaning that for every map , a derivation of gives a derivation of , where , , , and . All expression letters in these rules range independently over . The marked expression is ; the stroke of is , and the prime of is its stroke with itself, namely . The theorem asserts, without hypotheses, the conjunction of four claims: there is no derivation of ; for every , its double prime is derivably equal to , explicitly ; for every , the stroke of with the stroke of and the prime of is derivably equal to the prime of , explicitly ; and for every , the prime of the stroke of with the stroke of is derivably equal to the stroke of the stroke of the prime of with and the stroke of the prime of with , explicitly . Every quantified expression may be blank, marked, a variable, a term containing no variables, or any finite composite expression; the variables need not be distinct, and no restriction is placed on which variable indices occur. Each displayed concerns derivability under the specified rules, including the first claim's exclusion of every such derivation between the two indicated expressions.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.