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

Theorem mptun 5254
Description: Union of mappings which are mutually compatible. (Contributed by Mario Carneiro, 31-Aug-2015.)
Assertion
Ref Expression
mptun (𝑥 ∈ (𝐴𝐵) ↦ 𝐶) = ((𝑥𝐴𝐶) ∪ (𝑥𝐵𝐶))

Proof of Theorem mptun
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 df-mpt 3991 . 2 (𝑥 ∈ (𝐴𝐵) ↦ 𝐶) = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ (𝐴𝐵) ∧ 𝑦 = 𝐶)}
2 df-mpt 3991 . . . 4 (𝑥𝐴𝐶) = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 = 𝐶)}
3 df-mpt 3991 . . . 4 (𝑥𝐵𝐶) = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐵𝑦 = 𝐶)}
42, 3uneq12i 3228 . . 3 ((𝑥𝐴𝐶) ∪ (𝑥𝐵𝐶)) = ({⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 = 𝐶)} ∪ {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐵𝑦 = 𝐶)})
5 elun 3217 . . . . . . 7 (𝑥 ∈ (𝐴𝐵) ↔ (𝑥𝐴𝑥𝐵))
65anbi1i 453 . . . . . 6 ((𝑥 ∈ (𝐴𝐵) ∧ 𝑦 = 𝐶) ↔ ((𝑥𝐴𝑥𝐵) ∧ 𝑦 = 𝐶))
7 andir 808 . . . . . 6 (((𝑥𝐴𝑥𝐵) ∧ 𝑦 = 𝐶) ↔ ((𝑥𝐴𝑦 = 𝐶) ∨ (𝑥𝐵𝑦 = 𝐶)))
86, 7bitri 183 . . . . 5 ((𝑥 ∈ (𝐴𝐵) ∧ 𝑦 = 𝐶) ↔ ((𝑥𝐴𝑦 = 𝐶) ∨ (𝑥𝐵𝑦 = 𝐶)))
98opabbii 3995 . . . 4 {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ (𝐴𝐵) ∧ 𝑦 = 𝐶)} = {⟨𝑥, 𝑦⟩ ∣ ((𝑥𝐴𝑦 = 𝐶) ∨ (𝑥𝐵𝑦 = 𝐶))}
10 unopab 4007 . . . 4 ({⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 = 𝐶)} ∪ {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐵𝑦 = 𝐶)}) = {⟨𝑥, 𝑦⟩ ∣ ((𝑥𝐴𝑦 = 𝐶) ∨ (𝑥𝐵𝑦 = 𝐶))}
119, 10eqtr4i 2163 . . 3 {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ (𝐴𝐵) ∧ 𝑦 = 𝐶)} = ({⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 = 𝐶)} ∪ {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐵𝑦 = 𝐶)})
124, 11eqtr4i 2163 . 2 ((𝑥𝐴𝐶) ∪ (𝑥𝐵𝐶)) = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ (𝐴𝐵) ∧ 𝑦 = 𝐶)}
131, 12eqtr4i 2163 1 (𝑥 ∈ (𝐴𝐵) ↦ 𝐶) = ((𝑥𝐴𝐶) ∪ (𝑥𝐵𝐶))
Colors of variables: wff set class
Syntax hints:  wa 103  wo 697   = wceq 1331  wcel 1480  cun 3069  {copab 3988  cmpt 3989
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 698  ax-5 1423  ax-7 1424  ax-gen 1425  ax-ie1 1469  ax-ie2 1470  ax-8 1482  ax-10 1483  ax-11 1484  ax-i12 1485  ax-bndl 1486  ax-4 1487  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-ext 2121
This theorem depends on definitions:  df-bi 116  df-tru 1334  df-nf 1437  df-sb 1736  df-clab 2126  df-cleq 2132  df-clel 2135  df-nfc 2270  df-v 2688  df-un 3075  df-opab 3990  df-mpt 3991
This theorem is referenced by:  fmptap  5610  fmptapd  5611
  Copyright terms: Public domain W3C validator