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

Theorem opthneg 5396
Description: Two ordered pairs are not equal iff their first components or their second components are not equal. (Contributed by AV, 13-Dec-2018.)
Assertion
Ref Expression
opthneg ((𝐴𝑉𝐵𝑊) → (⟨𝐴, 𝐵⟩ ≠ ⟨𝐶, 𝐷⟩ ↔ (𝐴𝐶𝐵𝐷)))

Proof of Theorem opthneg
StepHypRef Expression
1 df-ne 2944 . 2 (⟨𝐴, 𝐵⟩ ≠ ⟨𝐶, 𝐷⟩ ↔ ¬ ⟨𝐴, 𝐵⟩ = ⟨𝐶, 𝐷⟩)
2 opthg 5392 . . . 4 ((𝐴𝑉𝐵𝑊) → (⟨𝐴, 𝐵⟩ = ⟨𝐶, 𝐷⟩ ↔ (𝐴 = 𝐶𝐵 = 𝐷)))
32notbid 318 . . 3 ((𝐴𝑉𝐵𝑊) → (¬ ⟨𝐴, 𝐵⟩ = ⟨𝐶, 𝐷⟩ ↔ ¬ (𝐴 = 𝐶𝐵 = 𝐷)))
4 ianor 979 . . . 4 (¬ (𝐴 = 𝐶𝐵 = 𝐷) ↔ (¬ 𝐴 = 𝐶 ∨ ¬ 𝐵 = 𝐷))
5 df-ne 2944 . . . . 5 (𝐴𝐶 ↔ ¬ 𝐴 = 𝐶)
6 df-ne 2944 . . . . 5 (𝐵𝐷 ↔ ¬ 𝐵 = 𝐷)
75, 6orbi12i 912 . . . 4 ((𝐴𝐶𝐵𝐷) ↔ (¬ 𝐴 = 𝐶 ∨ ¬ 𝐵 = 𝐷))
84, 7bitr4i 277 . . 3 (¬ (𝐴 = 𝐶𝐵 = 𝐷) ↔ (𝐴𝐶𝐵𝐷))
93, 8bitrdi 287 . 2 ((𝐴𝑉𝐵𝑊) → (¬ ⟨𝐴, 𝐵⟩ = ⟨𝐶, 𝐷⟩ ↔ (𝐴𝐶𝐵𝐷)))
101, 9bitrid 282 1 ((𝐴𝑉𝐵𝑊) → (⟨𝐴, 𝐵⟩ ≠ ⟨𝐶, 𝐷⟩ ↔ (𝐴𝐶𝐵𝐷)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396  wo 844   = wceq 1539  wcel 2106  wne 2943  cop 4567
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-ne 2944  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568
This theorem is referenced by:  opthne  5397  addsqnreup  26591  linds2eq  31575  addsval  34126  zlmodzxznm  45838
  Copyright terms: Public domain W3C validator