Metamath Proof Explorer


Theorem necon1abid

Description: Contrapositive deduction for inequality. (Contributed by NM, 21-Aug-2007) (Proof shortened by Wolf Lammen, 24-Nov-2019)

Ref Expression
Hypothesis necon1abid.1 ⊢ φ → ¬ ψ ↔ A = B
Assertion necon1abid ⊢ φ → A ≠ B ↔ ψ

Proof

Step Hyp Ref Expression
1 necon1abid.1 ⊢ φ → ¬ ψ ↔ A = B
2 notnotb ⊢ ψ ↔ ¬ ¬ ψ
3 1 necon3bbid ⊢ φ → ¬ ¬ ψ ↔ A ≠ B
4 2 3 bitr2id ⊢ φ → A ≠ B ↔ ψ