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

Theorem unopab 5184
Description: Union of two ordered pair class abstractions. (Contributed by NM, 30-Sep-2002.)
Assertion
Ref Expression
unopab ({⟨𝑥, 𝑦⟩ ∣ 𝜑} ∪ {⟨𝑥, 𝑦⟩ ∣ 𝜓}) = {⟨𝑥, 𝑦⟩ ∣ (𝜑 ∨ 𝜓)}

Proof of Theorem unopab
Dummy variables 𝑧 𝑤 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eqeq1 2764 . . . . . 6 (𝑧 = 𝑤 → (𝑧 = ⟨𝑥, 𝑦⟩ ↔ 𝑤 = ⟨𝑥, 𝑦⟩))
21anbi1d 643 . . . . 5 (𝑧 = 𝑤 → ((𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ↔ (𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)))
322exbidv 1956 . . . 4 (𝑧 = 𝑤 → (∃𝑥∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ↔ ∃𝑥∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)))
41anbi1d 643 . . . . 5 (𝑧 = 𝑤 → ((𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓) ↔ (𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)))
542exbidv 1956 . . . 4 (𝑧 = 𝑤 → (∃𝑥∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓) ↔ ∃𝑥∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)))
63, 5unabw 4252 . . 3 ({𝑧 ∣ ∃𝑥∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)} ∪ {𝑧 ∣ ∃𝑥∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)}) = {𝑤 ∣ (∃𝑥∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ ∃𝑥∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜓))}
7 19.43 1914 . . . . 5 (∃𝑥(∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ ∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)) ↔ (∃𝑥∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ ∃𝑥∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)))
8 andi 1025 . . . . . . . 8 ((𝑤 = ⟨𝑥, 𝑦⟩ ∧ (𝜑 ∨ 𝜓)) ↔ ((𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ (𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)))
98exbii 1880 . . . . . . 7 (∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ (𝜑 ∨ 𝜓)) ↔ ∃𝑦((𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ (𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)))
10 19.43 1914 . . . . . . 7 (∃𝑦((𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ (𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)) ↔ (∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ ∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)))
119, 10bitr2i 279 . . . . . 6 ((∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ ∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)) ↔ ∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ (𝜑 ∨ 𝜓)))
1211exbii 1880 . . . . 5 (∃𝑥(∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ ∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)) ↔ ∃𝑥∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ (𝜑 ∨ 𝜓)))
137, 12bitr3i 280 . . . 4 ((∃𝑥∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ ∃𝑥∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)) ↔ ∃𝑥∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ (𝜑 ∨ 𝜓)))
1413abbii 2827 . . 3 {𝑤 ∣ (∃𝑥∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ ∃𝑥∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜓))} = {𝑤 ∣ ∃𝑥∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ (𝜑 ∨ 𝜓))}
156, 14eqtri 2783 . 2 ({𝑧 ∣ ∃𝑥∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)} ∪ {𝑧 ∣ ∃𝑥∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)}) = {𝑤 ∣ ∃𝑥∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ (𝜑 ∨ 𝜓))}
16 df-opab 5167 . . 3 {⟨𝑥, 𝑦⟩ ∣ 𝜑} = {𝑧 ∣ ∃𝑥∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)}
17 df-opab 5167 . . 3 {⟨𝑥, 𝑦⟩ ∣ 𝜓} = {𝑧 ∣ ∃𝑥∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)}
1816, 17uneq12i 4165 . 2 ({⟨𝑥, 𝑦⟩ ∣ 𝜑} ∪ {⟨𝑥, 𝑦⟩ ∣ 𝜓}) = ({𝑧 ∣ ∃𝑥∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)} ∪ {𝑧 ∣ ∃𝑥∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)})
19 df-opab 5167 . 2 {⟨𝑥, 𝑦⟩ ∣ (𝜑 ∨ 𝜓)} = {𝑤 ∣ ∃𝑥∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ (𝜑 ∨ 𝜓))}
2015, 18, 193eqtr4i 2793 1 ({⟨𝑥, 𝑦⟩ ∣ 𝜑} ∪ {⟨𝑥, 𝑦⟩ ∣ 𝜓}) = {⟨𝑥, 𝑦⟩ ∣ (𝜑 ∨ 𝜓)}
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   ∨ wo 861   = wceq 1569  ∃wex 1811  {cab 2738   ∪ cun 4149  ⟨cop 4834  {copab 5166
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1572  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-v 3452  df-un 4151  df-opab 5167
This theorem is used by:  xpundi  5719  xpundir  5720  cnvun  6132  coundi  6248  coundir  6249  mptun  6685  opsrtoslem1  22369  lgsquadlem3  27714
  Copyright terms: Public domain W3C validator