Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Deduction theorem
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Conversion from proof using the deduction meta-theorem to axiomatic proof== In axiomatic versions of propositional logic, one usually has among the [[axiom schema]]s (where ''P'', ''Q'', and ''R'' are replaced by any propositions): *Axiom 1 is: ''P''β(''Q''β''P'') *Axiom 2 is: (''P''β(''Q''β''R''))β((''P''β''Q'')β(''P''β''R'')) *Modus ponens is: from ''P'' and ''P''β''Q'' infer ''Q'' These axiom schemas are chosen to enable one to derive the deduction theorem from them easily. So it might seem that we are begging the question. However, they can be justified by checking that they are [[tautology (logic)|tautologies]] using truth tables and that modus ponens preserves truth. From these axiom schemas one can quickly deduce the theorem schema ''P''β''P'' (reflexivity of implication), which is used below: # (''P''β((''Q''β''P'')β''P''))β((''P''β(''Q''β''P''))β(''P''β''P'')) from axiom schema 2 with ''P'', (''Q''β''P''), ''P'' # ''P''β((''Q''β''P'')β''P'') from axiom schema 1 with ''P'', (''Q''β''P'') # (''P''β(''Q''β''P''))β(''P''β''P'') from modus ponens applied to step 2 and step 1 # ''P''β(''Q''β''P'') from axiom schema 1 with ''P'', ''Q'' # ''P''β''P'' from modus ponens applied to step 4 and step 3 Suppose that we have that Ξ and ''H'' together prove ''C'', and we wish to show that Ξ proves ''H''β''C''. For each step ''S'' in the deduction that is a premise in Ξ (a reiteration step) or an axiom, we can apply modus ponens to the axiom 1, ''S''β(''H''β''S''), to get ''H''β''S''. If the step is ''H'' itself (a hypothesis step), we apply the theorem schema to get ''H''β''H''. If the step is the result of applying modus ponens to ''A'' and ''A''β''S'', we first make sure that these have been converted to ''H''β''A'' and ''H''β(''A''β''S'') and then we take the axiom 2, (''H''β(''A''β''S''))β((''H''β''A'')β(''H''β''S'')), and apply modus ponens to get (''H''β''A'')β(''H''β''S'') and then again to get ''H''β''S''. At the end of the proof we will have ''H''β''C'' as required, except that now it only depends on Ξ, not on ''H''. So the deduction step will disappear, consolidated into the previous step which was the conclusion derived from ''H''. To minimize the complexity of the resulting proof, some preprocessing should be done before the conversion. Any steps (other than the conclusion) that do not actually depend on ''H'' should be moved up before the hypothesis step and unindented one level. And any other unnecessary steps (which are not used to get the conclusion or can be bypassed), such as reiterations that are not the conclusion, should be eliminated. During the conversion, it may be useful to put all the applications of modus ponens to axiom 1 at the beginning of the deduction (right after the ''H''β''H'' step). When converting a modus ponens, if ''A'' is outside the scope of ''H'', then it will be necessary to apply axiom 1, ''A''β(''H''β''A''), and modus ponens to get ''H''β''A''. Similarly, if ''A''β''S'' is outside the scope of ''H'', apply axiom 1, (''A''β''S'')β(''H''β(''A''β''S'')), and modus ponens to get ''H''β(''A''β''S''). It should not be necessary to do both of these, unless the modus ponens step is the conclusion, because if both are outside the scope, then the modus ponens should have been moved up before ''H'' and thus be outside the scope also. Under the [[CurryβHoward correspondence]], the above conversion process for the deduction [[meta-theorem]] is analogous to the [[Combinatory logic#Completeness of the S-K basis|conversion process]] from [[lambda calculus]] terms to terms of [[combinatory logic]], where axiom 1 corresponds to the K combinator, and axiom 2 corresponds to the S combinator. Note that the I combinator corresponds to the theorem schema ''P''β''P''.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)