Metamath Proof Explorer


Theorem necon1bbii

Description: Contrapositive inference for inequality. (Contributed by NM, 17-Mar-2007) (Proof shortened by Wolf Lammen, 24-Nov-2019)

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

Proof

Step Hyp Ref Expression
1 necon1bbii.1 ( 𝐴𝐵𝜑 )
2 nne ( ¬ 𝐴𝐵𝐴 = 𝐵 )
3 2 1 xchnxbi ( ¬ 𝜑𝐴 = 𝐵 )