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

Theorem ssprsseq 4755
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 4754 . . . 4 ((𝐴𝑉𝐵𝑊) → ({𝐴, 𝐵} ⊆ {𝐶, 𝐷} ↔ ((𝐴 = 𝐶𝐴 = 𝐷) ∧ (𝐵 = 𝐶𝐵 = 𝐷))))
213adant3 1130 . . 3 ((𝐴𝑉𝐵𝑊𝐴𝐵) → ({𝐴, 𝐵} ⊆ {𝐶, 𝐷} ↔ ((𝐴 = 𝐶𝐴 = 𝐷) ∧ (𝐵 = 𝐶𝐵 = 𝐷))))
3 eqneqall 2953 . . . . . . . 8 (𝐴 = 𝐵 → (𝐴𝐵 → {𝐴, 𝐵} = {𝐶, 𝐷}))
4 eqtr3 2764 . . . . . . . 8 ((𝐴 = 𝐶𝐵 = 𝐶) → 𝐴 = 𝐵)
53, 4syl11 33 . . . . . . 7 (𝐴𝐵 → ((𝐴 = 𝐶𝐵 = 𝐶) → {𝐴, 𝐵} = {𝐶, 𝐷}))
653ad2ant3 1133 . . . . . 6 ((𝐴𝑉𝐵𝑊𝐴𝐵) → ((𝐴 = 𝐶𝐵 = 𝐶) → {𝐴, 𝐵} = {𝐶, 𝐷}))
76com12 32 . . . . 5 ((𝐴 = 𝐶𝐵 = 𝐶) → ((𝐴𝑉𝐵𝑊𝐴𝐵) → {𝐴, 𝐵} = {𝐶, 𝐷}))
8 preq12 4668 . . . . . . 7 ((𝐴 = 𝐷𝐵 = 𝐶) → {𝐴, 𝐵} = {𝐷, 𝐶})
9 prcom 4665 . . . . . . 7 {𝐷, 𝐶} = {𝐶, 𝐷}
108, 9eqtrdi 2795 . . . . . 6 ((𝐴 = 𝐷𝐵 = 𝐶) → {𝐴, 𝐵} = {𝐶, 𝐷})
1110a1d 25 . . . . 5 ((𝐴 = 𝐷𝐵 = 𝐶) → ((𝐴𝑉𝐵𝑊𝐴𝐵) → {𝐴, 𝐵} = {𝐶, 𝐷}))
12 preq12 4668 . . . . . 6 ((𝐴 = 𝐶𝐵 = 𝐷) → {𝐴, 𝐵} = {𝐶, 𝐷})
1312a1d 25 . . . . 5 ((𝐴 = 𝐶𝐵 = 𝐷) → ((𝐴𝑉𝐵𝑊𝐴𝐵) → {𝐴, 𝐵} = {𝐶, 𝐷}))
14 eqtr3 2764 . . . . . . . 8 ((𝐴 = 𝐷𝐵 = 𝐷) → 𝐴 = 𝐵)
153, 14syl11 33 . . . . . . 7 (𝐴𝐵 → ((𝐴 = 𝐷𝐵 = 𝐷) → {𝐴, 𝐵} = {𝐶, 𝐷}))
16153ad2ant3 1133 . . . . . 6 ((𝐴𝑉𝐵𝑊𝐴𝐵) → ((𝐴 = 𝐷𝐵 = 𝐷) → {𝐴, 𝐵} = {𝐶, 𝐷}))
1716com12 32 . . . . 5 ((𝐴 = 𝐷𝐵 = 𝐷) → ((𝐴𝑉𝐵𝑊𝐴𝐵) → {𝐴, 𝐵} = {𝐶, 𝐷}))
187, 11, 13, 17ccase 1034 . . . 4 (((𝐴 = 𝐶𝐴 = 𝐷) ∧ (𝐵 = 𝐶𝐵 = 𝐷)) → ((𝐴𝑉𝐵𝑊𝐴𝐵) → {𝐴, 𝐵} = {𝐶, 𝐷}))
1918com12 32 . . 3 ((𝐴𝑉𝐵𝑊𝐴𝐵) → (((𝐴 = 𝐶𝐴 = 𝐷) ∧ (𝐵 = 𝐶𝐵 = 𝐷)) → {𝐴, 𝐵} = {𝐶, 𝐷}))
202, 19sylbid 239 . 2 ((𝐴𝑉𝐵𝑊𝐴𝐵) → ({𝐴, 𝐵} ⊆ {𝐶, 𝐷} → {𝐴, 𝐵} = {𝐶, 𝐷}))
21 eqimss 3973 . 2 ({𝐴, 𝐵} = {𝐶, 𝐷} → {𝐴, 𝐵} ⊆ {𝐶, 𝐷})
2220, 21impbid1 224 1 ((𝐴𝑉𝐵𝑊𝐴𝐵) → ({𝐴, 𝐵} ⊆ {𝐶, 𝐷} ↔ {𝐴, 𝐵} = {𝐶, 𝐷}))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wo 843  w3a 1085   = wceq 1539  wcel 2108  wne 2942  wss 3883  {cpr 4560
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-ne 2943  df-v 3424  df-un 3888  df-in 3890  df-ss 3900  df-sn 4559  df-pr 4561
This theorem is referenced by:  upgredgpr  27415  cyc3genpmlem  31320
  Copyright terms: Public domain W3C validator