Description: Theorem 5.13 of Clemente p. 20, translated line by line using the interpretation of natural deduction in Metamath. For information about ND and Metamath, see the page on Deduction Form and Natural Deduction in Metamath Proof Explorer. A much more efficient proof, using more of Metamath and MPE's capabilities, is shown in ex-natded5.13-2 . The original proof, which uses Fitch style, was written as follows (the leading "..." shows an embedded ND hypothesis, beginning with the initial assumption of the ND hypothesis):
# | MPE# | ND Expression | MPE Translation | ND Rationale | MPE Rationale |
---|---|---|---|---|---|
1 | 15 | ( ps \/ ch ) | ( ph -> ( ps \/ ch ) ) | Given | $e. |
2;3 | 2 | ( ps -> th ) | ( ph -> ( ps -> th ) ) | Given | $e. adantr to move it into the ND hypothesis |
3 | 9 | ( -. ta -> -. ch ) | ( ph -> ( -. ta -> -. ch ) ) | Given | $e. ad2antrr to move it into the ND sub-hypothesis |
4 | 1 | ...| ps | ( ( ph /\ ps ) -> ps ) | ND hypothesis assumption | simpr |
5 | 4 | ... th | ( ( ph /\ ps ) -> th ) | ->E 2,4 | mpd 1,3 |
6 | 5 | ... ( th \/ ta ) | ( ( ph /\ ps ) -> ( th \/ ta ) ) | \/I 5 | orcd 4 |
7 | 6 | ...| ch | ( ( ph /\ ch ) -> ch ) | ND hypothesis assumption | simpr |
8 | 8 | ... ...| -. ta | ( ( ( ph /\ ch ) /\ -. ta ) -> -. ta ) | (sub) ND hypothesis assumption | simpr |
9 | 11 | ... ... -. ch | ( ( ( ph /\ ch ) /\ -. ta ) -> -. ch ) | ->E 3,8 | mpd 8,10 |
10 | 7 | ... ... ch | ( ( ( ph /\ ch ) /\ -. ta ) -> ch ) | IT 7 | adantr 6 |
11 | 12 | ... -. -. ta | ( ( ph /\ ch ) -> -. -. ta ) | -.I 8,9,10 | pm2.65da 7,11 |
12 | 13 | ... ta | ( ( ph /\ ch ) -> ta ) | -.E 11 | notnotrd 12 |
13 | 14 | ... ( th \/ ta ) | ( ( ph /\ ch ) -> ( th \/ ta ) ) | \/I 12 | olcd 13 |
14 | 16 | ( th \/ ta ) | ( ph -> ( th \/ ta ) ) | \/E 1,6,13 | mpjaodan 5,14,15 |
The original used Latin letters; we have replaced them with Greek letters to follow Metamath naming conventions and so that it is easier to follow the Metamath translation. The Metamath line-for-line translation of this natural deduction approach precedes every line with an antecedent including ph and uses the Metamath equivalents of the natural deduction rules. To add an assumption, the antecedent is modified to include it (typically by using adantr ; simpr is useful when you want to depend directly on the new assumption). (Contributed by Mario Carneiro, 9-Feb-2017) (Proof modification is discouraged.) (New usage is discouraged.)
Ref | Expression | ||
---|---|---|---|
Hypotheses | ex-natded5.13.1 | |- ( ph -> ( ps \/ ch ) ) |
|
ex-natded5.13.2 | |- ( ph -> ( ps -> th ) ) |
||
ex-natded5.13.3 | |- ( ph -> ( -. ta -> -. ch ) ) |
||
Assertion | ex-natded5.13 | |- ( ph -> ( th \/ ta ) ) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | ex-natded5.13.1 | |- ( ph -> ( ps \/ ch ) ) |
|
2 | ex-natded5.13.2 | |- ( ph -> ( ps -> th ) ) |
|
3 | ex-natded5.13.3 | |- ( ph -> ( -. ta -> -. ch ) ) |
|
4 | simpr | |- ( ( ph /\ ps ) -> ps ) |
|
5 | 2 | adantr | |- ( ( ph /\ ps ) -> ( ps -> th ) ) |
6 | 4 5 | mpd | |- ( ( ph /\ ps ) -> th ) |
7 | 6 | orcd | |- ( ( ph /\ ps ) -> ( th \/ ta ) ) |
8 | simpr | |- ( ( ph /\ ch ) -> ch ) |
|
9 | 8 | adantr | |- ( ( ( ph /\ ch ) /\ -. ta ) -> ch ) |
10 | simpr | |- ( ( ( ph /\ ch ) /\ -. ta ) -> -. ta ) |
|
11 | 3 | ad2antrr | |- ( ( ( ph /\ ch ) /\ -. ta ) -> ( -. ta -> -. ch ) ) |
12 | 10 11 | mpd | |- ( ( ( ph /\ ch ) /\ -. ta ) -> -. ch ) |
13 | 9 12 | pm2.65da | |- ( ( ph /\ ch ) -> -. -. ta ) |
14 | 13 | notnotrd | |- ( ( ph /\ ch ) -> ta ) |
15 | 14 | olcd | |- ( ( ph /\ ch ) -> ( th \/ ta ) ) |
16 | 7 15 1 | mpjaodan | |- ( ph -> ( th \/ ta ) ) |