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

Theorem uniin 4865
Description: The class union of the intersection of two classes. Exercise 4.12(n) of [Mendelson] p. 235. See uniinqs 8586 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 1889 . . . 4 (∃𝑦((𝑥𝑦𝑦𝐴) ∧ (𝑥𝑦𝑦𝐵)) → (∃𝑦(𝑥𝑦𝑦𝐴) ∧ ∃𝑦(𝑥𝑦𝑦𝐵)))
2 elin 3903 . . . . . . 7 (𝑦 ∈ (𝐴𝐵) ↔ (𝑦𝐴𝑦𝐵))
32anbi2i 623 . . . . . 6 ((𝑥𝑦𝑦 ∈ (𝐴𝐵)) ↔ (𝑥𝑦 ∧ (𝑦𝐴𝑦𝐵)))
4 anandi 673 . . . . . 6 ((𝑥𝑦 ∧ (𝑦𝐴𝑦𝐵)) ↔ ((𝑥𝑦𝑦𝐴) ∧ (𝑥𝑦𝑦𝐵)))
53, 4bitri 274 . . . . 5 ((𝑥𝑦𝑦 ∈ (𝐴𝐵)) ↔ ((𝑥𝑦𝑦𝐴) ∧ (𝑥𝑦𝑦𝐵)))
65exbii 1850 . . . 4 (∃𝑦(𝑥𝑦𝑦 ∈ (𝐴𝐵)) ↔ ∃𝑦((𝑥𝑦𝑦𝐴) ∧ (𝑥𝑦𝑦𝐵)))
7 eluni 4842 . . . . 5 (𝑥 𝐴 ↔ ∃𝑦(𝑥𝑦𝑦𝐴))
8 eluni 4842 . . . . 5 (𝑥 𝐵 ↔ ∃𝑦(𝑥𝑦𝑦𝐵))
97, 8anbi12i 627 . . . 4 ((𝑥 𝐴𝑥 𝐵) ↔ (∃𝑦(𝑥𝑦𝑦𝐴) ∧ ∃𝑦(𝑥𝑦𝑦𝐵)))
101, 6, 93imtr4i 292 . . 3 (∃𝑦(𝑥𝑦𝑦 ∈ (𝐴𝐵)) → (𝑥 𝐴𝑥 𝐵))
11 eluni 4842 . . 3 (𝑥 (𝐴𝐵) ↔ ∃𝑦(𝑥𝑦𝑦 ∈ (𝐴𝐵)))
12 elin 3903 . . 3 (𝑥 ∈ ( 𝐴 𝐵) ↔ (𝑥 𝐴𝑥 𝐵))
1310, 11, 123imtr4i 292 . 2 (𝑥 (𝐴𝐵) → 𝑥 ∈ ( 𝐴 𝐵))
1413ssriv 3925 1 (𝐴𝐵) ⊆ ( 𝐴 𝐵)
Colors of variables: wff setvar class
Syntax hints:  wa 396  wex 1782  wcel 2106  cin 3886  wss 3887   cuni 4839
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 397  df-tru 1542  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-v 3434  df-in 3894  df-ss 3904  df-uni 4840
This theorem is referenced by:  uniinqs  8586  psss  18298  tgval  22105  mapdunirnN  39664
  Copyright terms: Public domain W3C validator