ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  frec0g GIF version

Theorem frec0g 6365
Description: The initial value resulting from finite recursive definition generation. (Contributed by Jim Kingdon, 7-May-2020.)
Assertion
Ref Expression
frec0g (𝐴𝑉 → (frec(𝐹, 𝐴)‘∅) = 𝐴)

Proof of Theorem frec0g
Dummy variables 𝑔 𝑚 𝑥 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 dm0 4818 . . . . . . . . . 10 dom ∅ = ∅
21biantrur 301 . . . . . . . . 9 (𝑥𝐴 ↔ (dom ∅ = ∅ ∧ 𝑥𝐴))
3 vex 2729 . . . . . . . . . . . . . . . 16 𝑚 ∈ V
4 nsuceq0g 4396 . . . . . . . . . . . . . . . 16 (𝑚 ∈ V → suc 𝑚 ≠ ∅)
53, 4ax-mp 5 . . . . . . . . . . . . . . 15 suc 𝑚 ≠ ∅
65nesymi 2382 . . . . . . . . . . . . . 14 ¬ ∅ = suc 𝑚
71eqeq1i 2173 . . . . . . . . . . . . . 14 (dom ∅ = suc 𝑚 ↔ ∅ = suc 𝑚)
86, 7mtbir 661 . . . . . . . . . . . . 13 ¬ dom ∅ = suc 𝑚
98intnanr 920 . . . . . . . . . . . 12 ¬ (dom ∅ = suc 𝑚𝑥 ∈ (𝐹‘(∅‘𝑚)))
109a1i 9 . . . . . . . . . . 11 (𝑚 ∈ ω → ¬ (dom ∅ = suc 𝑚𝑥 ∈ (𝐹‘(∅‘𝑚))))
1110nrex 2558 . . . . . . . . . 10 ¬ ∃𝑚 ∈ ω (dom ∅ = suc 𝑚𝑥 ∈ (𝐹‘(∅‘𝑚)))
1211biorfi 736 . . . . . . . . 9 ((dom ∅ = ∅ ∧ 𝑥𝐴) ↔ ((dom ∅ = ∅ ∧ 𝑥𝐴) ∨ ∃𝑚 ∈ ω (dom ∅ = suc 𝑚𝑥 ∈ (𝐹‘(∅‘𝑚)))))
13 orcom 718 . . . . . . . . 9 (((dom ∅ = ∅ ∧ 𝑥𝐴) ∨ ∃𝑚 ∈ ω (dom ∅ = suc 𝑚𝑥 ∈ (𝐹‘(∅‘𝑚)))) ↔ (∃𝑚 ∈ ω (dom ∅ = suc 𝑚𝑥 ∈ (𝐹‘(∅‘𝑚))) ∨ (dom ∅ = ∅ ∧ 𝑥𝐴)))
142, 12, 133bitri 205 . . . . . . . 8 (𝑥𝐴 ↔ (∃𝑚 ∈ ω (dom ∅ = suc 𝑚𝑥 ∈ (𝐹‘(∅‘𝑚))) ∨ (dom ∅ = ∅ ∧ 𝑥𝐴)))
1514abbii 2282 . . . . . . 7 {𝑥𝑥𝐴} = {𝑥 ∣ (∃𝑚 ∈ ω (dom ∅ = suc 𝑚𝑥 ∈ (𝐹‘(∅‘𝑚))) ∨ (dom ∅ = ∅ ∧ 𝑥𝐴))}
16 abid2 2287 . . . . . . 7 {𝑥𝑥𝐴} = 𝐴
1715, 16eqtr3i 2188 . . . . . 6 {𝑥 ∣ (∃𝑚 ∈ ω (dom ∅ = suc 𝑚𝑥 ∈ (𝐹‘(∅‘𝑚))) ∨ (dom ∅ = ∅ ∧ 𝑥𝐴))} = 𝐴
18 elex 2737 . . . . . 6 (𝐴𝑉𝐴 ∈ V)
1917, 18eqeltrid 2253 . . . . 5 (𝐴𝑉 → {𝑥 ∣ (∃𝑚 ∈ ω (dom ∅ = suc 𝑚𝑥 ∈ (𝐹‘(∅‘𝑚))) ∨ (dom ∅ = ∅ ∧ 𝑥𝐴))} ∈ V)
20 0ex 4109 . . . . . . 7 ∅ ∈ V
21 dmeq 4804 . . . . . . . . . . . . 13 (𝑔 = ∅ → dom 𝑔 = dom ∅)
2221eqeq1d 2174 . . . . . . . . . . . 12 (𝑔 = ∅ → (dom 𝑔 = suc 𝑚 ↔ dom ∅ = suc 𝑚))
23 fveq1 5485 . . . . . . . . . . . . . 14 (𝑔 = ∅ → (𝑔𝑚) = (∅‘𝑚))
2423fveq2d 5490 . . . . . . . . . . . . 13 (𝑔 = ∅ → (𝐹‘(𝑔𝑚)) = (𝐹‘(∅‘𝑚)))
2524eleq2d 2236 . . . . . . . . . . . 12 (𝑔 = ∅ → (𝑥 ∈ (𝐹‘(𝑔𝑚)) ↔ 𝑥 ∈ (𝐹‘(∅‘𝑚))))
2622, 25anbi12d 465 . . . . . . . . . . 11 (𝑔 = ∅ → ((dom 𝑔 = suc 𝑚𝑥 ∈ (𝐹‘(𝑔𝑚))) ↔ (dom ∅ = suc 𝑚𝑥 ∈ (𝐹‘(∅‘𝑚)))))
2726rexbidv 2467 . . . . . . . . . 10 (𝑔 = ∅ → (∃𝑚 ∈ ω (dom 𝑔 = suc 𝑚𝑥 ∈ (𝐹‘(𝑔𝑚))) ↔ ∃𝑚 ∈ ω (dom ∅ = suc 𝑚𝑥 ∈ (𝐹‘(∅‘𝑚)))))
2821eqeq1d 2174 . . . . . . . . . . 11 (𝑔 = ∅ → (dom 𝑔 = ∅ ↔ dom ∅ = ∅))
2928anbi1d 461 . . . . . . . . . 10 (𝑔 = ∅ → ((dom 𝑔 = ∅ ∧ 𝑥𝐴) ↔ (dom ∅ = ∅ ∧ 𝑥𝐴)))
3027, 29orbi12d 783 . . . . . . . . 9 (𝑔 = ∅ → ((∃𝑚 ∈ ω (dom 𝑔 = suc 𝑚𝑥 ∈ (𝐹‘(𝑔𝑚))) ∨ (dom 𝑔 = ∅ ∧ 𝑥𝐴)) ↔ (∃𝑚 ∈ ω (dom ∅ = suc 𝑚𝑥 ∈ (𝐹‘(∅‘𝑚))) ∨ (dom ∅ = ∅ ∧ 𝑥𝐴))))
3130abbidv 2284 . . . . . . . 8 (𝑔 = ∅ → {𝑥 ∣ (∃𝑚 ∈ ω (dom 𝑔 = suc 𝑚𝑥 ∈ (𝐹‘(𝑔𝑚))) ∨ (dom 𝑔 = ∅ ∧ 𝑥𝐴))} = {𝑥 ∣ (∃𝑚 ∈ ω (dom ∅ = suc 𝑚𝑥 ∈ (𝐹‘(∅‘𝑚))) ∨ (dom ∅ = ∅ ∧ 𝑥𝐴))})
32 eqid 2165 . . . . . . . 8 (𝑔 ∈ V ↦ {𝑥 ∣ (∃𝑚 ∈ ω (dom 𝑔 = suc 𝑚𝑥 ∈ (𝐹‘(𝑔𝑚))) ∨ (dom 𝑔 = ∅ ∧ 𝑥𝐴))}) = (𝑔 ∈ V ↦ {𝑥 ∣ (∃𝑚 ∈ ω (dom 𝑔 = suc 𝑚𝑥 ∈ (𝐹‘(𝑔𝑚))) ∨ (dom 𝑔 = ∅ ∧ 𝑥𝐴))})
3331, 32fvmptg 5562 . . . . . . 7 ((∅ ∈ V ∧ {𝑥 ∣ (∃𝑚 ∈ ω (dom ∅ = suc 𝑚𝑥 ∈ (𝐹‘(∅‘𝑚))) ∨ (dom ∅ = ∅ ∧ 𝑥𝐴))} ∈ V) → ((𝑔 ∈ V ↦ {𝑥 ∣ (∃𝑚 ∈ ω (dom 𝑔 = suc 𝑚𝑥 ∈ (𝐹‘(𝑔𝑚))) ∨ (dom 𝑔 = ∅ ∧ 𝑥𝐴))})‘∅) = {𝑥 ∣ (∃𝑚 ∈ ω (dom ∅ = suc 𝑚𝑥 ∈ (𝐹‘(∅‘𝑚))) ∨ (dom ∅ = ∅ ∧ 𝑥𝐴))})
3420, 33mpan 421 . . . . . 6 ({𝑥 ∣ (∃𝑚 ∈ ω (dom ∅ = suc 𝑚𝑥 ∈ (𝐹‘(∅‘𝑚))) ∨ (dom ∅ = ∅ ∧ 𝑥𝐴))} ∈ V → ((𝑔 ∈ V ↦ {𝑥 ∣ (∃𝑚 ∈ ω (dom 𝑔 = suc 𝑚𝑥 ∈ (𝐹‘(𝑔𝑚))) ∨ (dom 𝑔 = ∅ ∧ 𝑥𝐴))})‘∅) = {𝑥 ∣ (∃𝑚 ∈ ω (dom ∅ = suc 𝑚𝑥 ∈ (𝐹‘(∅‘𝑚))) ∨ (dom ∅ = ∅ ∧ 𝑥𝐴))})
3534, 17eqtrdi 2215 . . . . 5 ({𝑥 ∣ (∃𝑚 ∈ ω (dom ∅ = suc 𝑚𝑥 ∈ (𝐹‘(∅‘𝑚))) ∨ (dom ∅ = ∅ ∧ 𝑥𝐴))} ∈ V → ((𝑔 ∈ V ↦ {𝑥 ∣ (∃𝑚 ∈ ω (dom 𝑔 = suc 𝑚𝑥 ∈ (𝐹‘(𝑔𝑚))) ∨ (dom 𝑔 = ∅ ∧ 𝑥𝐴))})‘∅) = 𝐴)
3619, 35syl 14 . . . 4 (𝐴𝑉 → ((𝑔 ∈ V ↦ {𝑥 ∣ (∃𝑚 ∈ ω (dom 𝑔 = suc 𝑚𝑥 ∈ (𝐹‘(𝑔𝑚))) ∨ (dom 𝑔 = ∅ ∧ 𝑥𝐴))})‘∅) = 𝐴)
3736, 18eqeltrd 2243 . . 3 (𝐴𝑉 → ((𝑔 ∈ V ↦ {𝑥 ∣ (∃𝑚 ∈ ω (dom 𝑔 = suc 𝑚𝑥 ∈ (𝐹‘(𝑔𝑚))) ∨ (dom 𝑔 = ∅ ∧ 𝑥𝐴))})‘∅) ∈ V)
38 df-frec 6359 . . . . . 6 frec(𝐹, 𝐴) = (recs((𝑔 ∈ V ↦ {𝑥 ∣ (∃𝑚 ∈ ω (dom 𝑔 = suc 𝑚𝑥 ∈ (𝐹‘(𝑔𝑚))) ∨ (dom 𝑔 = ∅ ∧ 𝑥𝐴))})) ↾ ω)
3938fveq1i 5487 . . . . 5 (frec(𝐹, 𝐴)‘∅) = ((recs((𝑔 ∈ V ↦ {𝑥 ∣ (∃𝑚 ∈ ω (dom 𝑔 = suc 𝑚𝑥 ∈ (𝐹‘(𝑔𝑚))) ∨ (dom 𝑔 = ∅ ∧ 𝑥𝐴))})) ↾ ω)‘∅)
40 peano1 4571 . . . . . 6 ∅ ∈ ω
41 fvres 5510 . . . . . 6 (∅ ∈ ω → ((recs((𝑔 ∈ V ↦ {𝑥 ∣ (∃𝑚 ∈ ω (dom 𝑔 = suc 𝑚𝑥 ∈ (𝐹‘(𝑔𝑚))) ∨ (dom 𝑔 = ∅ ∧ 𝑥𝐴))})) ↾ ω)‘∅) = (recs((𝑔 ∈ V ↦ {𝑥 ∣ (∃𝑚 ∈ ω (dom 𝑔 = suc 𝑚𝑥 ∈ (𝐹‘(𝑔𝑚))) ∨ (dom 𝑔 = ∅ ∧ 𝑥𝐴))}))‘∅))
4240, 41ax-mp 5 . . . . 5 ((recs((𝑔 ∈ V ↦ {𝑥 ∣ (∃𝑚 ∈ ω (dom 𝑔 = suc 𝑚𝑥 ∈ (𝐹‘(𝑔𝑚))) ∨ (dom 𝑔 = ∅ ∧ 𝑥𝐴))})) ↾ ω)‘∅) = (recs((𝑔 ∈ V ↦ {𝑥 ∣ (∃𝑚 ∈ ω (dom 𝑔 = suc 𝑚𝑥 ∈ (𝐹‘(𝑔𝑚))) ∨ (dom 𝑔 = ∅ ∧ 𝑥𝐴))}))‘∅)
4339, 42eqtri 2186 . . . 4 (frec(𝐹, 𝐴)‘∅) = (recs((𝑔 ∈ V ↦ {𝑥 ∣ (∃𝑚 ∈ ω (dom 𝑔 = suc 𝑚𝑥 ∈ (𝐹‘(𝑔𝑚))) ∨ (dom 𝑔 = ∅ ∧ 𝑥𝐴))}))‘∅)
44 eqid 2165 . . . . 5 recs((𝑔 ∈ V ↦ {𝑥 ∣ (∃𝑚 ∈ ω (dom 𝑔 = suc 𝑚𝑥 ∈ (𝐹‘(𝑔𝑚))) ∨ (dom 𝑔 = ∅ ∧ 𝑥𝐴))})) = recs((𝑔 ∈ V ↦ {𝑥 ∣ (∃𝑚 ∈ ω (dom 𝑔 = suc 𝑚𝑥 ∈ (𝐹‘(𝑔𝑚))) ∨ (dom 𝑔 = ∅ ∧ 𝑥𝐴))}))
4544tfr0 6291 . . . 4 (((𝑔 ∈ V ↦ {𝑥 ∣ (∃𝑚 ∈ ω (dom 𝑔 = suc 𝑚𝑥 ∈ (𝐹‘(𝑔𝑚))) ∨ (dom 𝑔 = ∅ ∧ 𝑥𝐴))})‘∅) ∈ V → (recs((𝑔 ∈ V ↦ {𝑥 ∣ (∃𝑚 ∈ ω (dom 𝑔 = suc 𝑚𝑥 ∈ (𝐹‘(𝑔𝑚))) ∨ (dom 𝑔 = ∅ ∧ 𝑥𝐴))}))‘∅) = ((𝑔 ∈ V ↦ {𝑥 ∣ (∃𝑚 ∈ ω (dom 𝑔 = suc 𝑚𝑥 ∈ (𝐹‘(𝑔𝑚))) ∨ (dom 𝑔 = ∅ ∧ 𝑥𝐴))})‘∅))
4643, 45syl5eq 2211 . . 3 (((𝑔 ∈ V ↦ {𝑥 ∣ (∃𝑚 ∈ ω (dom 𝑔 = suc 𝑚𝑥 ∈ (𝐹‘(𝑔𝑚))) ∨ (dom 𝑔 = ∅ ∧ 𝑥𝐴))})‘∅) ∈ V → (frec(𝐹, 𝐴)‘∅) = ((𝑔 ∈ V ↦ {𝑥 ∣ (∃𝑚 ∈ ω (dom 𝑔 = suc 𝑚𝑥 ∈ (𝐹‘(𝑔𝑚))) ∨ (dom 𝑔 = ∅ ∧ 𝑥𝐴))})‘∅))
4737, 46syl 14 . 2 (𝐴𝑉 → (frec(𝐹, 𝐴)‘∅) = ((𝑔 ∈ V ↦ {𝑥 ∣ (∃𝑚 ∈ ω (dom 𝑔 = suc 𝑚𝑥 ∈ (𝐹‘(𝑔𝑚))) ∨ (dom 𝑔 = ∅ ∧ 𝑥𝐴))})‘∅))
4847, 36eqtrd 2198 1 (𝐴𝑉 → (frec(𝐹, 𝐴)‘∅) = 𝐴)
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wo 698   = wceq 1343  wcel 2136  {cab 2151  wne 2336  wrex 2445  Vcvv 2726  c0 3409  cmpt 4043  suc csuc 4343  ωcom 4567  dom cdm 4604  cres 4606  cfv 5188  recscrecs 6272  freccfrec 6358
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 604  ax-in2 605  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-13 2138  ax-14 2139  ax-ext 2147  ax-sep 4100  ax-nul 4108  ax-pow 4153  ax-pr 4187  ax-un 4411  ax-setind 4514
This theorem depends on definitions:  df-bi 116  df-3an 970  df-tru 1346  df-fal 1349  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ne 2337  df-ral 2449  df-rex 2450  df-rab 2453  df-v 2728  df-sbc 2952  df-csb 3046  df-dif 3118  df-un 3120  df-in 3122  df-ss 3129  df-nul 3410  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-uni 3790  df-int 3825  df-iun 3868  df-br 3983  df-opab 4044  df-mpt 4045  df-tr 4081  df-id 4271  df-iord 4344  df-on 4346  df-suc 4349  df-iom 4568  df-xp 4610  df-rel 4611  df-cnv 4612  df-co 4613  df-dm 4614  df-res 4616  df-iota 5153  df-fun 5190  df-fn 5191  df-fv 5196  df-recs 6273  df-frec 6359
This theorem is referenced by:  frecrdg  6376  frec2uz0d  10334  frec2uzrdg  10344  frecuzrdg0  10348  frecuzrdgg  10351  frecuzrdg0t  10357  seq3val  10393  seqvalcd  10394
  Copyright terms: Public domain W3C validator