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

Theorem unopab 5156
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 2742 . . . . . 6 (𝑧 = 𝑤 → (𝑧 = ⟨𝑥, 𝑦⟩ ↔ 𝑤 = ⟨𝑥, 𝑦⟩))
21anbi1d 630 . . . . 5 (𝑧 = 𝑤 → ((𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ↔ (𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)))
322exbidv 1927 . . . 4 (𝑧 = 𝑤 → (∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ↔ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)))
41anbi1d 630 . . . . 5 (𝑧 = 𝑤 → ((𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓) ↔ (𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)))
542exbidv 1927 . . . 4 (𝑧 = 𝑤 → (∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓) ↔ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)))
63, 5unabw 4231 . . 3 ({𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)} ∪ {𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)}) = {𝑤 ∣ (∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜓))}
7 19.43 1885 . . . . 5 (∃𝑥(∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ ∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)) ↔ (∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)))
8 andi 1005 . . . . . . . 8 ((𝑤 = ⟨𝑥, 𝑦⟩ ∧ (𝜑𝜓)) ↔ ((𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ (𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)))
98exbii 1850 . . . . . . 7 (∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ (𝜑𝜓)) ↔ ∃𝑦((𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ (𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)))
10 19.43 1885 . . . . . . 7 (∃𝑦((𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ (𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)) ↔ (∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ ∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)))
119, 10bitr2i 275 . . . . . 6 ((∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ ∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)) ↔ ∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ (𝜑𝜓)))
1211exbii 1850 . . . . 5 (∃𝑥(∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ ∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)) ↔ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ (𝜑𝜓)))
137, 12bitr3i 276 . . . 4 ((∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)) ↔ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ (𝜑𝜓)))
1413abbii 2808 . . 3 {𝑤 ∣ (∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜓))} = {𝑤 ∣ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ (𝜑𝜓))}
156, 14eqtri 2766 . 2 ({𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)} ∪ {𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)}) = {𝑤 ∣ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ (𝜑𝜓))}
16 df-opab 5137 . . 3 {⟨𝑥, 𝑦⟩ ∣ 𝜑} = {𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)}
17 df-opab 5137 . . 3 {⟨𝑥, 𝑦⟩ ∣ 𝜓} = {𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)}
1816, 17uneq12i 4095 . 2 ({⟨𝑥, 𝑦⟩ ∣ 𝜑} ∪ {⟨𝑥, 𝑦⟩ ∣ 𝜓}) = ({𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)} ∪ {𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)})
19 df-opab 5137 . 2 {⟨𝑥, 𝑦⟩ ∣ (𝜑𝜓)} = {𝑤 ∣ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ (𝜑𝜓))}
2015, 18, 193eqtr4i 2776 1 ({⟨𝑥, 𝑦⟩ ∣ 𝜑} ∪ {⟨𝑥, 𝑦⟩ ∣ 𝜓}) = {⟨𝑥, 𝑦⟩ ∣ (𝜑𝜓)}
Colors of variables: wff setvar class
Syntax hints:  wa 396  wo 844   = wceq 1539  wex 1782  {cab 2715  cun 3885  cop 4567  {copab 5136
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-tru 1542  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-v 3434  df-un 3892  df-opab 5137
This theorem is referenced by:  xpundi  5655  xpundir  5656  cnvun  6046  coundi  6151  coundir  6152  mptun  6579  opsrtoslem1  21262  lgsquadlem3  26530
  Copyright terms: Public domain W3C validator