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

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

Proof of Theorem axrep3
StepHypRef Expression
1 nfe1 2147 . . . 4 𝑦𝑦𝑧(𝜑𝑧 = 𝑦)
2 nfv 1917 . . . . . 6 𝑦 𝑧𝑥
3 nfv 1917 . . . . . . . 8 𝑦 𝑥𝑤
4 nfa1 2148 . . . . . . . 8 𝑦𝑦𝜑
53, 4nfan 1902 . . . . . . 7 𝑦(𝑥𝑤 ∧ ∀𝑦𝜑)
65nfex 2318 . . . . . 6 𝑦𝑥(𝑥𝑤 ∧ ∀𝑦𝜑)
72, 6nfbi 1906 . . . . 5 𝑦(𝑧𝑥 ↔ ∃𝑥(𝑥𝑤 ∧ ∀𝑦𝜑))
87nfal 2317 . . . 4 𝑦𝑧(𝑧𝑥 ↔ ∃𝑥(𝑥𝑤 ∧ ∀𝑦𝜑))
91, 8nfim 1899 . . 3 𝑦(∃𝑦𝑧(𝜑𝑧 = 𝑦) → ∀𝑧(𝑧𝑥 ↔ ∃𝑥(𝑥𝑤 ∧ ∀𝑦𝜑)))
109nfex 2318 . 2 𝑦𝑥(∃𝑦𝑧(𝜑𝑧 = 𝑦) → ∀𝑧(𝑧𝑥 ↔ ∃𝑥(𝑥𝑤 ∧ ∀𝑦𝜑)))
11 axreplem 5211 . 2 (𝑦 = 𝑤 → (∃𝑥(∃𝑦𝑧(𝜑𝑧 = 𝑦) → ∀𝑧(𝑧𝑥 ↔ ∃𝑥(𝑥𝑦 ∧ ∀𝑦𝜑))) ↔ ∃𝑥(∃𝑦𝑧(𝜑𝑧 = 𝑦) → ∀𝑧(𝑧𝑥 ↔ ∃𝑥(𝑥𝑤 ∧ ∀𝑦𝜑)))))
12 axrep2 5212 . 2 𝑥(∃𝑦𝑧(𝜑𝑧 = 𝑦) → ∀𝑧(𝑧𝑥 ↔ ∃𝑥(𝑥𝑦 ∧ ∀𝑦𝜑)))
1310, 11, 12chvarfv 2233 1 𝑥(∃𝑦𝑧(𝜑𝑧 = 𝑦) → ∀𝑧(𝑧𝑥 ↔ ∃𝑥(𝑥𝑤 ∧ ∀𝑦𝜑)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  wal 1537  wex 1782
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-rep 5209
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-tru 1542  df-ex 1783  df-nf 1787
This theorem is referenced by:  axrep4  5214
  Copyright terms: Public domain W3C validator