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

Theorem iunopab 5438
Description: Move indexed union inside an ordered-pair abstraction. (Contributed by Stefan O'Rear, 20-Feb-2015.)
Assertion
Ref Expression
iunopab 𝑧𝐴 {⟨𝑥, 𝑦⟩ ∣ 𝜑} = {⟨𝑥, 𝑦⟩ ∣ ∃𝑧𝐴 𝜑}
Distinct variable groups:   𝑥,𝐴   𝑦,𝐴   𝑦,𝑧   𝑥,𝑧
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑧)   𝐴(𝑧)

Proof of Theorem iunopab
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 elopab 5406 . . . . 5 (𝑤 ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑))
21rexbii 3247 . . . 4 (∃𝑧𝐴 𝑤 ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ ∃𝑧𝐴𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑))
3 rexcom4 3249 . . . . 5 (∃𝑧𝐴𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ↔ ∃𝑥𝑧𝐴𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑))
4 rexcom4 3249 . . . . . . 7 (∃𝑧𝐴𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ↔ ∃𝑦𝑧𝐴 (𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑))
5 r19.42v 3350 . . . . . . . 8 (∃𝑧𝐴 (𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ↔ (𝑤 = ⟨𝑥, 𝑦⟩ ∧ ∃𝑧𝐴 𝜑))
65exbii 1844 . . . . . . 7 (∃𝑦𝑧𝐴 (𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ↔ ∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ ∃𝑧𝐴 𝜑))
74, 6bitri 277 . . . . . 6 (∃𝑧𝐴𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ↔ ∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ ∃𝑧𝐴 𝜑))
87exbii 1844 . . . . 5 (∃𝑥𝑧𝐴𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ↔ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ ∃𝑧𝐴 𝜑))
93, 8bitri 277 . . . 4 (∃𝑧𝐴𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ↔ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ ∃𝑧𝐴 𝜑))
102, 9bitri 277 . . 3 (∃𝑧𝐴 𝑤 ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ ∃𝑧𝐴 𝜑))
1110abbii 2886 . 2 {𝑤 ∣ ∃𝑧𝐴 𝑤 ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑}} = {𝑤 ∣ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ ∃𝑧𝐴 𝜑)}
12 df-iun 4913 . 2 𝑧𝐴 {⟨𝑥, 𝑦⟩ ∣ 𝜑} = {𝑤 ∣ ∃𝑧𝐴 𝑤 ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑}}
13 df-opab 5121 . 2 {⟨𝑥, 𝑦⟩ ∣ ∃𝑧𝐴 𝜑} = {𝑤 ∣ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ ∃𝑧𝐴 𝜑)}
1411, 12, 133eqtr4i 2854 1 𝑧𝐴 {⟨𝑥, 𝑦⟩ ∣ 𝜑} = {⟨𝑥, 𝑦⟩ ∣ ∃𝑧𝐴 𝜑}
Colors of variables: wff setvar class
Syntax hints:  wa 398   = wceq 1533  wex 1776  wcel 2110  {cab 2799  wrex 3139  cop 4566   ciun 4911  {copab 5120
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2157  ax-12 2173  ax-ext 2793  ax-sep 5195  ax-nul 5202  ax-pr 5321
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-rex 3144  df-v 3496  df-dif 3938  df-un 3940  df-in 3942  df-ss 3951  df-nul 4291  df-if 4467  df-sn 4561  df-pr 4563  df-op 4567  df-iun 4913  df-opab 5121
This theorem is referenced by:  marypha2lem2  8894
  Copyright terms: Public domain W3C validator