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

Theorem preleqALT 9577
Description: Alternate proof of preleq 9576, not based on preleqg 9575: Equality of two unordered pairs when one member of each pair contains the other member. (Contributed by NM, 16-Oct-1996.) (Proof modification is discouraged.) (New usage is discouraged.)
Hypotheses
Ref Expression
preleq.b 𝐵 ∈ V
preleqALT.d 𝐷 ∈ V
Assertion
Ref Expression
preleqALT (((𝐴𝐵𝐶𝐷) ∧ {𝐴, 𝐵} = {𝐶, 𝐷}) → (𝐴 = 𝐶𝐵 = 𝐷))

Proof of Theorem preleqALT
StepHypRef Expression
1 preleq.b . . . . . . . . . 10 𝐵 ∈ V
21jctr 524 . . . . . . . . 9 (𝐴𝐵 → (𝐴𝐵𝐵 ∈ V))
3 preleqALT.d . . . . . . . . . 10 𝐷 ∈ V
43jctr 524 . . . . . . . . 9 (𝐶𝐷 → (𝐶𝐷𝐷 ∈ V))
5 preq12bg 4820 . . . . . . . . 9 (((𝐴𝐵𝐵 ∈ V) ∧ (𝐶𝐷𝐷 ∈ V)) → ({𝐴, 𝐵} = {𝐶, 𝐷} ↔ ((𝐴 = 𝐶𝐵 = 𝐷) ∨ (𝐴 = 𝐷𝐵 = 𝐶))))
62, 4, 5syl2an 596 . . . . . . . 8 ((𝐴𝐵𝐶𝐷) → ({𝐴, 𝐵} = {𝐶, 𝐷} ↔ ((𝐴 = 𝐶𝐵 = 𝐷) ∨ (𝐴 = 𝐷𝐵 = 𝐶))))
76biimpa 476 . . . . . . 7 (((𝐴𝐵𝐶𝐷) ∧ {𝐴, 𝐵} = {𝐶, 𝐷}) → ((𝐴 = 𝐶𝐵 = 𝐷) ∨ (𝐴 = 𝐷𝐵 = 𝐶)))
87ord 864 . . . . . 6 (((𝐴𝐵𝐶𝐷) ∧ {𝐴, 𝐵} = {𝐶, 𝐷}) → (¬ (𝐴 = 𝐶𝐵 = 𝐷) → (𝐴 = 𝐷𝐵 = 𝐶)))
9 en2lp 9566 . . . . . . 7 ¬ (𝐷𝐶𝐶𝐷)
10 eleq12 2819 . . . . . . . 8 ((𝐴 = 𝐷𝐵 = 𝐶) → (𝐴𝐵𝐷𝐶))
1110anbi1d 631 . . . . . . 7 ((𝐴 = 𝐷𝐵 = 𝐶) → ((𝐴𝐵𝐶𝐷) ↔ (𝐷𝐶𝐶𝐷)))
129, 11mtbiri 327 . . . . . 6 ((𝐴 = 𝐷𝐵 = 𝐶) → ¬ (𝐴𝐵𝐶𝐷))
138, 12syl6 35 . . . . 5 (((𝐴𝐵𝐶𝐷) ∧ {𝐴, 𝐵} = {𝐶, 𝐷}) → (¬ (𝐴 = 𝐶𝐵 = 𝐷) → ¬ (𝐴𝐵𝐶𝐷)))
1413con4d 115 . . . 4 (((𝐴𝐵𝐶𝐷) ∧ {𝐴, 𝐵} = {𝐶, 𝐷}) → ((𝐴𝐵𝐶𝐷) → (𝐴 = 𝐶𝐵 = 𝐷)))
1514ex 412 . . 3 ((𝐴𝐵𝐶𝐷) → ({𝐴, 𝐵} = {𝐶, 𝐷} → ((𝐴𝐵𝐶𝐷) → (𝐴 = 𝐶𝐵 = 𝐷))))
1615pm2.43a 54 . 2 ((𝐴𝐵𝐶𝐷) → ({𝐴, 𝐵} = {𝐶, 𝐷} → (𝐴 = 𝐶𝐵 = 𝐷)))
1716imp 406 1 (((𝐴𝐵𝐶𝐷) ∧ {𝐴, 𝐵} = {𝐶, 𝐷}) → (𝐴 = 𝐶𝐵 = 𝐷))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 206  wa 395  wo 847   = wceq 1540  wcel 2109  Vcvv 3450  {cpr 4594
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 2008  ax-8 2111  ax-9 2119  ax-10 2142  ax-12 2178  ax-ext 2702  ax-sep 5254  ax-nul 5264  ax-pr 5390  ax-reg 9552
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2066  df-clab 2709  df-cleq 2722  df-clel 2804  df-ne 2927  df-ral 3046  df-rex 3055  df-rab 3409  df-v 3452  df-dif 3920  df-un 3922  df-in 3924  df-ss 3934  df-nul 4300  df-if 4492  df-pw 4568  df-sn 4593  df-pr 4595  df-op 4599  df-br 5111  df-opab 5173  df-eprel 5541  df-fr 5594
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator