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

Theorem coundir 4823
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 3836 . . 3 ({⟨𝑥, 𝑧⟩ ∣ ∃𝑦(𝑥𝐶𝑦𝑦𝐴𝑧)} ∪ {⟨𝑥, 𝑧⟩ ∣ ∃𝑦(𝑥𝐶𝑦𝑦𝐵𝑧)}) = {⟨𝑥, 𝑧⟩ ∣ (∃𝑦(𝑥𝐶𝑦𝑦𝐴𝑧) ∨ ∃𝑦(𝑥𝐶𝑦𝑦𝐵𝑧))}
2 brun 3810 . . . . . . . 8 (𝑦(𝐴𝐵)𝑧 ↔ (𝑦𝐴𝑧𝑦𝐵𝑧))
32anbi2i 430 . . . . . . 7 ((𝑥𝐶𝑦𝑦(𝐴𝐵)𝑧) ↔ (𝑥𝐶𝑦 ∧ (𝑦𝐴𝑧𝑦𝐵𝑧)))
4 andi 731 . . . . . . 7 ((𝑥𝐶𝑦 ∧ (𝑦𝐴𝑧𝑦𝐵𝑧)) ↔ ((𝑥𝐶𝑦𝑦𝐴𝑧) ∨ (𝑥𝐶𝑦𝑦𝐵𝑧)))
53, 4bitri 173 . . . . . 6 ((𝑥𝐶𝑦𝑦(𝐴𝐵)𝑧) ↔ ((𝑥𝐶𝑦𝑦𝐴𝑧) ∨ (𝑥𝐶𝑦𝑦𝐵𝑧)))
65exbii 1496 . . . . 5 (∃𝑦(𝑥𝐶𝑦𝑦(𝐴𝐵)𝑧) ↔ ∃𝑦((𝑥𝐶𝑦𝑦𝐴𝑧) ∨ (𝑥𝐶𝑦𝑦𝐵𝑧)))
7 19.43 1519 . . . . 5 (∃𝑦((𝑥𝐶𝑦𝑦𝐴𝑧) ∨ (𝑥𝐶𝑦𝑦𝐵𝑧)) ↔ (∃𝑦(𝑥𝐶𝑦𝑦𝐴𝑧) ∨ ∃𝑦(𝑥𝐶𝑦𝑦𝐵𝑧)))
86, 7bitr2i 174 . . . 4 ((∃𝑦(𝑥𝐶𝑦𝑦𝐴𝑧) ∨ ∃𝑦(𝑥𝐶𝑦𝑦𝐵𝑧)) ↔ ∃𝑦(𝑥𝐶𝑦𝑦(𝐴𝐵)𝑧))
98opabbii 3824 . . 3 {⟨𝑥, 𝑧⟩ ∣ (∃𝑦(𝑥𝐶𝑦𝑦𝐴𝑧) ∨ ∃𝑦(𝑥𝐶𝑦𝑦𝐵𝑧))} = {⟨𝑥, 𝑧⟩ ∣ ∃𝑦(𝑥𝐶𝑦𝑦(𝐴𝐵)𝑧)}
101, 9eqtri 2060 . 2 ({⟨𝑥, 𝑧⟩ ∣ ∃𝑦(𝑥𝐶𝑦𝑦𝐴𝑧)} ∪ {⟨𝑥, 𝑧⟩ ∣ ∃𝑦(𝑥𝐶𝑦𝑦𝐵𝑧)}) = {⟨𝑥, 𝑧⟩ ∣ ∃𝑦(𝑥𝐶𝑦𝑦(𝐴𝐵)𝑧)}
11 df-co 4354 . . 3 (𝐴𝐶) = {⟨𝑥, 𝑧⟩ ∣ ∃𝑦(𝑥𝐶𝑦𝑦𝐴𝑧)}
12 df-co 4354 . . 3 (𝐵𝐶) = {⟨𝑥, 𝑧⟩ ∣ ∃𝑦(𝑥𝐶𝑦𝑦𝐵𝑧)}
1311, 12uneq12i 3095 . 2 ((𝐴𝐶) ∪ (𝐵𝐶)) = ({⟨𝑥, 𝑧⟩ ∣ ∃𝑦(𝑥𝐶𝑦𝑦𝐴𝑧)} ∪ {⟨𝑥, 𝑧⟩ ∣ ∃𝑦(𝑥𝐶𝑦𝑦𝐵𝑧)})
14 df-co 4354 . 2 ((𝐴𝐵) ∘ 𝐶) = {⟨𝑥, 𝑧⟩ ∣ ∃𝑦(𝑥𝐶𝑦𝑦(𝐴𝐵)𝑧)}
1510, 13, 143eqtr4ri 2071 1 ((𝐴𝐵) ∘ 𝐶) = ((𝐴𝐶) ∪ (𝐵𝐶))
Colors of variables: wff set class
Syntax hints:  wa 97  wo 629   = wceq 1243  wex 1381  cun 2915   class class class wbr 3764  {copab 3817  ccom 4349
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 99  ax-ia2 100  ax-ia3 101  ax-io 630  ax-5 1336  ax-7 1337  ax-gen 1338  ax-ie1 1382  ax-ie2 1383  ax-8 1395  ax-10 1396  ax-11 1397  ax-i12 1398  ax-bndl 1399  ax-4 1400  ax-17 1419  ax-i9 1423  ax-ial 1427  ax-i5r 1428  ax-ext 2022
This theorem depends on definitions:  df-bi 110  df-tru 1246  df-nf 1350  df-sb 1646  df-clab 2027  df-cleq 2033  df-clel 2036  df-nfc 2167  df-v 2559  df-un 2922  df-br 3765  df-opab 3819  df-co 4354
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator