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

Theorem prneimg 4769
 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 4768 . . . . 5 (((𝐴𝑈𝐵𝑉) ∧ (𝐶𝑋𝐷𝑌)) → ({𝐴, 𝐵} = {𝐶, 𝐷} ↔ ((𝐴 = 𝐶𝐵 = 𝐷) ∨ (𝐴 = 𝐷𝐵 = 𝐶))))
2 orddi 1007 . . . . . 6 (((𝐴 = 𝐶𝐵 = 𝐷) ∨ (𝐴 = 𝐷𝐵 = 𝐶)) ↔ (((𝐴 = 𝐶𝐴 = 𝐷) ∧ (𝐴 = 𝐶𝐵 = 𝐶)) ∧ ((𝐵 = 𝐷𝐴 = 𝐷) ∧ (𝐵 = 𝐷𝐵 = 𝐶))))
3 simpll 766 . . . . . . 7 ((((𝐴 = 𝐶𝐴 = 𝐷) ∧ (𝐴 = 𝐶𝐵 = 𝐶)) ∧ ((𝐵 = 𝐷𝐴 = 𝐷) ∧ (𝐵 = 𝐷𝐵 = 𝐶))) → (𝐴 = 𝐶𝐴 = 𝐷))
4 pm1.4 866 . . . . . . . 8 ((𝐵 = 𝐷𝐵 = 𝐶) → (𝐵 = 𝐶𝐵 = 𝐷))
54ad2antll 728 . . . . . . 7 ((((𝐴 = 𝐶𝐴 = 𝐷) ∧ (𝐴 = 𝐶𝐵 = 𝐶)) ∧ ((𝐵 = 𝐷𝐴 = 𝐷) ∧ (𝐵 = 𝐷𝐵 = 𝐶))) → (𝐵 = 𝐶𝐵 = 𝐷))
63, 5jca 515 . . . . . 6 ((((𝐴 = 𝐶𝐴 = 𝐷) ∧ (𝐴 = 𝐶𝐵 = 𝐶)) ∧ ((𝐵 = 𝐷𝐴 = 𝐷) ∧ (𝐵 = 𝐷𝐵 = 𝐶))) → ((𝐴 = 𝐶𝐴 = 𝐷) ∧ (𝐵 = 𝐶𝐵 = 𝐷)))
72, 6sylbi 220 . . . . 5 (((𝐴 = 𝐶𝐵 = 𝐷) ∨ (𝐴 = 𝐷𝐵 = 𝐶)) → ((𝐴 = 𝐶𝐴 = 𝐷) ∧ (𝐵 = 𝐶𝐵 = 𝐷)))
81, 7syl6bi 256 . . . 4 (((𝐴𝑈𝐵𝑉) ∧ (𝐶𝑋𝐷𝑌)) → ({𝐴, 𝐵} = {𝐶, 𝐷} → ((𝐴 = 𝐶𝐴 = 𝐷) ∧ (𝐵 = 𝐶𝐵 = 𝐷))))
9 ianor 979 . . . . . 6 (¬ (𝐴𝐶𝐴𝐷) ↔ (¬ 𝐴𝐶 ∨ ¬ 𝐴𝐷))
10 nne 3018 . . . . . . 7 𝐴𝐶𝐴 = 𝐶)
11 nne 3018 . . . . . . 7 𝐴𝐷𝐴 = 𝐷)
1210, 11orbi12i 912 . . . . . 6 ((¬ 𝐴𝐶 ∨ ¬ 𝐴𝐷) ↔ (𝐴 = 𝐶𝐴 = 𝐷))
139, 12bitr2i 279 . . . . 5 ((𝐴 = 𝐶𝐴 = 𝐷) ↔ ¬ (𝐴𝐶𝐴𝐷))
14 ianor 979 . . . . . 6 (¬ (𝐵𝐶𝐵𝐷) ↔ (¬ 𝐵𝐶 ∨ ¬ 𝐵𝐷))
15 nne 3018 . . . . . . 7 𝐵𝐶𝐵 = 𝐶)
16 nne 3018 . . . . . . 7 𝐵𝐷𝐵 = 𝐷)
1715, 16orbi12i 912 . . . . . 6 ((¬ 𝐵𝐶 ∨ ¬ 𝐵𝐷) ↔ (𝐵 = 𝐶𝐵 = 𝐷))
1814, 17bitr2i 279 . . . . 5 ((𝐵 = 𝐶𝐵 = 𝐷) ↔ ¬ (𝐵𝐶𝐵𝐷))
1913, 18anbi12i 629 . . . 4 (((𝐴 = 𝐶𝐴 = 𝐷) ∧ (𝐵 = 𝐶𝐵 = 𝐷)) ↔ (¬ (𝐴𝐶𝐴𝐷) ∧ ¬ (𝐵𝐶𝐵𝐷)))
208, 19syl6ib 254 . . 3 (((𝐴𝑈𝐵𝑉) ∧ (𝐶𝑋𝐷𝑌)) → ({𝐴, 𝐵} = {𝐶, 𝐷} → (¬ (𝐴𝐶𝐴𝐷) ∧ ¬ (𝐵𝐶𝐵𝐷))))
21 pm4.56 986 . . 3 ((¬ (𝐴𝐶𝐴𝐷) ∧ ¬ (𝐵𝐶𝐵𝐷)) ↔ ¬ ((𝐴𝐶𝐴𝐷) ∨ (𝐵𝐶𝐵𝐷)))
2220, 21syl6ib 254 . 2 (((𝐴𝑈𝐵𝑉) ∧ (𝐶𝑋𝐷𝑌)) → ({𝐴, 𝐵} = {𝐶, 𝐷} → ¬ ((𝐴𝐶𝐴𝐷) ∨ (𝐵𝐶𝐵𝐷))))
2322necon2ad 3029 1 (((𝐴𝑈𝐵𝑉) ∧ (𝐶𝑋𝐷𝑌)) → (((𝐴𝐶𝐴𝐷) ∨ (𝐵𝐶𝐵𝐷)) → {𝐴, 𝐵} ≠ {𝐶, 𝐷}))
 Colors of variables: wff setvar class Syntax hints:  ¬ wn 3   → wi 4   ∧ wa 399   ∨ wo 844   = wceq 1538   ∈ wcel 2115   ≠ wne 3014  {cpr 4552 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1912  ax-6 1971  ax-7 2016  ax-8 2117  ax-9 2125  ax-10 2146  ax-11 2162  ax-12 2179  ax-ext 2796 This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2071  df-clab 2803  df-cleq 2817  df-clel 2896  df-nfc 2964  df-ne 3015  df-v 3482  df-un 3924  df-sn 4551  df-pr 4553 This theorem is referenced by:  prnebg  4770  opthhausdorff  5395  symg2bas  18523  m2detleib  21245  umgrvad2edg  27012  usgrexmpldifpr  27057  zlmodzxzldeplem  44860  line2x  45121  inlinecirc02plem  45153
 Copyright terms: Public domain W3C validator