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

Theorem zfrep4 5246
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 2743 . . . . 5 (𝑥 ∈ {𝑥 ∣ 𝜑} ↔ 𝜑)
21anbi1i 636 . . . 4 ((𝑥 ∈ {𝑥 ∣ 𝜑} ∧ 𝜓) ↔ (𝜑 ∧ 𝜓))
32exbii 1881 . . 3 (∃𝑥(𝑥 ∈ {𝑥 ∣ 𝜑} ∧ 𝜓) ↔ ∃𝑥(𝜑 ∧ 𝜓))
43abbii 2828 . 2 {𝑦 ∣ ∃𝑥(𝑥 ∈ {𝑥 ∣ 𝜑} ∧ 𝜓)} = {𝑦 ∣ ∃𝑥(𝜑 ∧ 𝜓)}
5 nfab1 2925 . . . . 5 Ⅎ𝑥{𝑥 ∣ 𝜑}
6 zfrep4.1 . . . . 5 {𝑥 ∣ 𝜑} ∈ V
7 zfrep4.2 . . . . . 6 (𝜑 → ∃𝑧∀𝑦(𝜓 → 𝑦 = 𝑧))
81, 7sylbi 220 . . . . 5 (𝑥 ∈ {𝑥 ∣ 𝜑} → ∃𝑧∀𝑦(𝜓 → 𝑦 = 𝑧))
95, 6, 8zfrepclf 5244 . . . 4 ∃𝑧∀𝑦(𝑦 ∈ 𝑧 ↔ ∃𝑥(𝑥 ∈ {𝑥 ∣ 𝜑} ∧ 𝜓))
10 eqabb 2900 . . . . 5 (𝑧 = {𝑦 ∣ ∃𝑥(𝑥 ∈ {𝑥 ∣ 𝜑} ∧ 𝜓)} ↔ ∀𝑦(𝑦 ∈ 𝑧 ↔ ∃𝑥(𝑥 ∈ {𝑥 ∣ 𝜑} ∧ 𝜓)))
1110exbii 1881 . . . 4 (∃𝑧 𝑧 = {𝑦 ∣ ∃𝑥(𝑥 ∈ {𝑥 ∣ 𝜑} ∧ 𝜓)} ↔ ∃𝑧∀𝑦(𝑦 ∈ 𝑧 ↔ ∃𝑥(𝑥 ∈ {𝑥 ∣ 𝜑} ∧ 𝜓)))
129, 11mpbir 234 . . 3 ∃𝑧 𝑧 = {𝑦 ∣ ∃𝑥(𝑥 ∈ {𝑥 ∣ 𝜑} ∧ 𝜓)}
1312issetri 3470 . 2 {𝑦 ∣ ∃𝑥(𝑥 ∈ {𝑥 ∣ 𝜑} ∧ 𝜓)} ∈ V
144, 13eqeltrri 2858 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 2145  {cab 2739  Vcvv 3451
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-rep 5232
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 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-v 3453
This theorem is used by:  zfpair  5383
  Copyright terms: Public domain W3C validator