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

Theorem unopab 5007
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 4158 . . 3 ({𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)} ∪ {𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)}) = {𝑧 ∣ (∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓))}
2 19.43 1845 . . . . 5 (∃𝑥(∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ ∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)) ↔ (∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)))
3 andi 990 . . . . . . . 8 ((𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝜑𝜓)) ↔ ((𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ (𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)))
43exbii 1810 . . . . . . 7 (∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝜑𝜓)) ↔ ∃𝑦((𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ (𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)))
5 19.43 1845 . . . . . . 7 (∃𝑦((𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ (𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)) ↔ (∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ ∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)))
64, 5bitr2i 268 . . . . . 6 ((∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ ∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)) ↔ ∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝜑𝜓)))
76exbii 1810 . . . . 5 (∃𝑥(∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ ∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)) ↔ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝜑𝜓)))
82, 7bitr3i 269 . . . 4 ((∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)) ↔ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝜑𝜓)))
98abbii 2845 . . 3 {𝑧 ∣ (∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ∨ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓))} = {𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝜑𝜓))}
101, 9eqtri 2803 . 2 ({𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)} ∪ {𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)}) = {𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝜑𝜓))}
11 df-opab 4992 . . 3 {⟨𝑥, 𝑦⟩ ∣ 𝜑} = {𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)}
12 df-opab 4992 . . 3 {⟨𝑥, 𝑦⟩ ∣ 𝜓} = {𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)}
1311, 12uneq12i 4027 . 2 ({⟨𝑥, 𝑦⟩ ∣ 𝜑} ∪ {⟨𝑥, 𝑦⟩ ∣ 𝜓}) = ({𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)} ∪ {𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)})
14 df-opab 4992 . 2 {⟨𝑥, 𝑦⟩ ∣ (𝜑𝜓)} = {𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝜑𝜓))}
1510, 13, 143eqtr4i 2813 1 ({⟨𝑥, 𝑦⟩ ∣ 𝜑} ∪ {⟨𝑥, 𝑦⟩ ∣ 𝜓}) = {⟨𝑥, 𝑦⟩ ∣ (𝜑𝜓)}
Colors of variables: wff setvar class
Syntax hints:  wa 387  wo 833   = wceq 1507  wex 1742  {cab 2759  cun 3828  cop 4447  {copab 4991
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1758  ax-4 1772  ax-5 1869  ax-6 1928  ax-7 1965  ax-8 2052  ax-9 2059  ax-10 2079  ax-11 2093  ax-12 2106  ax-ext 2751
This theorem depends on definitions:  df-bi 199  df-an 388  df-or 834  df-tru 1510  df-ex 1743  df-nf 1747  df-sb 2016  df-clab 2760  df-cleq 2772  df-clel 2847  df-nfc 2919  df-v 3418  df-un 3835  df-opab 4992
This theorem is referenced by:  xpundi  5470  xpundir  5471  cnvun  5841  coundi  5939  coundir  5940  mptun  6324  opsrtoslem1  19977  lgsquadlem3  25660
  Copyright terms: Public domain W3C validator