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

Theorem zfrep6 7771
Description: A version of the Axiom of Replacement. Normally 𝜑 would have free variables 𝑥 and 𝑦. Axiom 6 of [Kunen] p. 12. The Separation Scheme ax-sep 5218 cannot be derived from this version and must be stated as a separate axiom in an axiom system (such as Kunen's) that uses this version in place of our ax-rep 5205. (Contributed by NM, 10-Oct-2003.)
Assertion
Ref Expression
zfrep6 (∀𝑥𝑧 ∃!𝑦𝜑 → ∃𝑤𝑥𝑧𝑦𝑤 𝜑)
Distinct variable groups:   𝜑,𝑤   𝑥,𝑦,𝑧,𝑤
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑧)

Proof of Theorem zfrep6
StepHypRef Expression
1 19.42v 1958 . . . . . . 7 (∃𝑦(𝑥𝑧𝜑) ↔ (𝑥𝑧 ∧ ∃𝑦𝜑))
21abbii 2809 . . . . . 6 {𝑥 ∣ ∃𝑦(𝑥𝑧𝜑)} = {𝑥 ∣ (𝑥𝑧 ∧ ∃𝑦𝜑)}
3 dmopab 5813 . . . . . 6 dom {⟨𝑥, 𝑦⟩ ∣ (𝑥𝑧𝜑)} = {𝑥 ∣ ∃𝑦(𝑥𝑧𝜑)}
4 df-rab 3072 . . . . . 6 {𝑥𝑧 ∣ ∃𝑦𝜑} = {𝑥 ∣ (𝑥𝑧 ∧ ∃𝑦𝜑)}
52, 3, 43eqtr4i 2776 . . . . 5 dom {⟨𝑥, 𝑦⟩ ∣ (𝑥𝑧𝜑)} = {𝑥𝑧 ∣ ∃𝑦𝜑}
6 euex 2577 . . . . . . 7 (∃!𝑦𝜑 → ∃𝑦𝜑)
76ralimi 3086 . . . . . 6 (∀𝑥𝑧 ∃!𝑦𝜑 → ∀𝑥𝑧𝑦𝜑)
8 rabid2 3307 . . . . . 6 (𝑧 = {𝑥𝑧 ∣ ∃𝑦𝜑} ↔ ∀𝑥𝑧𝑦𝜑)
97, 8sylibr 233 . . . . 5 (∀𝑥𝑧 ∃!𝑦𝜑𝑧 = {𝑥𝑧 ∣ ∃𝑦𝜑})
105, 9eqtr4id 2798 . . . 4 (∀𝑥𝑧 ∃!𝑦𝜑 → dom {⟨𝑥, 𝑦⟩ ∣ (𝑥𝑧𝜑)} = 𝑧)
11 vex 3426 . . . 4 𝑧 ∈ V
1210, 11eqeltrdi 2847 . . 3 (∀𝑥𝑧 ∃!𝑦𝜑 → dom {⟨𝑥, 𝑦⟩ ∣ (𝑥𝑧𝜑)} ∈ V)
13 eumo 2578 . . . . . . 7 (∃!𝑦𝜑 → ∃*𝑦𝜑)
1413imim2i 16 . . . . . 6 ((𝑥𝑧 → ∃!𝑦𝜑) → (𝑥𝑧 → ∃*𝑦𝜑))
15 moanimv 2621 . . . . . 6 (∃*𝑦(𝑥𝑧𝜑) ↔ (𝑥𝑧 → ∃*𝑦𝜑))
1614, 15sylibr 233 . . . . 5 ((𝑥𝑧 → ∃!𝑦𝜑) → ∃*𝑦(𝑥𝑧𝜑))
1716alimi 1815 . . . 4 (∀𝑥(𝑥𝑧 → ∃!𝑦𝜑) → ∀𝑥∃*𝑦(𝑥𝑧𝜑))
18 df-ral 3068 . . . 4 (∀𝑥𝑧 ∃!𝑦𝜑 ↔ ∀𝑥(𝑥𝑧 → ∃!𝑦𝜑))
19 funopab 6453 . . . 4 (Fun {⟨𝑥, 𝑦⟩ ∣ (𝑥𝑧𝜑)} ↔ ∀𝑥∃*𝑦(𝑥𝑧𝜑))
2017, 18, 193imtr4i 291 . . 3 (∀𝑥𝑧 ∃!𝑦𝜑 → Fun {⟨𝑥, 𝑦⟩ ∣ (𝑥𝑧𝜑)})
21 funrnex 7770 . . 3 (dom {⟨𝑥, 𝑦⟩ ∣ (𝑥𝑧𝜑)} ∈ V → (Fun {⟨𝑥, 𝑦⟩ ∣ (𝑥𝑧𝜑)} → ran {⟨𝑥, 𝑦⟩ ∣ (𝑥𝑧𝜑)} ∈ V))
2212, 20, 21sylc 65 . 2 (∀𝑥𝑧 ∃!𝑦𝜑 → ran {⟨𝑥, 𝑦⟩ ∣ (𝑥𝑧𝜑)} ∈ V)
23 nfra1 3142 . . 3 𝑥𝑥𝑧 ∃!𝑦𝜑
2410eleq2d 2824 . . . 4 (∀𝑥𝑧 ∃!𝑦𝜑 → (𝑥 ∈ dom {⟨𝑥, 𝑦⟩ ∣ (𝑥𝑧𝜑)} ↔ 𝑥𝑧))
25 opabidw 5431 . . . . . . . . 9 (⟨𝑥, 𝑦⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ (𝑥𝑧𝜑)} ↔ (𝑥𝑧𝜑))
26 vex 3426 . . . . . . . . . 10 𝑥 ∈ V
27 vex 3426 . . . . . . . . . 10 𝑦 ∈ V
2826, 27opelrn 5841 . . . . . . . . 9 (⟨𝑥, 𝑦⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ (𝑥𝑧𝜑)} → 𝑦 ∈ ran {⟨𝑥, 𝑦⟩ ∣ (𝑥𝑧𝜑)})
2925, 28sylbir 234 . . . . . . . 8 ((𝑥𝑧𝜑) → 𝑦 ∈ ran {⟨𝑥, 𝑦⟩ ∣ (𝑥𝑧𝜑)})
3029ex 412 . . . . . . 7 (𝑥𝑧 → (𝜑𝑦 ∈ ran {⟨𝑥, 𝑦⟩ ∣ (𝑥𝑧𝜑)}))
3130impac 552 . . . . . 6 ((𝑥𝑧𝜑) → (𝑦 ∈ ran {⟨𝑥, 𝑦⟩ ∣ (𝑥𝑧𝜑)} ∧ 𝜑))
3231eximi 1838 . . . . 5 (∃𝑦(𝑥𝑧𝜑) → ∃𝑦(𝑦 ∈ ran {⟨𝑥, 𝑦⟩ ∣ (𝑥𝑧𝜑)} ∧ 𝜑))
333abeq2i 2874 . . . . 5 (𝑥 ∈ dom {⟨𝑥, 𝑦⟩ ∣ (𝑥𝑧𝜑)} ↔ ∃𝑦(𝑥𝑧𝜑))
34 df-rex 3069 . . . . 5 (∃𝑦 ∈ ran {⟨𝑥, 𝑦⟩ ∣ (𝑥𝑧𝜑)}𝜑 ↔ ∃𝑦(𝑦 ∈ ran {⟨𝑥, 𝑦⟩ ∣ (𝑥𝑧𝜑)} ∧ 𝜑))
3532, 33, 343imtr4i 291 . . . 4 (𝑥 ∈ dom {⟨𝑥, 𝑦⟩ ∣ (𝑥𝑧𝜑)} → ∃𝑦 ∈ ran {⟨𝑥, 𝑦⟩ ∣ (𝑥𝑧𝜑)}𝜑)
3624, 35syl6bir 253 . . 3 (∀𝑥𝑧 ∃!𝑦𝜑 → (𝑥𝑧 → ∃𝑦 ∈ ran {⟨𝑥, 𝑦⟩ ∣ (𝑥𝑧𝜑)}𝜑))
3723, 36ralrimi 3139 . 2 (∀𝑥𝑧 ∃!𝑦𝜑 → ∀𝑥𝑧𝑦 ∈ ran {⟨𝑥, 𝑦⟩ ∣ (𝑥𝑧𝜑)}𝜑)
38 nfopab1 5140 . . . . 5 𝑥{⟨𝑥, 𝑦⟩ ∣ (𝑥𝑧𝜑)}
3938nfrn 5850 . . . 4 𝑥ran {⟨𝑥, 𝑦⟩ ∣ (𝑥𝑧𝜑)}
4039nfeq2 2923 . . 3 𝑥 𝑤 = ran {⟨𝑥, 𝑦⟩ ∣ (𝑥𝑧𝜑)}
41 nfcv 2906 . . . 4 𝑦𝑤
42 nfopab2 5141 . . . . 5 𝑦{⟨𝑥, 𝑦⟩ ∣ (𝑥𝑧𝜑)}
4342nfrn 5850 . . . 4 𝑦ran {⟨𝑥, 𝑦⟩ ∣ (𝑥𝑧𝜑)}
4441, 43rexeqf 3324 . . 3 (𝑤 = ran {⟨𝑥, 𝑦⟩ ∣ (𝑥𝑧𝜑)} → (∃𝑦𝑤 𝜑 ↔ ∃𝑦 ∈ ran {⟨𝑥, 𝑦⟩ ∣ (𝑥𝑧𝜑)}𝜑))
4540, 44ralbid 3158 . 2 (𝑤 = ran {⟨𝑥, 𝑦⟩ ∣ (𝑥𝑧𝜑)} → (∀𝑥𝑧𝑦𝑤 𝜑 ↔ ∀𝑥𝑧𝑦 ∈ ran {⟨𝑥, 𝑦⟩ ∣ (𝑥𝑧𝜑)}𝜑))
4622, 37, 45spcedv 3527 1 (∀𝑥𝑧 ∃!𝑦𝜑 → ∃𝑤𝑥𝑧𝑦𝑤 𝜑)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395  wal 1537   = wceq 1539  wex 1783  wcel 2108  ∃*wmo 2538  ∃!weu 2568  {cab 2715  wral 3063  wrex 3064  {crab 3067  Vcvv 3422  cop 4564  {copab 5132  dom cdm 5580  ran crn 5581  Fun wfun 6412
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426
This theorem is referenced by:  bnj865  32803
  Copyright terms: Public domain W3C validator