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

Theorem undi 4231
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 3915 . . . 4 (𝑥 ∈ (𝐵 ∩ 𝐶) ↔ (𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐶))
21orbi2i 926 . . 3 ((𝑥 ∈ 𝐴 ∨ 𝑥 ∈ (𝐵 ∩ 𝐶)) ↔ (𝑥 ∈ 𝐴 ∨ (𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐶)))
3 ordi 1023 . . 3 ((𝑥 ∈ 𝐴 ∨ (𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐶)) ↔ ((𝑥 ∈ 𝐴 ∨ 𝑥 ∈ 𝐵) ∧ (𝑥 ∈ 𝐴 ∨ 𝑥 ∈ 𝐶)))
4 elin 3915 . . . 4 (𝑥 ∈ ((𝐴 ∪ 𝐵) ∩ (𝐴 ∪ 𝐶)) ↔ (𝑥 ∈ (𝐴 ∪ 𝐵) ∧ 𝑥 ∈ (𝐴 ∪ 𝐶)))
5 elun 4100 . . . . 5 (𝑥 ∈ (𝐴 ∪ 𝐵) ↔ (𝑥 ∈ 𝐴 ∨ 𝑥 ∈ 𝐵))
6 elun 4100 . . . . 5 (𝑥 ∈ (𝐴 ∪ 𝐶) ↔ (𝑥 ∈ 𝐴 ∨ 𝑥 ∈ 𝐶))
75, 6anbi12i 640 . . . 4 ((𝑥 ∈ (𝐴 ∪ 𝐵) ∧ 𝑥 ∈ (𝐴 ∪ 𝐶)) ↔ ((𝑥 ∈ 𝐴 ∨ 𝑥 ∈ 𝐵) ∧ (𝑥 ∈ 𝐴 ∨ 𝑥 ∈ 𝐶)))
84, 7bitr2i 279 . . 3 (((𝑥 ∈ 𝐴 ∨ 𝑥 ∈ 𝐵) ∧ (𝑥 ∈ 𝐴 ∨ 𝑥 ∈ 𝐶)) ↔ 𝑥 ∈ ((𝐴 ∪ 𝐵) ∩ (𝐴 ∪ 𝐶)))
92, 3, 83bitri 300 . 2 ((𝑥 ∈ 𝐴 ∨ 𝑥 ∈ (𝐵 ∩ 𝐶)) ↔ 𝑥 ∈ ((𝐴 ∪ 𝐵) ∩ (𝐴 ∪ 𝐶)))
109uneqri 4103 1 (𝐴 ∪ (𝐵 ∩ 𝐶)) = ((𝐴 ∪ 𝐵) ∩ (𝐴 ∪ 𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   ∨ wo 861   = wceq 1570   ∈ wcel 2145   ∪ cun 3897   ∩ cin 3898
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-ext 2733
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1573  df-ex 1813  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-v 3453  df-un 3904  df-in 3906
This theorem is used by:  undir  4233  dfif4  4498  dfif5  4499
  Copyright terms: Public domain W3C validator