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

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

Proof of Theorem unopab
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 unab 4267 . . 3 ({𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)} ∪ {𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)}) = {𝑧 ∣ (∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓))}
2 19.43 1874 . . . . 5 (∃𝑥(∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ ∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)) ↔ (∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)))
3 andi 1001 . . . . . . . 8 ((𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝜑𝜓)) ↔ ((𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ (𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)))
43exbii 1839 . . . . . . 7 (∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝜑𝜓)) ↔ ∃𝑦((𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ (𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)))
5 19.43 1874 . . . . . . 7 (∃𝑦((𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ (𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)) ↔ (∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ ∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)))
64, 5bitr2i 277 . . . . . 6 ((∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ ∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)) ↔ ∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝜑𝜓)))
76exbii 1839 . . . . 5 (∃𝑥(∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ ∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)) ↔ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝜑𝜓)))
82, 7bitr3i 278 . . . 4 ((∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)) ↔ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝜑𝜓)))
98abbii 2883 . . 3 {𝑧 ∣ (∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓))} = {𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝜑𝜓))}
101, 9eqtri 2841 . 2 ({𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)} ∪ {𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)}) = {𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝜑𝜓))}
11 df-opab 5120 . . 3 {⟨𝑥, 𝑦⟩ ∣ 𝜑} = {𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)}
12 df-opab 5120 . . 3 {⟨𝑥, 𝑦⟩ ∣ 𝜓} = {𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)}
1311, 12uneq12i 4134 . 2 ({⟨𝑥, 𝑦⟩ ∣ 𝜑} ∪ {⟨𝑥, 𝑦⟩ ∣ 𝜓}) = ({𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)} ∪ {𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)})
14 df-opab 5120 . 2 {⟨𝑥, 𝑦⟩ ∣ (𝜑𝜓)} = {𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝜑𝜓))}
1510, 13, 143eqtr4i 2851 1 ({⟨𝑥, 𝑦⟩ ∣ 𝜑} ∪ {⟨𝑥, 𝑦⟩ ∣ 𝜓}) = {⟨𝑥, 𝑦⟩ ∣ (𝜑𝜓)}
Colors of variables: wff setvar class
Syntax hints:  wa 396  wo 841   = wceq 1528  wex 1771  {cab 2796  cun 3931  cop 4563  {copab 5119
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2790
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061  df-clab 2797  df-cleq 2811  df-clel 2890  df-nfc 2960  df-v 3494  df-un 3938  df-opab 5120
This theorem is referenced by:  xpundi  5613  xpundir  5614  cnvun  5994  coundi  6093  coundir  6094  mptun  6487  opsrtoslem1  20192  lgsquadlem3  25885
  Copyright terms: Public domain W3C validator