ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  prneimg GIF version

Theorem prneimg 3696
Description: Two pairs are not equal if at least one element of the first pair is not contained in the second pair. (Contributed by Alexander van der Vekens, 13-Aug-2017.)
Assertion
Ref Expression
prneimg (((𝐴𝑈𝐵𝑉) ∧ (𝐶𝑋𝐷𝑌)) → (((𝐴𝐶𝐴𝐷) ∨ (𝐵𝐶𝐵𝐷)) → {𝐴, 𝐵} ≠ {𝐶, 𝐷}))

Proof of Theorem prneimg
StepHypRef Expression
1 preq12bg 3695 . . . . 5 (((𝐴𝑈𝐵𝑉) ∧ (𝐶𝑋𝐷𝑌)) → ({𝐴, 𝐵} = {𝐶, 𝐷} ↔ ((𝐴 = 𝐶𝐵 = 𝐷) ∨ (𝐴 = 𝐷𝐵 = 𝐶))))
2 orddi 809 . . . . . 6 (((𝐴 = 𝐶𝐵 = 𝐷) ∨ (𝐴 = 𝐷𝐵 = 𝐶)) ↔ (((𝐴 = 𝐶𝐴 = 𝐷) ∧ (𝐴 = 𝐶𝐵 = 𝐶)) ∧ ((𝐵 = 𝐷𝐴 = 𝐷) ∧ (𝐵 = 𝐷𝐵 = 𝐶))))
3 simpll 518 . . . . . . 7 ((((𝐴 = 𝐶𝐴 = 𝐷) ∧ (𝐴 = 𝐶𝐵 = 𝐶)) ∧ ((𝐵 = 𝐷𝐴 = 𝐷) ∧ (𝐵 = 𝐷𝐵 = 𝐶))) → (𝐴 = 𝐶𝐴 = 𝐷))
4 pm1.4 716 . . . . . . . 8 ((𝐵 = 𝐷𝐵 = 𝐶) → (𝐵 = 𝐶𝐵 = 𝐷))
54ad2antll 482 . . . . . . 7 ((((𝐴 = 𝐶𝐴 = 𝐷) ∧ (𝐴 = 𝐶𝐵 = 𝐶)) ∧ ((𝐵 = 𝐷𝐴 = 𝐷) ∧ (𝐵 = 𝐷𝐵 = 𝐶))) → (𝐵 = 𝐶𝐵 = 𝐷))
63, 5jca 304 . . . . . 6 ((((𝐴 = 𝐶𝐴 = 𝐷) ∧ (𝐴 = 𝐶𝐵 = 𝐶)) ∧ ((𝐵 = 𝐷𝐴 = 𝐷) ∧ (𝐵 = 𝐷𝐵 = 𝐶))) → ((𝐴 = 𝐶𝐴 = 𝐷) ∧ (𝐵 = 𝐶𝐵 = 𝐷)))
72, 6sylbi 120 . . . . 5 (((𝐴 = 𝐶𝐵 = 𝐷) ∨ (𝐴 = 𝐷𝐵 = 𝐶)) → ((𝐴 = 𝐶𝐴 = 𝐷) ∧ (𝐵 = 𝐶𝐵 = 𝐷)))
81, 7syl6bi 162 . . . 4 (((𝐴𝑈𝐵𝑉) ∧ (𝐶𝑋𝐷𝑌)) → ({𝐴, 𝐵} = {𝐶, 𝐷} → ((𝐴 = 𝐶𝐴 = 𝐷) ∧ (𝐵 = 𝐶𝐵 = 𝐷))))
9 oranim 770 . . . . . 6 ((𝐴 = 𝐶𝐴 = 𝐷) → ¬ (¬ 𝐴 = 𝐶 ∧ ¬ 𝐴 = 𝐷))
10 df-ne 2307 . . . . . . 7 (𝐴𝐶 ↔ ¬ 𝐴 = 𝐶)
11 df-ne 2307 . . . . . . 7 (𝐴𝐷 ↔ ¬ 𝐴 = 𝐷)
1210, 11anbi12i 455 . . . . . 6 ((𝐴𝐶𝐴𝐷) ↔ (¬ 𝐴 = 𝐶 ∧ ¬ 𝐴 = 𝐷))
139, 12sylnibr 666 . . . . 5 ((𝐴 = 𝐶𝐴 = 𝐷) → ¬ (𝐴𝐶𝐴𝐷))
14 oranim 770 . . . . . 6 ((𝐵 = 𝐶𝐵 = 𝐷) → ¬ (¬ 𝐵 = 𝐶 ∧ ¬ 𝐵 = 𝐷))
15 df-ne 2307 . . . . . . 7 (𝐵𝐶 ↔ ¬ 𝐵 = 𝐶)
16 df-ne 2307 . . . . . . 7 (𝐵𝐷 ↔ ¬ 𝐵 = 𝐷)
1715, 16anbi12i 455 . . . . . 6 ((𝐵𝐶𝐵𝐷) ↔ (¬ 𝐵 = 𝐶 ∧ ¬ 𝐵 = 𝐷))
1814, 17sylnibr 666 . . . . 5 ((𝐵 = 𝐶𝐵 = 𝐷) → ¬ (𝐵𝐶𝐵𝐷))
1913, 18anim12i 336 . . . 4 (((𝐴 = 𝐶𝐴 = 𝐷) ∧ (𝐵 = 𝐶𝐵 = 𝐷)) → (¬ (𝐴𝐶𝐴𝐷) ∧ ¬ (𝐵𝐶𝐵𝐷)))
208, 19syl6 33 . . 3 (((𝐴𝑈𝐵𝑉) ∧ (𝐶𝑋𝐷𝑌)) → ({𝐴, 𝐵} = {𝐶, 𝐷} → (¬ (𝐴𝐶𝐴𝐷) ∧ ¬ (𝐵𝐶𝐵𝐷))))
21 pm4.56 769 . . 3 ((¬ (𝐴𝐶𝐴𝐷) ∧ ¬ (𝐵𝐶𝐵𝐷)) ↔ ¬ ((𝐴𝐶𝐴𝐷) ∨ (𝐵𝐶𝐵𝐷)))
2220, 21syl6ib 160 . 2 (((𝐴𝑈𝐵𝑉) ∧ (𝐶𝑋𝐷𝑌)) → ({𝐴, 𝐵} = {𝐶, 𝐷} → ¬ ((𝐴𝐶𝐴𝐷) ∨ (𝐵𝐶𝐵𝐷))))
2322necon2ad 2363 1 (((𝐴𝑈𝐵𝑉) ∧ (𝐶𝑋𝐷𝑌)) → (((𝐴𝐶𝐴𝐷) ∨ (𝐵𝐶𝐵𝐷)) → {𝐴, 𝐵} ≠ {𝐶, 𝐷}))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wo 697   = wceq 1331  wcel 1480  wne 2306  {cpr 3523
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 603  ax-in2 604  ax-io 698  ax-5 1423  ax-7 1424  ax-gen 1425  ax-ie1 1469  ax-ie2 1470  ax-8 1482  ax-10 1483  ax-11 1484  ax-i12 1485  ax-bndl 1486  ax-4 1487  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-ext 2119
This theorem depends on definitions:  df-bi 116  df-3an 964  df-tru 1334  df-nf 1437  df-sb 1736  df-clab 2124  df-cleq 2130  df-clel 2133  df-nfc 2268  df-ne 2307  df-v 2683  df-un 3070  df-sn 3528  df-pr 3529
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator