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

Theorem axrep4 4703
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 4702 . . 3 ∃𝑥(∃𝑧∀𝑦(𝜑 → 𝑦 = 𝑧) → ∀𝑦(𝑦 ∈ 𝑥 ↔ ∃𝑥(𝑥 ∈ 𝑤 ∧ ∀𝑧𝜑)))
2119.35i 1795 . 2 (∀𝑥∃𝑧∀𝑦(𝜑 → 𝑦 = 𝑧) → ∃𝑥∀𝑦(𝑦 ∈ 𝑥 ↔ ∃𝑥(𝑥 ∈ 𝑤 ∧ ∀𝑧𝜑)))
3 nfv 1830 . . . . 5 Ⅎ𝑧 𝑦 ∈ 𝑥
4 nfv 1830 . . . . . . 7 Ⅎ𝑧 𝑥 ∈ 𝑤
5 nfa1 2015 . . . . . . 7 Ⅎ𝑧∀𝑧𝜑
64, 5nfan 1816 . . . . . 6 Ⅎ𝑧(𝑥 ∈ 𝑤 ∧ ∀𝑧𝜑)
76nfex 2140 . . . . 5 Ⅎ𝑧∃𝑥(𝑥 ∈ 𝑤 ∧ ∀𝑧𝜑)
83, 7nfbi 1821 . . . 4 Ⅎ𝑧(𝑦 ∈ 𝑥 ↔ ∃𝑥(𝑥 ∈ 𝑤 ∧ ∀𝑧𝜑))
98nfal 2139 . . 3 Ⅎ𝑧∀𝑦(𝑦 ∈ 𝑥 ↔ ∃𝑥(𝑥 ∈ 𝑤 ∧ ∀𝑧𝜑))
10 nfv 1830 . . . . 5 Ⅎ𝑥 𝑦 ∈ 𝑧
11 nfe1 2014 . . . . 5 Ⅎ𝑥∃𝑥(𝑥 ∈ 𝑤 ∧ 𝜑)
1210, 11nfbi 1821 . . . 4 Ⅎ𝑥(𝑦 ∈ 𝑧 ↔ ∃𝑥(𝑥 ∈ 𝑤 ∧ 𝜑))
1312nfal 2139 . . 3 Ⅎ𝑥∀𝑦(𝑦 ∈ 𝑧 ↔ ∃𝑥(𝑥 ∈ 𝑤 ∧ 𝜑))
14 elequ2 1991 . . . . 5 (𝑥 = 𝑧 → (𝑦 ∈ 𝑥 ↔ 𝑦 ∈ 𝑧))
15 axrep4.1 . . . . . . . . 9 Ⅎ𝑧𝜑
161519.3 2057 . . . . . . . 8 (∀𝑧𝜑 ↔ 𝜑)
1716anbi2i 726 . . . . . . 7 ((𝑥 ∈ 𝑤 ∧ ∀𝑧𝜑) ↔ (𝑥 ∈ 𝑤 ∧ 𝜑))
1817exbii 1764 . . . . . 6 (∃𝑥(𝑥 ∈ 𝑤 ∧ ∀𝑧𝜑) ↔ ∃𝑥(𝑥 ∈ 𝑤 ∧ 𝜑))
1918a1i 11 . . . . 5 (𝑥 = 𝑧 → (∃𝑥(𝑥 ∈ 𝑤 ∧ ∀𝑧𝜑) ↔ ∃𝑥(𝑥 ∈ 𝑤 ∧ 𝜑)))
2014, 19bibi12d 334 . . . 4 (𝑥 = 𝑧 → ((𝑦 ∈ 𝑥 ↔ ∃𝑥(𝑥 ∈ 𝑤 ∧ ∀𝑧𝜑)) ↔ (𝑦 ∈ 𝑧 ↔ ∃𝑥(𝑥 ∈ 𝑤 ∧ 𝜑))))
2120albidv 1836 . . 3 (𝑥 = 𝑧 → (∀𝑦(𝑦 ∈ 𝑥 ↔ ∃𝑥(𝑥 ∈ 𝑤 ∧ ∀𝑧𝜑)) ↔ ∀𝑦(𝑦 ∈ 𝑧 ↔ ∃𝑥(𝑥 ∈ 𝑤 ∧ 𝜑))))
229, 13, 21cbvex 2260 . 2 (∃𝑥∀𝑦(𝑦 ∈ 𝑥 ↔ ∃𝑥(𝑥 ∈ 𝑤 ∧ ∀𝑧𝜑)) ↔ ∃𝑧∀𝑦(𝑦 ∈ 𝑧 ↔ ∃𝑥(𝑥 ∈ 𝑤 ∧ 𝜑)))
232, 22sylib 207 1 (∀𝑥∃𝑧∀𝑦(𝜑 → 𝑦 = 𝑧) → ∃𝑧∀𝑦(𝑦 ∈ 𝑧 ↔ ∃𝑥(𝑥 ∈ 𝑤 ∧ 𝜑)))
Colors of variables: wff setvar class
Syntax hints:   → wi 4   ↔ wb 195   ∧ wa 383  ∀wal 1473  ∃wex 1695  Ⅎwnf 1699
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-rep 4699
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-tru 1478  df-ex 1696  df-nf 1701
This theorem is referenced by:  axrep5  4704  funimaexg  5889
  Copyright terms: Public domain W3C validator