Metamath Proof Explorer


Theorem necon3bd

Description: Contrapositive law deduction for inequality. (Contributed by NM, 2-Apr-2007) (Proof shortened by Andrew Salmon, 25-May-2011)

Ref Expression
Hypothesis necon3bd.1 φA=Bψ
Assertion necon3bd φ¬ψAB

Proof

Step Hyp Ref Expression
1 necon3bd.1 φA=Bψ
2 nne ¬ABA=B
3 2 1 biimtrid φ¬ABψ
4 3 con1d φ¬ψAB