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

Theorem zfrep4 5250
Description: A version of Replacement using class abstractions. (Contributed by NM, 26-Nov-1995.)
Hypotheses
Ref Expression
zfrep4.1 {𝑥 ∣ 𝜑} ∈ V
zfrep4.2 (𝜑 → ∃𝑧∀𝑦(𝜓 → 𝑦 = 𝑧))
Assertion
Ref Expression
zfrep4 {𝑦 ∣ ∃𝑥(𝜑 ∧ 𝜓)} ∈ V
Distinct variable groups:   𝜑,𝑦,𝑧   𝜓,𝑧   𝑥,𝑦,𝑧
Allowed substitution hints:   𝜑(𝑥)   𝜓(𝑥, 𝑦)

Proof of Theorem zfrep4
StepHypRef Expression
1 abid 2745 . . . . 5 (𝑥 ∈ {𝑥 ∣ 𝜑} ↔ 𝜑)
21anbi1i 636 . . . 4 ((𝑥 ∈ {𝑥 ∣ 𝜑} ∧ 𝜓) ↔ (𝜑 ∧ 𝜓))
32exbii 1881 . . 3 (∃𝑥(𝑥 ∈ {𝑥 ∣ 𝜑} ∧ 𝜓) ↔ ∃𝑥(𝜑 ∧ 𝜓))
43abbii 2830 . 2 {𝑦 ∣ ∃𝑥(𝑥 ∈ {𝑥 ∣ 𝜑} ∧ 𝜓)} = {𝑦 ∣ ∃𝑥(𝜑 ∧ 𝜓)}
5 nfab1 2928 . . . . 5 Ⅎ𝑥{𝑥 ∣ 𝜑}
6 zfrep4.1 . . . . 5 {𝑥 ∣ 𝜑} ∈ V
7 zfrep4.2 . . . . . 6 (𝜑 → ∃𝑧∀𝑦(𝜓 → 𝑦 = 𝑧))
81, 7sylbi 220 . . . . 5 (𝑥 ∈ {𝑥 ∣ 𝜑} → ∃𝑧∀𝑦(𝜓 → 𝑦 = 𝑧))
95, 6, 8zfrepclf 5248 . . . 4 ∃𝑧∀𝑦(𝑦 ∈ 𝑧 ↔ ∃𝑥(𝑥 ∈ {𝑥 ∣ 𝜑} ∧ 𝜓))
10 eqabb 2903 . . . . 5 (𝑧 = {𝑦 ∣ ∃𝑥(𝑥 ∈ {𝑥 ∣ 𝜑} ∧ 𝜓)} ↔ ∀𝑦(𝑦 ∈ 𝑧 ↔ ∃𝑥(𝑥 ∈ {𝑥 ∣ 𝜑} ∧ 𝜓)))
1110exbii 1881 . . . 4 (∃𝑧 𝑧 = {𝑦 ∣ ∃𝑥(𝑥 ∈ {𝑥 ∣ 𝜑} ∧ 𝜓)} ↔ ∃𝑧∀𝑦(𝑦 ∈ 𝑧 ↔ ∃𝑥(𝑥 ∈ {𝑥 ∣ 𝜑} ∧ 𝜓)))
129, 11mpbir 234 . . 3 ∃𝑧 𝑧 = {𝑦 ∣ ∃𝑥(𝑥 ∈ {𝑥 ∣ 𝜑} ∧ 𝜓)}
1312issetri 3473 . 2 {𝑦 ∣ ∃𝑥(𝑥 ∈ {𝑥 ∣ 𝜑} ∧ 𝜓)} ∈ V
144, 13eqeltrri 2861 1 {𝑦 ∣ ∃𝑥(𝜑 ∧ 𝜓)} ∈ V
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401  ∀wal 1568   = wceq 1570  ∃wex 1812   ∈ wcel 2147  {cab 2741  Vcvv 3454
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-rep 5236
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1573  df-ex 1813  df-nf 1817  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-v 3456
This theorem is used by:  zfpair  5388
  Copyright terms: Public domain W3C validator