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

Theorem uniin 4824
Description: The class union of the intersection of two classes. Exercise 4.12(n) of [Mendelson] p. 235. See uniinqs 8360 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 1887 . . . 4 (∃𝑦((𝑥𝑦𝑦𝐴) ∧ (𝑥𝑦𝑦𝐵)) → (∃𝑦(𝑥𝑦𝑦𝐴) ∧ ∃𝑦(𝑥𝑦𝑦𝐵)))
2 elin 3897 . . . . . . 7 (𝑦 ∈ (𝐴𝐵) ↔ (𝑦𝐴𝑦𝐵))
32anbi2i 625 . . . . . 6 ((𝑥𝑦𝑦 ∈ (𝐴𝐵)) ↔ (𝑥𝑦 ∧ (𝑦𝐴𝑦𝐵)))
4 anandi 675 . . . . . 6 ((𝑥𝑦 ∧ (𝑦𝐴𝑦𝐵)) ↔ ((𝑥𝑦𝑦𝐴) ∧ (𝑥𝑦𝑦𝐵)))
53, 4bitri 278 . . . . 5 ((𝑥𝑦𝑦 ∈ (𝐴𝐵)) ↔ ((𝑥𝑦𝑦𝐴) ∧ (𝑥𝑦𝑦𝐵)))
65exbii 1849 . . . 4 (∃𝑦(𝑥𝑦𝑦 ∈ (𝐴𝐵)) ↔ ∃𝑦((𝑥𝑦𝑦𝐴) ∧ (𝑥𝑦𝑦𝐵)))
7 eluni 4803 . . . . 5 (𝑥 𝐴 ↔ ∃𝑦(𝑥𝑦𝑦𝐴))
8 eluni 4803 . . . . 5 (𝑥 𝐵 ↔ ∃𝑦(𝑥𝑦𝑦𝐵))
97, 8anbi12i 629 . . . 4 ((𝑥 𝐴𝑥 𝐵) ↔ (∃𝑦(𝑥𝑦𝑦𝐴) ∧ ∃𝑦(𝑥𝑦𝑦𝐵)))
101, 6, 93imtr4i 295 . . 3 (∃𝑦(𝑥𝑦𝑦 ∈ (𝐴𝐵)) → (𝑥 𝐴𝑥 𝐵))
11 eluni 4803 . . 3 (𝑥 (𝐴𝐵) ↔ ∃𝑦(𝑥𝑦𝑦 ∈ (𝐴𝐵)))
12 elin 3897 . . 3 (𝑥 ∈ ( 𝐴 𝐵) ↔ (𝑥 𝐴𝑥 𝐵))
1310, 11, 123imtr4i 295 . 2 (𝑥 (𝐴𝐵) → 𝑥 ∈ ( 𝐴 𝐵))
1413ssriv 3919 1 (𝐴𝐵) ⊆ ( 𝐴 𝐵)
Colors of variables: wff setvar class
Syntax hints:  wa 399  wex 1781  wcel 2111  cin 3880  wss 3881   cuni 4800
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-ext 2770
This theorem depends on definitions:  df-bi 210  df-an 400  df-ex 1782  df-sb 2070  df-clab 2777  df-cleq 2791  df-clel 2870  df-v 3443  df-in 3888  df-ss 3898  df-uni 4801
This theorem is referenced by:  uniinqs  8360  psss  17816  tgval  21560  mapdunirnN  38946
  Copyright terms: Public domain W3C validator