MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  neqcomd Structured version   Visualization version   GIF version

Theorem neqcomd 2748
Description: Commute an inequality. (Contributed by Rohan Ridenour, 3-Aug-2023.)
Hypothesis
Ref Expression
neqcomd.1 (𝜑 → ¬ 𝐴 = 𝐵)
Assertion
Ref Expression
neqcomd (𝜑 → ¬ 𝐵 = 𝐴)

Proof of Theorem neqcomd
StepHypRef Expression
1 neqcomd.1 . 2 (𝜑 → ¬ 𝐴 = 𝐵)
2 eqcom 2745 . 2 (𝐴 = 𝐵𝐵 = 𝐴)
31, 2sylnib 327 1 (𝜑 → ¬ 𝐵 = 𝐴)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4   = wceq 1539
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-9 2118  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-ex 1784  df-cleq 2730
This theorem is referenced by:  phpeqd  8902  simpgnsgd  19618  aks4d1p8d2  40021  rr-phpd  41710
  Copyright terms: Public domain W3C validator