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

Theorem ssprsseq 4718
Description: A proper pair is a subset of a pair iff it is equal to the superset. (Contributed by AV, 26-Oct-2020.)
Assertion
Ref Expression
ssprsseq ((𝐴𝑉𝐵𝑊𝐴𝐵) → ({𝐴, 𝐵} ⊆ {𝐶, 𝐷} ↔ {𝐴, 𝐵} = {𝐶, 𝐷}))

Proof of Theorem ssprsseq
StepHypRef Expression
1 ssprss 4717 . . . 4 ((𝐴𝑉𝐵𝑊) → ({𝐴, 𝐵} ⊆ {𝐶, 𝐷} ↔ ((𝐴 = 𝐶𝐴 = 𝐷) ∧ (𝐵 = 𝐶𝐵 = 𝐷))))
213adant3 1129 . . 3 ((𝐴𝑉𝐵𝑊𝐴𝐵) → ({𝐴, 𝐵} ⊆ {𝐶, 𝐷} ↔ ((𝐴 = 𝐶𝐴 = 𝐷) ∧ (𝐵 = 𝐶𝐵 = 𝐷))))
3 eqneqall 2998 . . . . . . . 8 (𝐴 = 𝐵 → (𝐴𝐵 → {𝐴, 𝐵} = {𝐶, 𝐷}))
4 eqtr3 2820 . . . . . . . 8 ((𝐴 = 𝐶𝐵 = 𝐶) → 𝐴 = 𝐵)
53, 4syl11 33 . . . . . . 7 (𝐴𝐵 → ((𝐴 = 𝐶𝐵 = 𝐶) → {𝐴, 𝐵} = {𝐶, 𝐷}))
653ad2ant3 1132 . . . . . 6 ((𝐴𝑉𝐵𝑊𝐴𝐵) → ((𝐴 = 𝐶𝐵 = 𝐶) → {𝐴, 𝐵} = {𝐶, 𝐷}))
76com12 32 . . . . 5 ((𝐴 = 𝐶𝐵 = 𝐶) → ((𝐴𝑉𝐵𝑊𝐴𝐵) → {𝐴, 𝐵} = {𝐶, 𝐷}))
8 preq12 4631 . . . . . . 7 ((𝐴 = 𝐷𝐵 = 𝐶) → {𝐴, 𝐵} = {𝐷, 𝐶})
9 prcom 4628 . . . . . . 7 {𝐷, 𝐶} = {𝐶, 𝐷}
108, 9eqtrdi 2849 . . . . . 6 ((𝐴 = 𝐷𝐵 = 𝐶) → {𝐴, 𝐵} = {𝐶, 𝐷})
1110a1d 25 . . . . 5 ((𝐴 = 𝐷𝐵 = 𝐶) → ((𝐴𝑉𝐵𝑊𝐴𝐵) → {𝐴, 𝐵} = {𝐶, 𝐷}))
12 preq12 4631 . . . . . 6 ((𝐴 = 𝐶𝐵 = 𝐷) → {𝐴, 𝐵} = {𝐶, 𝐷})
1312a1d 25 . . . . 5 ((𝐴 = 𝐶𝐵 = 𝐷) → ((𝐴𝑉𝐵𝑊𝐴𝐵) → {𝐴, 𝐵} = {𝐶, 𝐷}))
14 eqtr3 2820 . . . . . . . 8 ((𝐴 = 𝐷𝐵 = 𝐷) → 𝐴 = 𝐵)
153, 14syl11 33 . . . . . . 7 (𝐴𝐵 → ((𝐴 = 𝐷𝐵 = 𝐷) → {𝐴, 𝐵} = {𝐶, 𝐷}))
16153ad2ant3 1132 . . . . . 6 ((𝐴𝑉𝐵𝑊𝐴𝐵) → ((𝐴 = 𝐷𝐵 = 𝐷) → {𝐴, 𝐵} = {𝐶, 𝐷}))
1716com12 32 . . . . 5 ((𝐴 = 𝐷𝐵 = 𝐷) → ((𝐴𝑉𝐵𝑊𝐴𝐵) → {𝐴, 𝐵} = {𝐶, 𝐷}))
187, 11, 13, 17ccase 1033 . . . 4 (((𝐴 = 𝐶𝐴 = 𝐷) ∧ (𝐵 = 𝐶𝐵 = 𝐷)) → ((𝐴𝑉𝐵𝑊𝐴𝐵) → {𝐴, 𝐵} = {𝐶, 𝐷}))
1918com12 32 . . 3 ((𝐴𝑉𝐵𝑊𝐴𝐵) → (((𝐴 = 𝐶𝐴 = 𝐷) ∧ (𝐵 = 𝐶𝐵 = 𝐷)) → {𝐴, 𝐵} = {𝐶, 𝐷}))
202, 19sylbid 243 . 2 ((𝐴𝑉𝐵𝑊𝐴𝐵) → ({𝐴, 𝐵} ⊆ {𝐶, 𝐷} → {𝐴, 𝐵} = {𝐶, 𝐷}))
21 eqimss 3971 . 2 ({𝐴, 𝐵} = {𝐶, 𝐷} → {𝐴, 𝐵} ⊆ {𝐶, 𝐷})
2220, 21impbid1 228 1 ((𝐴𝑉𝐵𝑊𝐴𝐵) → ({𝐴, 𝐵} ⊆ {𝐶, 𝐷} ↔ {𝐴, 𝐵} = {𝐶, 𝐷}))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  wo 844  w3a 1084   = wceq 1538  wcel 2111  wne 2987  wss 3881  {cpr 4527
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 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-12 2175  ax-ext 2770
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 2070  df-clab 2777  df-cleq 2791  df-clel 2870  df-ne 2988  df-v 3443  df-un 3886  df-in 3888  df-ss 3898  df-sn 4526  df-pr 4528
This theorem is referenced by:  upgredgpr  26935  cyc3genpmlem  30843
  Copyright terms: Public domain W3C validator