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

Theorem ssconb 4076
Description: Contraposition law for subsets. (Contributed by NM, 22-Mar-1998.)
Assertion
Ref Expression
ssconb ((𝐴𝐶𝐵𝐶) → (𝐴 ⊆ (𝐶𝐵) ↔ 𝐵 ⊆ (𝐶𝐴)))

Proof of Theorem ssconb
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 ssel 3918 . . . . . . 7 (𝐴𝐶 → (𝑥𝐴𝑥𝐶))
2 ssel 3918 . . . . . . 7 (𝐵𝐶 → (𝑥𝐵𝑥𝐶))
3 pm5.1 820 . . . . . . 7 (((𝑥𝐴𝑥𝐶) ∧ (𝑥𝐵𝑥𝐶)) → ((𝑥𝐴𝑥𝐶) ↔ (𝑥𝐵𝑥𝐶)))
41, 2, 3syl2an 595 . . . . . 6 ((𝐴𝐶𝐵𝐶) → ((𝑥𝐴𝑥𝐶) ↔ (𝑥𝐵𝑥𝐶)))
5 con2b 359 . . . . . . 7 ((𝑥𝐴 → ¬ 𝑥𝐵) ↔ (𝑥𝐵 → ¬ 𝑥𝐴))
65a1i 11 . . . . . 6 ((𝐴𝐶𝐵𝐶) → ((𝑥𝐴 → ¬ 𝑥𝐵) ↔ (𝑥𝐵 → ¬ 𝑥𝐴)))
74, 6anbi12d 630 . . . . 5 ((𝐴𝐶𝐵𝐶) → (((𝑥𝐴𝑥𝐶) ∧ (𝑥𝐴 → ¬ 𝑥𝐵)) ↔ ((𝑥𝐵𝑥𝐶) ∧ (𝑥𝐵 → ¬ 𝑥𝐴))))
8 jcab 517 . . . . 5 ((𝑥𝐴 → (𝑥𝐶 ∧ ¬ 𝑥𝐵)) ↔ ((𝑥𝐴𝑥𝐶) ∧ (𝑥𝐴 → ¬ 𝑥𝐵)))
9 jcab 517 . . . . 5 ((𝑥𝐵 → (𝑥𝐶 ∧ ¬ 𝑥𝐴)) ↔ ((𝑥𝐵𝑥𝐶) ∧ (𝑥𝐵 → ¬ 𝑥𝐴)))
107, 8, 93bitr4g 313 . . . 4 ((𝐴𝐶𝐵𝐶) → ((𝑥𝐴 → (𝑥𝐶 ∧ ¬ 𝑥𝐵)) ↔ (𝑥𝐵 → (𝑥𝐶 ∧ ¬ 𝑥𝐴))))
11 eldif 3901 . . . . 5 (𝑥 ∈ (𝐶𝐵) ↔ (𝑥𝐶 ∧ ¬ 𝑥𝐵))
1211imbi2i 335 . . . 4 ((𝑥𝐴𝑥 ∈ (𝐶𝐵)) ↔ (𝑥𝐴 → (𝑥𝐶 ∧ ¬ 𝑥𝐵)))
13 eldif 3901 . . . . 5 (𝑥 ∈ (𝐶𝐴) ↔ (𝑥𝐶 ∧ ¬ 𝑥𝐴))
1413imbi2i 335 . . . 4 ((𝑥𝐵𝑥 ∈ (𝐶𝐴)) ↔ (𝑥𝐵 → (𝑥𝐶 ∧ ¬ 𝑥𝐴)))
1510, 12, 143bitr4g 313 . . 3 ((𝐴𝐶𝐵𝐶) → ((𝑥𝐴𝑥 ∈ (𝐶𝐵)) ↔ (𝑥𝐵𝑥 ∈ (𝐶𝐴))))
1615albidv 1926 . 2 ((𝐴𝐶𝐵𝐶) → (∀𝑥(𝑥𝐴𝑥 ∈ (𝐶𝐵)) ↔ ∀𝑥(𝑥𝐵𝑥 ∈ (𝐶𝐴))))
17 dfss2 3911 . 2 (𝐴 ⊆ (𝐶𝐵) ↔ ∀𝑥(𝑥𝐴𝑥 ∈ (𝐶𝐵)))
18 dfss2 3911 . 2 (𝐵 ⊆ (𝐶𝐴) ↔ ∀𝑥(𝑥𝐵𝑥 ∈ (𝐶𝐴)))
1916, 17, 183bitr4g 313 1 ((𝐴𝐶𝐵𝐶) → (𝐴 ⊆ (𝐶𝐵) ↔ 𝐵 ⊆ (𝐶𝐴)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  wal 1539  wcel 2109  cdif 3888  wss 3891
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1801  ax-4 1815  ax-5 1916  ax-6 1974  ax-7 2014  ax-8 2111  ax-9 2119  ax-ext 2710
This theorem depends on definitions:  df-bi 206  df-an 396  df-tru 1544  df-ex 1786  df-sb 2071  df-clab 2717  df-cleq 2731  df-clel 2817  df-v 3432  df-dif 3894  df-in 3898  df-ss 3908
This theorem is referenced by:  pssdifcom1  4425  pssdifcom2  4426  sbthlem1  8839  sbthlem2  8840  rpnnen2lem11  15914  setscom  16862  dpjidcl  19642  clsval2  22182  regsep2  22508  cyc3conja  31403  ordtconnlem1  31853  conss2  42014
  Copyright terms: Public domain W3C validator