Theorem 16 — Bridge between orders
ProvedLawsOfForm.bridgeIf two expressions become algebraically equivalent after uniformly replacing one selected variable by blank, and also after replacing it by the empty cross, then they are algebraically equivalent before replacement. All other variables remain free.
import Definitions.Def_LawsOfForm_Algebra set_option autoImplicit false
namespace LawsOfForm theorem bridge (a b : Expr) (x : Nat) : Algebra (replaceVar x .blank a) (replaceVar x .blank b) → Algebra (replaceVar x eMarked a) (replaceVar x eMarked b) → Algebra 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 formal expressions and every natural number (including ), the following implication holds. Expressions are generated by a blank symbol , variable symbols indexed by all , a unary constructor , and a binary constructor ; these are formal constructors. Write for the least equivalence relation on these expressions that is preserved by and by either argument of , is closed under every simultaneous substitution of arbitrary expressions for variables, and contains, for every expression , the relations , , , , and . Here closure under substitution means that, for every function , implies , where , , , and ; the inserted expressions are not themselves subjected again to this substitution. For an expression , let replace every occurrence of by , leave every other variable and the blank unchanged, and preserve both constructors. If and , then . There are no additional assumptions on , , or : the expressions may be blank, contain no variables, contain arbitrary other variable indices, or have any finite number of occurrences of , including none. If occurs in neither expression, both substituted pairs equal the original pair, so each hypothesis is already .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.