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

Theorem uniin 4850
Description: The class union of the intersection of two classes. Exercise 4.12(n) of [Mendelson] p. 235. See uniinqs 8369 for a condition where equality holds. (Contributed by NM, 4-Dec-2003.) (Proof shortened by Andrew Salmon, 29-Jun-2011.)
Assertion
Ref Expression
uniin (𝐴𝐵) ⊆ ( 𝐴 𝐵)

Proof of Theorem uniin
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 19.40 1881 . . . 4 (∃𝑦((𝑥𝑦𝑦𝐴) ∧ (𝑥𝑦𝑦𝐵)) → (∃𝑦(𝑥𝑦𝑦𝐴) ∧ ∃𝑦(𝑥𝑦𝑦𝐵)))
2 elin 4167 . . . . . . 7 (𝑦 ∈ (𝐴𝐵) ↔ (𝑦𝐴𝑦𝐵))
32anbi2i 624 . . . . . 6 ((𝑥𝑦𝑦 ∈ (𝐴𝐵)) ↔ (𝑥𝑦 ∧ (𝑦𝐴𝑦𝐵)))
4 anandi 674 . . . . . 6 ((𝑥𝑦 ∧ (𝑦𝐴𝑦𝐵)) ↔ ((𝑥𝑦𝑦𝐴) ∧ (𝑥𝑦𝑦𝐵)))
53, 4bitri 277 . . . . 5 ((𝑥𝑦𝑦 ∈ (𝐴𝐵)) ↔ ((𝑥𝑦𝑦𝐴) ∧ (𝑥𝑦𝑦𝐵)))
65exbii 1842 . . . 4 (∃𝑦(𝑥𝑦𝑦 ∈ (𝐴𝐵)) ↔ ∃𝑦((𝑥𝑦𝑦𝐴) ∧ (𝑥𝑦𝑦𝐵)))
7 eluni 4833 . . . . 5 (𝑥 𝐴 ↔ ∃𝑦(𝑥𝑦𝑦𝐴))
8 eluni 4833 . . . . 5 (𝑥 𝐵 ↔ ∃𝑦(𝑥𝑦𝑦𝐵))
97, 8anbi12i 628 . . . 4 ((𝑥 𝐴𝑥 𝐵) ↔ (∃𝑦(𝑥𝑦𝑦𝐴) ∧ ∃𝑦(𝑥𝑦𝑦𝐵)))
101, 6, 93imtr4i 294 . . 3 (∃𝑦(𝑥𝑦𝑦 ∈ (𝐴𝐵)) → (𝑥 𝐴𝑥 𝐵))
11 eluni 4833 . . 3 (𝑥 (𝐴𝐵) ↔ ∃𝑦(𝑥𝑦𝑦 ∈ (𝐴𝐵)))
12 elin 4167 . . 3 (𝑥 ∈ ( 𝐴 𝐵) ↔ (𝑥 𝐴𝑥 𝐵))
1310, 11, 123imtr4i 294 . 2 (𝑥 (𝐴𝐵) → 𝑥 ∈ ( 𝐴 𝐵))
1413ssriv 3969 1 (𝐴𝐵) ⊆ ( 𝐴 𝐵)
Colors of variables: wff setvar class
Syntax hints:  wa 398  wex 1774  wcel 2108  cin 3933  wss 3934   cuni 4830
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1790  ax-4 1804  ax-5 1905  ax-6 1964  ax-7 2009  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2154  ax-12 2170  ax-ext 2791
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1534  df-ex 1775  df-nf 1779  df-sb 2064  df-clab 2798  df-cleq 2812  df-clel 2891  df-nfc 2961  df-v 3495  df-in 3941  df-ss 3950  df-uni 4831
This theorem is referenced by:  uniinqs  8369  psss  17816  tgval  21555  mapdunirnN  38778
  Copyright terms: Public domain W3C validator