Description: Theorem 5.5 of Clemente p. 18, translated line by line using the usual translation of natural deduction (ND) in the Metamath Proof Explorer (MPE) notation. For information about ND and Metamath, see the page on Deduction Form and Natural Deduction in Metamath Proof Explorer. 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 | 2;3 | ( ps -> ch ) | ( ph -> ( ps -> ch ) ) | Given | $e; adantr to move it into the ND hypothesis |
2 | 5 | -. ch | ( ph -> -. ch ) | Given | $e; we'll use adantr to move it into the ND hypothesis |
3 | 1 | ...| ps | ( ( ph /\ ps ) -> ps ) | ND hypothesis assumption | simpr |
4 | 4 | ... ch | ( ( ph /\ ps ) -> ch ) | ->E 1,3 | mpd 1,3 |
5 | 6 | ... -. ch | ( ( ph /\ ps ) -> -. ch ) | IT 2 | adantr 5 |
6 | 7 | -. ps | ( ph -> -. ps ) | /\I 3,4,5 | pm2.65da 4,6 |
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). Below is the final Metamath proof (which reorders some steps).
A much more efficient proof is mtod ; a proof without context is shown in mto .
(Contributed by David A. Wheeler, 19-Feb-2017) (Proof modification is discouraged.) (New usage is discouraged.)
Ref | Expression | ||
---|---|---|---|
Hypotheses | ex-natded5.5.1 | ⊢ ( 𝜑 → ( 𝜓 → 𝜒 ) ) | |
ex-natded5.5.2 | ⊢ ( 𝜑 → ¬ 𝜒 ) | ||
Assertion | ex-natded5.5 | ⊢ ( 𝜑 → ¬ 𝜓 ) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | ex-natded5.5.1 | ⊢ ( 𝜑 → ( 𝜓 → 𝜒 ) ) | |
2 | ex-natded5.5.2 | ⊢ ( 𝜑 → ¬ 𝜒 ) | |
3 | simpr | ⊢ ( ( 𝜑 ∧ 𝜓 ) → 𝜓 ) | |
4 | 1 | adantr | ⊢ ( ( 𝜑 ∧ 𝜓 ) → ( 𝜓 → 𝜒 ) ) |
5 | 3 4 | mpd | ⊢ ( ( 𝜑 ∧ 𝜓 ) → 𝜒 ) |
6 | 2 | adantr | ⊢ ( ( 𝜑 ∧ 𝜓 ) → ¬ 𝜒 ) |
7 | 5 6 | pm2.65da | ⊢ ( 𝜑 → ¬ 𝜓 ) |