Theorem 17 — Completeness of the primary algebra
ProvedLawsOfForm.algebraic_completenessTwo finite expressions are derivably equivalent from the two primary initials exactly when they evaluate equally under every assignment of Boolean values to their variables. Blank evaluates to false, an empty cross to true, crossing to negation, and adjacency to disjunction.
import Definitions.Def_LawsOfForm_Algebra set_option autoImplicit false
namespace LawsOfForm theorem algebraic_completeness (a b : Expr) : Algebra a b ↔ Valid a b := by sorry end LawsOfForm
Read-back
What the Lean code literally says, in plain math · Codex (GPT-6)
For every pair of finite expressions formed from a blank symbol , variables indexed by all natural numbers , a unary operation , and a binary operation , the following equivalence holds: if and only if for every assignment . Here is defined recursively by , , , and . The relation is the smallest equivalence relation on these expressions that is preserved by , by either argument of , and by every simultaneous substitution , and that contains, for every choice of expressions , the pairs specified by , , , , and . Preservation by substitution means that implies , where , , , and ; substitution replaces each original variable by its assigned expression without recursively substituting inside that replacement. Equivalently, means that this pair has a finite derivation using those generating pairs, reflexivity, symmetry, transitivity, preservation by the expression constructors, and substitution. There are no additional hypotheses on or : the assertion includes identical expressions, the blank expression, expressions with no variables, arbitrary repetitions or omissions of variables, and variable index . Assignments range over all natural-number indices, including indices absent from both expressions, and include the constant-false and constant-true assignments.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.