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

Theorem undi 4232
Description: Distributive law for union over intersection. Exercise 11 of [TakeutiZaring] p. 17. (Contributed by NM, 30-Sep-2002.) (Proof shortened by Andrew Salmon, 26-Jun-2011.)
Assertion
Ref Expression
undi (𝐴 ∪ (𝐵 ∩ 𝐶)) = ((𝐴 ∪ 𝐵) ∩ (𝐴 ∪ 𝐶))

Proof of Theorem undi
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 elin 4095 . . . 4 (𝑥 ∈ (𝐵 ∩ 𝐶) ↔ (𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐶))
21orbi2i 926 . . 3 ((𝑥 ∈ 𝐴 ∨ 𝑥 ∈ (𝐵 ∩ 𝐶)) ↔ (𝑥 ∈ 𝐴 ∨ (𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐶)))
3 ordi 1023 . . 3 ((𝑥 ∈ 𝐴 ∨ (𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐶)) ↔ ((𝑥 ∈ 𝐴 ∨ 𝑥 ∈ 𝐵) ∧ (𝑥 ∈ 𝐴 ∨ 𝑥 ∈ 𝐶)))
4 elin 4095 . . . 4 (𝑥 ∈ ((𝐴 ∪ 𝐵) ∩ (𝐴 ∪ 𝐶)) ↔ (𝑥 ∈ (𝐴 ∪ 𝐵) ∧ 𝑥 ∈ (𝐴 ∪ 𝐶)))
5 elun 4154 . . . . 5 (𝑥 ∈ (𝐴 ∪ 𝐵) ↔ (𝑥 ∈ 𝐴 ∨ 𝑥 ∈ 𝐵))
6 elun 4154 . . . . 5 (𝑥 ∈ (𝐴 ∪ 𝐶) ↔ (𝑥 ∈ 𝐴 ∨ 𝑥 ∈ 𝐶))
75, 6anbi12i 640 . . . 4 ((𝑥 ∈ (𝐴 ∪ 𝐵) ∧ 𝑥 ∈ (𝐴 ∪ 𝐶)) ↔ ((𝑥 ∈ 𝐴 ∨ 𝑥 ∈ 𝐵) ∧ (𝑥 ∈ 𝐴 ∨ 𝑥 ∈ 𝐶)))
84, 7bitr2i 279 . . 3 (((𝑥 ∈ 𝐴 ∨ 𝑥 ∈ 𝐵) ∧ (𝑥 ∈ 𝐴 ∨ 𝑥 ∈ 𝐶)) ↔ 𝑥 ∈ ((𝐴 ∪ 𝐵) ∩ (𝐴 ∪ 𝐶)))
92, 3, 83bitri 300 . 2 ((𝑥 ∈ 𝐴 ∨ 𝑥 ∈ (𝐵 ∩ 𝐶)) ↔ 𝑥 ∈ ((𝐴 ∪ 𝐵) ∩ (𝐴 ∪ 𝐶)))
109uneqri 4157 1 (𝐴 ∪ (𝐵 ∩ 𝐶)) = ((𝐴 ∪ 𝐵) ∩ (𝐴 ∪ 𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   ∨ wo 861   = wceq 1569   ∈ wcel 2146   ∩ cin 4091   ∪ cun 4151
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1572  df-ex 1812  df-sb 2101  df-clab 2742  df-cleq 2755  df-clel 2838  df-v 3455  df-in 4093  df-un 4153
This theorem is used by:  undir  4234  dfif4  4500  dfif5  4501
  Copyright terms: Public domain W3C validator