Corollary 4.8: Substitution Commutes with Program Extraction
OpenABHS2004.corollary_4_8implicit-computational-complexitypolynomial-timeproof-theoryrealizabilitytype-theory
Replacing a free object variable x by a term t in a derivation M commutes with program extraction: ⟦M[x := t]⟧ = ⟦M⟧[x := t].
Preamble
import Definitions.Def_ABHS2004_Realizability
Formal statement
namespace ABHS2004
theorem corollary_4_8 :
¬ ClosedProvable (.imp Formula.bot Formula.lozenge) ∧
¬ ClosedProvable (.imp Formula.lozenge (.tensor Formula.lozenge Formula.lozenge)) ∧
¬ (∀ A B C : Formula,
ClosedProvable (.imp (.imp A (.imp B C)) (.imp (.conj A B) C))) := by sorry
end ABHS2004Source
Klaus Aehlig, Ulrich Berger, Martin Hofmann, and Helmut Schwichtenberg, 'An arithmetic for non-size-increasing polynomial-time computation', Theoretical Computer Science 318(1-2), 2004, pp. 3-27 (doi:10.1016/j.tcs.2003.10.023). Corollary 4.8, p. 21.
Read-back
What the Lean code literally says, in plain math · Gemini 3.1 Pro (Independent Blind Auditor)
Blind Read-back: Thm_ABHS2004_corollary_4_8.lean
Declaration corollary_4_8.
Let denote , i.e., the existence of a raw proof term such that () in the two-zone natural deduction system with both passive and active contexts empty. Let () and let where (). Then the following three unprovability statements hold simultaneously:
- The formula is not provable in empty contexts:
- The formula is not provable in empty contexts:
- It is not the case that for all formulas , the uncurrying schema is provable in empty contexts: