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

Theorem zfrep4 5255
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 2751 . . . . 5 (𝑥 ∈ {𝑥 ∣ 𝜑} ↔ 𝜑)
21anbi1i 636 . . . 4 ((𝑥 ∈ {𝑥 ∣ 𝜑} ∧ 𝜓) ↔ (𝜑 ∧ 𝜓))
32exbii 1883 . . 3 (∃𝑥(𝑥 ∈ {𝑥 ∣ 𝜑} ∧ 𝜓) ↔ ∃𝑥(𝜑 ∧ 𝜓))
43abbii 2836 . 2 {𝑦 ∣ ∃𝑥(𝑥 ∈ {𝑥 ∣ 𝜑} ∧ 𝜓)} = {𝑦 ∣ ∃𝑥(𝜑 ∧ 𝜓)}
5 nfab1 2934 . . . . 5 Ⅎ𝑥{𝑥 ∣ 𝜑}
6 zfrep4.1 . . . . 5 {𝑥 ∣ 𝜑} ∈ V
7 zfrep4.2 . . . . . 6 (𝜑 → ∃𝑧∀𝑦(𝜓 → 𝑦 = 𝑧))
81, 7sylbi 220 . . . . 5 (𝑥 ∈ {𝑥 ∣ 𝜑} → ∃𝑧∀𝑦(𝜓 → 𝑦 = 𝑧))
95, 6, 8zfrepclf 5253 . . . 4 ∃𝑧∀𝑦(𝑦 ∈ 𝑧 ↔ ∃𝑥(𝑥 ∈ {𝑥 ∣ 𝜑} ∧ 𝜓))
10 eqabb 2909 . . . . 5 (𝑧 = {𝑦 ∣ ∃𝑥(𝑥 ∈ {𝑥 ∣ 𝜑} ∧ 𝜓)} ↔ ∀𝑦(𝑦 ∈ 𝑧 ↔ ∃𝑥(𝑥 ∈ {𝑥 ∣ 𝜑} ∧ 𝜓)))
1110exbii 1883 . . . 4 (∃𝑧 𝑧 = {𝑦 ∣ ∃𝑥(𝑥 ∈ {𝑥 ∣ 𝜑} ∧ 𝜓)} ↔ ∃𝑧∀𝑦(𝑦 ∈ 𝑧 ↔ ∃𝑥(𝑥 ∈ {𝑥 ∣ 𝜑} ∧ 𝜓)))
129, 11mpbir 234 . . 3 ∃𝑧 𝑧 = {𝑦 ∣ ∃𝑥(𝑥 ∈ {𝑥 ∣ 𝜑} ∧ 𝜓)}
1312issetri 3475 . 2 {𝑦 ∣ ∃𝑥(𝑥 ∈ {𝑥 ∣ 𝜑} ∧ 𝜓)} ∈ V
144, 13eqeltrri 2867 1 {𝑦 ∣ ∃𝑥(𝜑 ∧ 𝜓)} ∈ V
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401  ∀wal 1570   = wceq 1572  ∃wex 1814   ∈ wcel 2151  {cab 2747  Vcvv 3456
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-rep 5241
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1575  df-ex 1815  df-nf 1819  df-sb 2105  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-v 3458
This theorem is used by:  zfpair  5393
  Copyright terms: Public domain W3C validator