Metamath Proof Explorer


Theorem necon2bbii

Description: Contrapositive inference for inequality. (Contributed by NM, 13-Apr-2007)

Ref Expression
Hypothesis necon2bbii.1 ( 𝜑𝐴𝐵 )
Assertion necon2bbii ( 𝐴 = 𝐵 ↔ ¬ 𝜑 )

Proof

Step Hyp Ref Expression
1 necon2bbii.1 ( 𝜑𝐴𝐵 )
2 1 bicomi ( 𝐴𝐵𝜑 )
3 2 necon1bbii ( ¬ 𝜑𝐴 = 𝐵 )
4 3 bicomi ( 𝐴 = 𝐵 ↔ ¬ 𝜑 )