Description: Contrapositive inference for inequality. (Contributed by NM, 28-Dec-2008)
Ref | Expression | ||
---|---|---|---|
Hypothesis | necon2d.1 | ⊢ ( 𝜑 → ( 𝐴 = 𝐵 → 𝐶 ≠ 𝐷 ) ) | |
Assertion | necon2d | ⊢ ( 𝜑 → ( 𝐶 = 𝐷 → 𝐴 ≠ 𝐵 ) ) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | necon2d.1 | ⊢ ( 𝜑 → ( 𝐴 = 𝐵 → 𝐶 ≠ 𝐷 ) ) | |
2 | df-ne | ⊢ ( 𝐶 ≠ 𝐷 ↔ ¬ 𝐶 = 𝐷 ) | |
3 | 1 2 | syl6ib | ⊢ ( 𝜑 → ( 𝐴 = 𝐵 → ¬ 𝐶 = 𝐷 ) ) |
4 | 3 | necon2ad | ⊢ ( 𝜑 → ( 𝐶 = 𝐷 → 𝐴 ≠ 𝐵 ) ) |