Appendix 2 — Propositional translation
ProvedLawsOfForm.propositional_translationTranslation of finite formulas built from atoms, negation, disjunction, conjunction and material implication into forms preserves truth for every Boolean valuation. The convention is marked=true, unmarked=false.
import Definitions.Def_LawsOfForm_Logic set_option autoImplicit false
namespace LawsOfForm theorem propositional_translation (p : Proposition) (ρ : Nat → Bool) : eval ρ (encode p) = truth ρ p := by sorry end LawsOfForm
Read-back
What the Lean code literally says, in plain math · Codex (GPT-6)
For every finite propositional formula built from atoms indexed by natural numbers using unary negation and binary disjunction , conjunction , and implication , and every assignment , the Boolean equality holds. Here the target expressions are finite expressions built from a blank symbol , variables for , a unary constructor , and a binary constructor ; their evaluation is defined by , , , and . The truth evaluation of propositional formulas is defined by , , , , and , where negation, disjunction, and conjunction on evaluation results are the ordinary Boolean operations. The translation is defined by , , , , and . The assertion has no additional hypotheses: it includes a single atom, atoms indexed by , repeated atoms and subformulas, arbitrary finite nesting, and every assignment, including the constantly false and constantly true assignments, with no restriction on indices or on values assigned to atoms absent from ; this propositional syntax has no primitive truth or falsehood constants and no empty or infinite formulas, and its translation never produces the blank constructor.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.