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

Theorem mptun 6707
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 5190 . 2 (𝑥 ∈ (𝐴 ∪ 𝐵) ↦ 𝐶) = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ (𝐴 ∪ 𝐵) ∧ 𝑦 = 𝐶)}
2 df-mpt 5190 . . . 4 (𝑥 ∈ 𝐴 ↦ 𝐶) = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶)}
3 df-mpt 5190 . . . 4 (𝑥 ∈ 𝐵 ↦ 𝐶) = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐵 ∧ 𝑦 = 𝐶)}
42, 3uneq12i 4168 . . 3 ((𝑥 ∈ 𝐴 ↦ 𝐶) ∪ (𝑥 ∈ 𝐵 ↦ 𝐶)) = ({⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶)} ∪ {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐵 ∧ 𝑦 = 𝐶)})
5 elun 4155 . . . . . . 7 (𝑥 ∈ (𝐴 ∪ 𝐵) ↔ (𝑥 ∈ 𝐴 ∨ 𝑥 ∈ 𝐵))
65anbi1i 636 . . . . . 6 ((𝑥 ∈ (𝐴 ∪ 𝐵) ∧ 𝑦 = 𝐶) ↔ ((𝑥 ∈ 𝐴 ∨ 𝑥 ∈ 𝐵) ∧ 𝑦 = 𝐶))
7 andir 1026 . . . . . 6 (((𝑥 ∈ 𝐴 ∨ 𝑥 ∈ 𝐵) ∧ 𝑦 = 𝐶) ↔ ((𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶) ∨ (𝑥 ∈ 𝐵 ∧ 𝑦 = 𝐶)))
86, 7bitri 278 . . . . 5 ((𝑥 ∈ (𝐴 ∪ 𝐵) ∧ 𝑦 = 𝐶) ↔ ((𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶) ∨ (𝑥 ∈ 𝐵 ∧ 𝑦 = 𝐶)))
98opabbii 5175 . . . 4 {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ (𝐴 ∪ 𝐵) ∧ 𝑦 = 𝐶)} = {⟨𝑥, 𝑦⟩ ∣ ((𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶) ∨ (𝑥 ∈ 𝐵 ∧ 𝑦 = 𝐶))}
10 unopab 5188 . . . 4 ({⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶)} ∪ {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐵 ∧ 𝑦 = 𝐶)}) = {⟨𝑥, 𝑦⟩ ∣ ((𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶) ∨ (𝑥 ∈ 𝐵 ∧ 𝑦 = 𝐶))}
119, 10eqtr4i 2789 . . 3 {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ (𝐴 ∪ 𝐵) ∧ 𝑦 = 𝐶)} = ({⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶)} ∪ {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐵 ∧ 𝑦 = 𝐶)})
124, 11eqtr4i 2789 . 2 ((𝑥 ∈ 𝐴 ↦ 𝐶) ∪ (𝑥 ∈ 𝐵 ↦ 𝐶)) = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ (𝐴 ∪ 𝐵) ∧ 𝑦 = 𝐶)}
131, 12eqtr4i 2789 1 (𝑥 ∈ (𝐴 ∪ 𝐵) ↦ 𝐶) = ((𝑥 ∈ 𝐴 ↦ 𝐶) ∪ (𝑥 ∈ 𝐵 ↦ 𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   ∨ wo 861   = wceq 1570   ∈ wcel 2147   ∪ cun 4152  {copab 5170   ↦ cmpt 5189
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1573  df-ex 1813  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-v 3456  df-un 4154  df-opab 5171  df-mpt 5190
This theorem is used by:  partfun  6708  fmptap  7198  fmptapd  7199  fmptunsnop  33364  esumrnmpt2  34770  ptrest  38729  fsuppssind  43814  dftpos5  50192
  Copyright terms: Public domain W3C validator