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

Theorem unopab 5145
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 4270 . . 3 ({𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)} ∪ {𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)}) = {𝑧 ∣ (∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓))}
2 19.43 1883 . . . . 5 (∃𝑥(∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ ∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)) ↔ (∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)))
3 andi 1004 . . . . . . . 8 ((𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝜑𝜓)) ↔ ((𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ (𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)))
43exbii 1848 . . . . . . 7 (∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝜑𝜓)) ↔ ∃𝑦((𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ (𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)))
5 19.43 1883 . . . . . . 7 (∃𝑦((𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ (𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)) ↔ (∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ ∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)))
64, 5bitr2i 278 . . . . . 6 ((∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ ∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)) ↔ ∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝜑𝜓)))
76exbii 1848 . . . . 5 (∃𝑥(∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ ∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)) ↔ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝜑𝜓)))
82, 7bitr3i 279 . . . 4 ((∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)) ↔ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝜑𝜓)))
98abbii 2886 . . 3 {𝑧 ∣ (∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓))} = {𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝜑𝜓))}
101, 9eqtri 2844 . 2 ({𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)} ∪ {𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)}) = {𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝜑𝜓))}
11 df-opab 5129 . . 3 {⟨𝑥, 𝑦⟩ ∣ 𝜑} = {𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)}
12 df-opab 5129 . . 3 {⟨𝑥, 𝑦⟩ ∣ 𝜓} = {𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)}
1311, 12uneq12i 4137 . 2 ({⟨𝑥, 𝑦⟩ ∣ 𝜑} ∪ {⟨𝑥, 𝑦⟩ ∣ 𝜓}) = ({𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)} ∪ {𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)})
14 df-opab 5129 . 2 {⟨𝑥, 𝑦⟩ ∣ (𝜑𝜓)} = {𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝜑𝜓))}
1510, 13, 143eqtr4i 2854 1 ({⟨𝑥, 𝑦⟩ ∣ 𝜑} ∪ {⟨𝑥, 𝑦⟩ ∣ 𝜓}) = {⟨𝑥, 𝑦⟩ ∣ (𝜑𝜓)}
Colors of variables: wff setvar class
Syntax hints:  wa 398  wo 843   = wceq 1537  wex 1780  {cab 2799  cun 3934  cop 4573  {copab 5128
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-v 3496  df-un 3941  df-opab 5129
This theorem is referenced by:  xpundi  5620  xpundir  5621  cnvun  6001  coundi  6100  coundir  6101  mptun  6494  opsrtoslem1  20264  lgsquadlem3  25958
  Copyright terms: Public domain W3C validator