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

Theorem mptun 6677
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 5187 . 2 (𝑥 ∈ (𝐴 ∪ 𝐵) ↦ 𝐶) = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ (𝐴 ∪ 𝐵) ∧ 𝑦 = 𝐶)}
2 df-mpt 5187 . . . 4 (𝑥 ∈ 𝐴 ↦ 𝐶) = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶)}
3 df-mpt 5187 . . . 4 (𝑥 ∈ 𝐵 ↦ 𝐶) = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐵 ∧ 𝑦 = 𝐶)}
42, 3uneq12i 4113 . . 3 ((𝑥 ∈ 𝐴 ↦ 𝐶) ∪ (𝑥 ∈ 𝐵 ↦ 𝐶)) = ({⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶)} ∪ {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐵 ∧ 𝑦 = 𝐶)})
5 elun 4100 . . . . . . 7 (𝑥 ∈ (𝐴 ∪ 𝐵) ↔ (𝑥 ∈ 𝐴 ∨ 𝑥 ∈ 𝐵))
65anbi1i 636 . . . . . 6 ((𝑥 ∈ (𝐴 ∪ 𝐵) ∧ 𝑦 = 𝐶) ↔ ((𝑥 ∈ 𝐴 ∨ 𝑥 ∈ 𝐵) ∧ 𝑦 = 𝐶))
7 andir 1026 . . . . . 6 (((𝑥 ∈ 𝐴 ∨ 𝑥 ∈ 𝐵) ∧ 𝑦 = 𝐶) ↔ ((𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶) ∨ (𝑥 ∈ 𝐵 ∧ 𝑦 = 𝐶)))
86, 7bitri 278 . . . . 5 ((𝑥 ∈ (𝐴 ∪ 𝐵) ∧ 𝑦 = 𝐶) ↔ ((𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶) ∨ (𝑥 ∈ 𝐵 ∧ 𝑦 = 𝐶)))
98opabbii 5172 . . . 4 {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ (𝐴 ∪ 𝐵) ∧ 𝑦 = 𝐶)} = {⟨𝑥, 𝑦⟩ ∣ ((𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶) ∨ (𝑥 ∈ 𝐵 ∧ 𝑦 = 𝐶))}
10 unopab 5185 . . . 4 ({⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶)} ∪ {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐵 ∧ 𝑦 = 𝐶)}) = {⟨𝑥, 𝑦⟩ ∣ ((𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶) ∨ (𝑥 ∈ 𝐵 ∧ 𝑦 = 𝐶))}
119, 10eqtr4i 2787 . . 3 {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ (𝐴 ∪ 𝐵) ∧ 𝑦 = 𝐶)} = ({⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶)} ∪ {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐵 ∧ 𝑦 = 𝐶)})
124, 11eqtr4i 2787 . 2 ((𝑥 ∈ 𝐴 ↦ 𝐶) ∪ (𝑥 ∈ 𝐵 ↦ 𝐶)) = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ (𝐴 ∪ 𝐵) ∧ 𝑦 = 𝐶)}
131, 12eqtr4i 2787 1 (𝑥 ∈ (𝐴 ∪ 𝐵) ↦ 𝐶) = ((𝑥 ∈ 𝐴 ↦ 𝐶) ∪ (𝑥 ∈ 𝐵 ↦ 𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   ∨ wo 861   = wceq 1570   ∈ wcel 2145   ∪ cun 3897  {copab 5167   ↦ cmpt 5186
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-opab 5168  df-mpt 5187
This theorem is used by:  partfun  6678  fmptap  7167  fmptapd  7168  fmptunsnop  33275  esumrnmpt2  34682  ptrest  38505  fsuppssind  43583  dftpos5  49926
  Copyright terms: Public domain W3C validator