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!
==Example of conversion== To illustrate how one can convert a natural deduction to the axiomatic form of proof, we apply it to the tautology ''Q''β((''Q''β''R'')β''R''). In practice, it is usually enough to know that we could do this. We normally use the natural-deductive form in place of the much longer axiomatic proof. First, we write a proof using a natural-deduction like method: :*''Q'' 1. hypothesis :**''Q''β''R'' 2. hypothesis :**''R'' 3. modus ponens 1,2 :*(''Q''β''R'')β''R'' 4. deduction from 2 to 3 *''Q''β((''Q''β''R'')β''R'') 5. deduction from 1 to 4 QED Second, we convert the inner deduction to an axiomatic proof: *(''Q''β''R'')β(''Q''β''R'') 1. theorem schema (''A''β''A'') *((''Q''β''R'')β(''Q''β''R''))β(((''Q''β''R'')β''Q'')β((''Q''β''R'')β''R'')) 2. axiom 2 *((''Q''β''R'')β''Q'')β((''Q''β''R'')β''R'') 3. modus ponens 1,2 *''Q''β((''Q''β''R'')β''Q'') 4. axiom 1 **''Q'' 5. hypothesis **(''Q''β''R'')β''Q'' 6. modus ponens 5,4 **(''Q''β''R'')β''R'' 7. modus ponens 6,3 *''Q''β((''Q''β''R'')β''R'') 8. deduction from 5 to 7 QED Third, we convert the outer deduction to an axiomatic proof: *(''Q''β''R'')β(''Q''β''R'') 1. theorem schema (''A''β''A'') *((''Q''β''R'')β(''Q''β''R''))β(((''Q''β''R'')β''Q'')β((''Q''β''R'')β''R'')) 2. axiom 2 *((''Q''β''R'')β''Q'')β((''Q''β''R'')β''R'') 3. modus ponens 1,2 *''Q''β((''Q''β''R'')β''Q'') 4. axiom 1 *[((''Q''β''R'')β''Q'')β((''Q''β''R'')β''R'')]β[''Q''β(((''Q''β''R'')β''Q'')β((''Q''β''R'')β''R''))] 5. axiom 1 *''Q''β(((''Q''β''R'')β''Q'')β((''Q''β''R'')β''R'')) 6. modus ponens 3,5 *[''Q''β(((''Q''β''R'')β''Q'')β((''Q''β''R'')β''R''))]β([''Q''β((''Q''β''R'')β''Q'')]β[''Q''β((''Q''β''R'')β''R''))]) 7. axiom 2 *[''Q''β((''Q''β''R'')β''Q'')]β[''Q''β((''Q''β''R'')β''R''))] 8. modus ponens 6,7 *''Q''β((''Q''β''R'')β''R'')) 9. modus ponens 4,8 QED {{anchor|Using the CurryβHoward correspondence}}These three steps can be stated succinctly using the [[CurryβHoward correspondence]]: *first, in lambda calculus, the function f = Ξ»a. Ξ»b. b a has type ''q'' β (''q'' β ''r'') β ''r'' *second, by [[lambda elimination]] on b, f = Ξ»a. s i (k a) *third, by lambda elimination on a, f = s (k (s i)) k
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)