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

Theorem axrep3 5250
Description: Axiom of Replacement slightly strengthened from axrep2 5249; 𝑤 may occur free in 𝜑. (Contributed by NM, 2-Jan-1997.) Remove dependency on ax-13 2413. (Revised by BJ, 31-May-2019.)
Assertion
Ref Expression
axrep3 ∃𝑥(∃𝑦∀𝑧(𝜑 → 𝑧 = 𝑦) → ∀𝑧(𝑧 ∈ 𝑥 ↔ ∃𝑥(𝑥 ∈ 𝑤 ∧ ∀𝑦𝜑)))
Distinct variable group:   𝑥,𝑤,𝑦,𝑧
Allowed substitution hints:   𝜑(𝑥, 𝑦, 𝑧, 𝑤)

Proof of Theorem axrep3
StepHypRef Expression
1 nfe1 2199 . . . 4 Ⅎ𝑦∃𝑦∀𝑧(𝜑 → 𝑧 = 𝑦)
2 nfv 1956 . . . . . 6 Ⅎ𝑦 𝑧 ∈ 𝑥
3 nfv 1956 . . . . . . . 8 Ⅎ𝑦 𝑥 ∈ 𝑤
4 nfa1 2200 . . . . . . . 8 Ⅎ𝑦∀𝑦𝜑
53, 4nfan 1940 . . . . . . 7 Ⅎ𝑦(𝑥 ∈ 𝑤 ∧ ∀𝑦𝜑)
65nfex 2367 . . . . . 6 Ⅎ𝑦∃𝑥(𝑥 ∈ 𝑤 ∧ ∀𝑦𝜑)
72, 6nfbi 1944 . . . . 5 Ⅎ𝑦(𝑧 ∈ 𝑥 ↔ ∃𝑥(𝑥 ∈ 𝑤 ∧ ∀𝑦𝜑))
87nfal 2366 . . . 4 Ⅎ𝑦∀𝑧(𝑧 ∈ 𝑥 ↔ ∃𝑥(𝑥 ∈ 𝑤 ∧ ∀𝑦𝜑))
91, 8nfim 1937 . . 3 Ⅎ𝑦(∃𝑦∀𝑧(𝜑 → 𝑧 = 𝑦) → ∀𝑧(𝑧 ∈ 𝑥 ↔ ∃𝑥(𝑥 ∈ 𝑤 ∧ ∀𝑦𝜑)))
109nfex 2367 . 2 Ⅎ𝑦∃𝑥(∃𝑦∀𝑧(𝜑 → 𝑧 = 𝑦) → ∀𝑧(𝑧 ∈ 𝑥 ↔ ∃𝑥(𝑥 ∈ 𝑤 ∧ ∀𝑦𝜑)))
11 axreplem 5248 . 2 (𝑦 = 𝑤 → (∃𝑥(∃𝑦∀𝑧(𝜑 → 𝑧 = 𝑦) → ∀𝑧(𝑧 ∈ 𝑥 ↔ ∃𝑥(𝑥 ∈ 𝑦 ∧ ∀𝑦𝜑))) ↔ ∃𝑥(∃𝑦∀𝑧(𝜑 → 𝑧 = 𝑦) → ∀𝑧(𝑧 ∈ 𝑥 ↔ ∃𝑥(𝑥 ∈ 𝑤 ∧ ∀𝑦𝜑)))))
12 axrep2 5249 . 2 ∃𝑥(∃𝑦∀𝑧(𝜑 → 𝑧 = 𝑦) → ∀𝑧(𝑧 ∈ 𝑥 ↔ ∃𝑥(𝑥 ∈ 𝑦 ∧ ∀𝑦𝜑)))
1310, 11, 12chvarfv 2289 1 ∃𝑥(∃𝑦∀𝑧(𝜑 → 𝑧 = 𝑦) → ∀𝑧(𝑧 ∈ 𝑥 ↔ ∃𝑥(𝑥 ∈ 𝑤 ∧ ∀𝑦𝜑)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401  ∀wal 1570  ∃wex 1818
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-rep 5246
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1575  df-ex 1819  df-nf 1823
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator