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

Theorem prneimg2 4853
Description: Two pairs are not equal if their counterparts are not equal. (Contributed by AV, 5-Sep-2025.)
Assertion
Ref Expression
prneimg2 (((𝐴𝑈𝐵𝑉) ∧ (𝐶𝑋𝐷𝑌)) → ({𝐴, 𝐵} ≠ {𝐶, 𝐷} ↔ ((𝐴𝐶𝐵𝐷) ∧ (𝐴𝐷𝐵𝐶))))

Proof of Theorem prneimg2
StepHypRef Expression
1 preq12bg 4851 . . 3 (((𝐴𝑈𝐵𝑉) ∧ (𝐶𝑋𝐷𝑌)) → ({𝐴, 𝐵} = {𝐶, 𝐷} ↔ ((𝐴 = 𝐶𝐵 = 𝐷) ∨ (𝐴 = 𝐷𝐵 = 𝐶))))
21necon3abid 2976 . 2 (((𝐴𝑈𝐵𝑉) ∧ (𝐶𝑋𝐷𝑌)) → ({𝐴, 𝐵} ≠ {𝐶, 𝐷} ↔ ¬ ((𝐴 = 𝐶𝐵 = 𝐷) ∨ (𝐴 = 𝐷𝐵 = 𝐶))))
3 ioran 986 . . 3 (¬ ((𝐴 = 𝐶𝐵 = 𝐷) ∨ (𝐴 = 𝐷𝐵 = 𝐶)) ↔ (¬ (𝐴 = 𝐶𝐵 = 𝐷) ∧ ¬ (𝐴 = 𝐷𝐵 = 𝐶)))
4 ianor 984 . . . . 5 (¬ (𝐴 = 𝐶𝐵 = 𝐷) ↔ (¬ 𝐴 = 𝐶 ∨ ¬ 𝐵 = 𝐷))
5 df-ne 2940 . . . . . 6 (𝐴𝐶 ↔ ¬ 𝐴 = 𝐶)
6 df-ne 2940 . . . . . 6 (𝐵𝐷 ↔ ¬ 𝐵 = 𝐷)
75, 6orbi12i 915 . . . . 5 ((𝐴𝐶𝐵𝐷) ↔ (¬ 𝐴 = 𝐶 ∨ ¬ 𝐵 = 𝐷))
84, 7bitr4i 278 . . . 4 (¬ (𝐴 = 𝐶𝐵 = 𝐷) ↔ (𝐴𝐶𝐵𝐷))
9 ianor 984 . . . . 5 (¬ (𝐴 = 𝐷𝐵 = 𝐶) ↔ (¬ 𝐴 = 𝐷 ∨ ¬ 𝐵 = 𝐶))
10 df-ne 2940 . . . . . 6 (𝐴𝐷 ↔ ¬ 𝐴 = 𝐷)
11 df-ne 2940 . . . . . 6 (𝐵𝐶 ↔ ¬ 𝐵 = 𝐶)
1210, 11orbi12i 915 . . . . 5 ((𝐴𝐷𝐵𝐶) ↔ (¬ 𝐴 = 𝐷 ∨ ¬ 𝐵 = 𝐶))
139, 12bitr4i 278 . . . 4 (¬ (𝐴 = 𝐷𝐵 = 𝐶) ↔ (𝐴𝐷𝐵𝐶))
148, 13anbi12i 628 . . 3 ((¬ (𝐴 = 𝐶𝐵 = 𝐷) ∧ ¬ (𝐴 = 𝐷𝐵 = 𝐶)) ↔ ((𝐴𝐶𝐵𝐷) ∧ (𝐴𝐷𝐵𝐶)))
153, 14bitri 275 . 2 (¬ ((𝐴 = 𝐶𝐵 = 𝐷) ∨ (𝐴 = 𝐷𝐵 = 𝐶)) ↔ ((𝐴𝐶𝐵𝐷) ∧ (𝐴𝐷𝐵𝐶)))
162, 15bitrdi 287 1 (((𝐴𝑈𝐵𝑉) ∧ (𝐶𝑋𝐷𝑌)) → ({𝐴, 𝐵} ≠ {𝐶, 𝐷} ↔ ((𝐴𝐶𝐵𝐷) ∧ (𝐴𝐷𝐵𝐶))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 206  wa 395  wo 848   = wceq 1540  wcel 2108  wne 2939  {cpr 4626
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-ext 2707
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-3an 1089  df-tru 1543  df-ex 1780  df-sb 2065  df-clab 2714  df-cleq 2728  df-clel 2815  df-ne 2940  df-v 3481  df-un 3955  df-sn 4625  df-pr 4627
This theorem is referenced by:  gpg5nbgrvtx03starlem1  47997  gpg5nbgrvtx03starlem2  47998  gpg5nbgrvtx03starlem3  47999  gpg5nbgrvtx13starlem1  48000  gpg5nbgrvtx13starlem2  48001  gpg5nbgrvtx13starlem3  48002
  Copyright terms: Public domain W3C validator