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

Theorem axrep4 5214
Description: A more traditional version of the Axiom of Replacement. (Contributed by NM, 14-Aug-1994.)
Hypothesis
Ref Expression
axrep4.1 𝑧𝜑
Assertion
Ref Expression
axrep4 (∀𝑥𝑧𝑦(𝜑𝑦 = 𝑧) → ∃𝑧𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝑤𝜑)))
Distinct variable group:   𝑥,𝑦,𝑧,𝑤
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑧,𝑤)

Proof of Theorem axrep4
StepHypRef Expression
1 axrep3 5213 . . 3 𝑥(∃𝑧𝑦(𝜑𝑦 = 𝑧) → ∀𝑦(𝑦𝑥 ↔ ∃𝑥(𝑥𝑤 ∧ ∀𝑧𝜑)))
2119.35i 1881 . 2 (∀𝑥𝑧𝑦(𝜑𝑦 = 𝑧) → ∃𝑥𝑦(𝑦𝑥 ↔ ∃𝑥(𝑥𝑤 ∧ ∀𝑧𝜑)))
3 nfv 1917 . . . . 5 𝑧 𝑦𝑥
4 nfv 1917 . . . . . . 7 𝑧 𝑥𝑤
5 nfa1 2148 . . . . . . 7 𝑧𝑧𝜑
64, 5nfan 1902 . . . . . 6 𝑧(𝑥𝑤 ∧ ∀𝑧𝜑)
76nfex 2318 . . . . 5 𝑧𝑥(𝑥𝑤 ∧ ∀𝑧𝜑)
83, 7nfbi 1906 . . . 4 𝑧(𝑦𝑥 ↔ ∃𝑥(𝑥𝑤 ∧ ∀𝑧𝜑))
98nfal 2317 . . 3 𝑧𝑦(𝑦𝑥 ↔ ∃𝑥(𝑥𝑤 ∧ ∀𝑧𝜑))
10 nfv 1917 . . . . 5 𝑥 𝑦𝑧
11 nfe1 2147 . . . . 5 𝑥𝑥(𝑥𝑤𝜑)
1210, 11nfbi 1906 . . . 4 𝑥(𝑦𝑧 ↔ ∃𝑥(𝑥𝑤𝜑))
1312nfal 2317 . . 3 𝑥𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝑤𝜑))
14 elequ2 2121 . . . . 5 (𝑥 = 𝑧 → (𝑦𝑥𝑦𝑧))
15 axrep4.1 . . . . . . . . 9 𝑧𝜑
161519.3 2195 . . . . . . . 8 (∀𝑧𝜑𝜑)
1716anbi2i 623 . . . . . . 7 ((𝑥𝑤 ∧ ∀𝑧𝜑) ↔ (𝑥𝑤𝜑))
1817exbii 1850 . . . . . 6 (∃𝑥(𝑥𝑤 ∧ ∀𝑧𝜑) ↔ ∃𝑥(𝑥𝑤𝜑))
1918a1i 11 . . . . 5 (𝑥 = 𝑧 → (∃𝑥(𝑥𝑤 ∧ ∀𝑧𝜑) ↔ ∃𝑥(𝑥𝑤𝜑)))
2014, 19bibi12d 346 . . . 4 (𝑥 = 𝑧 → ((𝑦𝑥 ↔ ∃𝑥(𝑥𝑤 ∧ ∀𝑧𝜑)) ↔ (𝑦𝑧 ↔ ∃𝑥(𝑥𝑤𝜑))))
2120albidv 1923 . . 3 (𝑥 = 𝑧 → (∀𝑦(𝑦𝑥 ↔ ∃𝑥(𝑥𝑤 ∧ ∀𝑧𝜑)) ↔ ∀𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝑤𝜑))))
229, 13, 21cbvexv1 2339 . 2 (∃𝑥𝑦(𝑦𝑥 ↔ ∃𝑥(𝑥𝑤 ∧ ∀𝑧𝜑)) ↔ ∃𝑧𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝑤𝜑)))
232, 22sylib 217 1 (∀𝑥𝑧𝑦(𝜑𝑦 = 𝑧) → ∃𝑧𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝑤𝜑)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  wal 1537  wex 1782  wnf 1786
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:  axrep5  5215  axprlem3  5348  funimaexg  6520
  Copyright terms: Public domain W3C validator