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

Theorem preleqg 9066
Description: Equality of two unordered pairs when one member of each pair contains the other member. Closed form of preleq 9067. (Contributed by AV, 15-Jun-2022.)
Assertion
Ref Expression
preleqg (((𝐴𝐵𝐵𝑉𝐶𝐷) ∧ {𝐴, 𝐵} = {𝐶, 𝐷}) → (𝐴 = 𝐶𝐵 = 𝐷))

Proof of Theorem preleqg
StepHypRef Expression
1 elneq 9050 . . . . 5 (𝐴𝐵𝐴𝐵)
213ad2ant1 1125 . . . 4 ((𝐴𝐵𝐵𝑉𝐶𝐷) → 𝐴𝐵)
3 preq12nebg 4785 . . . 4 ((𝐴𝐵𝐵𝑉𝐴𝐵) → ({𝐴, 𝐵} = {𝐶, 𝐷} ↔ ((𝐴 = 𝐶𝐵 = 𝐷) ∨ (𝐴 = 𝐷𝐵 = 𝐶))))
42, 3syld3an3 1401 . . 3 ((𝐴𝐵𝐵𝑉𝐶𝐷) → ({𝐴, 𝐵} = {𝐶, 𝐷} ↔ ((𝐴 = 𝐶𝐵 = 𝐷) ∨ (𝐴 = 𝐷𝐵 = 𝐶))))
5 eleq12 2899 . . . . . . . . . 10 ((𝐴 = 𝐷𝐵 = 𝐶) → (𝐴𝐵𝐷𝐶))
6 elnotel 9061 . . . . . . . . . . 11 (𝐷𝐶 → ¬ 𝐶𝐷)
76pm2.21d 121 . . . . . . . . . 10 (𝐷𝐶 → (𝐶𝐷 → (𝐴 = 𝐶𝐵 = 𝐷)))
85, 7syl6bi 254 . . . . . . . . 9 ((𝐴 = 𝐷𝐵 = 𝐶) → (𝐴𝐵 → (𝐶𝐷 → (𝐴 = 𝐶𝐵 = 𝐷))))
98com3l 89 . . . . . . . 8 (𝐴𝐵 → (𝐶𝐷 → ((𝐴 = 𝐷𝐵 = 𝐶) → (𝐴 = 𝐶𝐵 = 𝐷))))
109a1d 25 . . . . . . 7 (𝐴𝐵 → (𝐵𝑉 → (𝐶𝐷 → ((𝐴 = 𝐷𝐵 = 𝐶) → (𝐴 = 𝐶𝐵 = 𝐷)))))
11103imp 1103 . . . . . 6 ((𝐴𝐵𝐵𝑉𝐶𝐷) → ((𝐴 = 𝐷𝐵 = 𝐶) → (𝐴 = 𝐶𝐵 = 𝐷)))
1211com12 32 . . . . 5 ((𝐴 = 𝐷𝐵 = 𝐶) → ((𝐴𝐵𝐵𝑉𝐶𝐷) → (𝐴 = 𝐶𝐵 = 𝐷)))
1312jao1i 852 . . . 4 (((𝐴 = 𝐶𝐵 = 𝐷) ∨ (𝐴 = 𝐷𝐵 = 𝐶)) → ((𝐴𝐵𝐵𝑉𝐶𝐷) → (𝐴 = 𝐶𝐵 = 𝐷)))
1413com12 32 . . 3 ((𝐴𝐵𝐵𝑉𝐶𝐷) → (((𝐴 = 𝐶𝐵 = 𝐷) ∨ (𝐴 = 𝐷𝐵 = 𝐶)) → (𝐴 = 𝐶𝐵 = 𝐷)))
154, 14sylbid 241 . 2 ((𝐴𝐵𝐵𝑉𝐶𝐷) → ({𝐴, 𝐵} = {𝐶, 𝐷} → (𝐴 = 𝐶𝐵 = 𝐷)))
1615imp 407 1 (((𝐴𝐵𝐵𝑉𝐶𝐷) ∧ {𝐴, 𝐵} = {𝐶, 𝐷}) → (𝐴 = 𝐶𝐵 = 𝐷))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 207  wa 396  wo 841  w3a 1079   = wceq 1528  wcel 2105  wne 3013  {cpr 4559
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2790  ax-sep 5194  ax-nul 5201  ax-pr 5320  ax-reg 9044
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-3an 1081  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061  df-mo 2615  df-eu 2647  df-clab 2797  df-cleq 2811  df-clel 2890  df-nfc 2960  df-ne 3014  df-ral 3140  df-rex 3141  df-rab 3144  df-v 3494  df-sbc 3770  df-dif 3936  df-un 3938  df-in 3940  df-ss 3949  df-nul 4289  df-if 4464  df-sn 4558  df-pr 4560  df-op 4564  df-br 5058  df-opab 5120  df-eprel 5458  df-fr 5507
This theorem is referenced by:  preleq  9067
  Copyright terms: Public domain W3C validator