Metamath Proof Explorer


Theorem necon3bbid

Description: Deduction from equality to inequality. (Contributed by NM, 2-Jun-2007)

Ref Expression
Hypothesis necon3bbid.1 ( 𝜑 → ( 𝜓𝐴 = 𝐵 ) )
Assertion necon3bbid ( 𝜑 → ( ¬ 𝜓𝐴𝐵 ) )

Proof

Step Hyp Ref Expression
1 necon3bbid.1 ( 𝜑 → ( 𝜓𝐴 = 𝐵 ) )
2 1 bicomd ( 𝜑 → ( 𝐴 = 𝐵𝜓 ) )
3 2 necon3abid ( 𝜑 → ( 𝐴𝐵 ↔ ¬ 𝜓 ) )
4 3 bicomd ( 𝜑 → ( ¬ 𝜓𝐴𝐵 ) )