This is an inofficial mirror of http://metamath.tirix.org for personal testing of a visualizer extension only.
Description: Contrapositive inference for inequality. (Contributed by NM, 23-May-2007) (Proof shortened by Andrew Salmon, 25-May-2011) (Proof shortened by Wolf Lammen, 28-Oct-2024)
| Ref | Expression | ||
|---|---|---|---|
| Hypothesis | necon3ai.1 | ⊢ ( 𝜑 → 𝐴 = 𝐵 ) | |
| Assertion | necon3ai | ⊢ ( 𝐴 ≠ 𝐵 → ¬ 𝜑 ) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | necon3ai.1 | ⊢ ( 𝜑 → 𝐴 = 𝐵 ) | |
| 2 | neneq | ⊢ ( 𝐴 ≠ 𝐵 → ¬ 𝐴 = 𝐵 ) | |
| 3 | 2 1 | nsyl | ⊢ ( 𝐴 ≠ 𝐵 → ¬ 𝜑 ) |