Intuitionistic Logic Explorer < Previous   Next > Nearby theorems Mirrors  >  Home  >  ILE Home  >  Th. List  >  coundir GIF version

Theorem coundir 4850
 Description: Class composition distributes over union. (Contributed by NM, 21-Dec-2008.) (Proof shortened by Andrew Salmon, 27-Aug-2011.)
Assertion
Ref Expression
coundir ((𝐴𝐵) ∘ 𝐶) = ((𝐴𝐶) ∪ (𝐵𝐶))

Proof of Theorem coundir
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 unopab 3863 . . 3 ({⟨𝑥, 𝑧⟩ ∣ ∃𝑦(𝑥𝐶𝑦𝑦𝐴𝑧)} ∪ {⟨𝑥, 𝑧⟩ ∣ ∃𝑦(𝑥𝐶𝑦𝑦𝐵𝑧)}) = {⟨𝑥, 𝑧⟩ ∣ (∃𝑦(𝑥𝐶𝑦𝑦𝐴𝑧) ∨ ∃𝑦(𝑥𝐶𝑦𝑦𝐵𝑧))}
2 brun 3837 . . . . . . . 8 (𝑦(𝐴𝐵)𝑧 ↔ (𝑦𝐴𝑧𝑦𝐵𝑧))
32anbi2i 438 . . . . . . 7 ((𝑥𝐶𝑦𝑦(𝐴𝐵)𝑧) ↔ (𝑥𝐶𝑦 ∧ (𝑦𝐴𝑧𝑦𝐵𝑧)))
4 andi 742 . . . . . . 7 ((𝑥𝐶𝑦 ∧ (𝑦𝐴𝑧𝑦𝐵𝑧)) ↔ ((𝑥𝐶𝑦𝑦𝐴𝑧) ∨ (𝑥𝐶𝑦𝑦𝐵𝑧)))
53, 4bitri 177 . . . . . 6 ((𝑥𝐶𝑦𝑦(𝐴𝐵)𝑧) ↔ ((𝑥𝐶𝑦𝑦𝐴𝑧) ∨ (𝑥𝐶𝑦𝑦𝐵𝑧)))
65exbii 1512 . . . . 5 (∃𝑦(𝑥𝐶𝑦𝑦(𝐴𝐵)𝑧) ↔ ∃𝑦((𝑥𝐶𝑦𝑦𝐴𝑧) ∨ (𝑥𝐶𝑦𝑦𝐵𝑧)))
7 19.43 1535 . . . . 5 (∃𝑦((𝑥𝐶𝑦𝑦𝐴𝑧) ∨ (𝑥𝐶𝑦𝑦𝐵𝑧)) ↔ (∃𝑦(𝑥𝐶𝑦𝑦𝐴𝑧) ∨ ∃𝑦(𝑥𝐶𝑦𝑦𝐵𝑧)))
86, 7bitr2i 178 . . . 4 ((∃𝑦(𝑥𝐶𝑦𝑦𝐴𝑧) ∨ ∃𝑦(𝑥𝐶𝑦𝑦𝐵𝑧)) ↔ ∃𝑦(𝑥𝐶𝑦𝑦(𝐴𝐵)𝑧))
98opabbii 3851 . . 3 {⟨𝑥, 𝑧⟩ ∣ (∃𝑦(𝑥𝐶𝑦𝑦𝐴𝑧) ∨ ∃𝑦(𝑥𝐶𝑦𝑦𝐵𝑧))} = {⟨𝑥, 𝑧⟩ ∣ ∃𝑦(𝑥𝐶𝑦𝑦(𝐴𝐵)𝑧)}
101, 9eqtri 2076 . 2 ({⟨𝑥, 𝑧⟩ ∣ ∃𝑦(𝑥𝐶𝑦𝑦𝐴𝑧)} ∪ {⟨𝑥, 𝑧⟩ ∣ ∃𝑦(𝑥𝐶𝑦𝑦𝐵𝑧)}) = {⟨𝑥, 𝑧⟩ ∣ ∃𝑦(𝑥𝐶𝑦𝑦(𝐴𝐵)𝑧)}
11 df-co 4381 . . 3 (𝐴𝐶) = {⟨𝑥, 𝑧⟩ ∣ ∃𝑦(𝑥𝐶𝑦𝑦𝐴𝑧)}
12 df-co 4381 . . 3 (𝐵𝐶) = {⟨𝑥, 𝑧⟩ ∣ ∃𝑦(𝑥𝐶𝑦𝑦𝐵𝑧)}
1311, 12uneq12i 3122 . 2 ((𝐴𝐶) ∪ (𝐵𝐶)) = ({⟨𝑥, 𝑧⟩ ∣ ∃𝑦(𝑥𝐶𝑦𝑦𝐴𝑧)} ∪ {⟨𝑥, 𝑧⟩ ∣ ∃𝑦(𝑥𝐶𝑦𝑦𝐵𝑧)})
14 df-co 4381 . 2 ((𝐴𝐵) ∘ 𝐶) = {⟨𝑥, 𝑧⟩ ∣ ∃𝑦(𝑥𝐶𝑦𝑦(𝐴𝐵)𝑧)}
1510, 13, 143eqtr4ri 2087 1 ((𝐴𝐵) ∘ 𝐶) = ((𝐴𝐶) ∪ (𝐵𝐶))
 Colors of variables: wff set class Syntax hints:   ∧ wa 101   ∨ wo 639   = wceq 1259  ∃wex 1397   ∪ cun 2942   class class class wbr 3791  {copab 3844   ∘ ccom 4376 This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 103  ax-ia2 104  ax-ia3 105  ax-io 640  ax-5 1352  ax-7 1353  ax-gen 1354  ax-ie1 1398  ax-ie2 1399  ax-8 1411  ax-10 1412  ax-11 1413  ax-i12 1414  ax-bndl 1415  ax-4 1416  ax-17 1435  ax-i9 1439  ax-ial 1443  ax-i5r 1444  ax-ext 2038 This theorem depends on definitions:  df-bi 114  df-tru 1262  df-nf 1366  df-sb 1662  df-clab 2043  df-cleq 2049  df-clel 2052  df-nfc 2183  df-v 2576  df-un 2949  df-br 3792  df-opab 3846  df-co 4381 This theorem is referenced by: (None)
 Copyright terms: Public domain W3C validator