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

Theorem frec2uzuzd 10397
Description: The value 𝐺 (see frec2uz0d 10394) at an ordinal natural number is in the upper integers. (Contributed by Jim Kingdon, 16-May-2020.)
Hypotheses
Ref Expression
frec2uz.1 (𝜑𝐶 ∈ ℤ)
frec2uz.2 𝐺 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 𝐶)
frec2uzzd.a (𝜑𝐴 ∈ ω)
Assertion
Ref Expression
frec2uzuzd (𝜑 → (𝐺𝐴) ∈ (ℤ𝐶))
Distinct variable group:   𝑥,𝐶
Allowed substitution hints:   𝜑(𝑥)   𝐴(𝑥)   𝐺(𝑥)

Proof of Theorem frec2uzuzd
Dummy variables 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 frec2uzzd.a . 2 (𝜑𝐴 ∈ ω)
2 simpr 110 . . . . 5 ((𝜑𝑦 = 𝐴) → 𝑦 = 𝐴)
32eleq1d 2246 . . . 4 ((𝜑𝑦 = 𝐴) → (𝑦 ∈ ω ↔ 𝐴 ∈ ω))
42fveq2d 5518 . . . . 5 ((𝜑𝑦 = 𝐴) → (𝐺𝑦) = (𝐺𝐴))
54eleq1d 2246 . . . 4 ((𝜑𝑦 = 𝐴) → ((𝐺𝑦) ∈ (ℤ𝐶) ↔ (𝐺𝐴) ∈ (ℤ𝐶)))
63, 5imbi12d 234 . . 3 ((𝜑𝑦 = 𝐴) → ((𝑦 ∈ ω → (𝐺𝑦) ∈ (ℤ𝐶)) ↔ (𝐴 ∈ ω → (𝐺𝐴) ∈ (ℤ𝐶))))
7 fveq2 5514 . . . . . 6 (𝑦 = ∅ → (𝐺𝑦) = (𝐺‘∅))
87eleq1d 2246 . . . . 5 (𝑦 = ∅ → ((𝐺𝑦) ∈ (ℤ𝐶) ↔ (𝐺‘∅) ∈ (ℤ𝐶)))
9 fveq2 5514 . . . . . 6 (𝑦 = 𝑧 → (𝐺𝑦) = (𝐺𝑧))
109eleq1d 2246 . . . . 5 (𝑦 = 𝑧 → ((𝐺𝑦) ∈ (ℤ𝐶) ↔ (𝐺𝑧) ∈ (ℤ𝐶)))
11 fveq2 5514 . . . . . 6 (𝑦 = suc 𝑧 → (𝐺𝑦) = (𝐺‘suc 𝑧))
1211eleq1d 2246 . . . . 5 (𝑦 = suc 𝑧 → ((𝐺𝑦) ∈ (ℤ𝐶) ↔ (𝐺‘suc 𝑧) ∈ (ℤ𝐶)))
13 frec2uz.1 . . . . . . 7 (𝜑𝐶 ∈ ℤ)
14 frec2uz.2 . . . . . . 7 𝐺 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 𝐶)
1513, 14frec2uz0d 10394 . . . . . 6 (𝜑 → (𝐺‘∅) = 𝐶)
16 uzid 9538 . . . . . . 7 (𝐶 ∈ ℤ → 𝐶 ∈ (ℤ𝐶))
1713, 16syl 14 . . . . . 6 (𝜑𝐶 ∈ (ℤ𝐶))
1815, 17eqeltrd 2254 . . . . 5 (𝜑 → (𝐺‘∅) ∈ (ℤ𝐶))
19 peano2uz 9579 . . . . . . 7 ((𝐺𝑧) ∈ (ℤ𝐶) → ((𝐺𝑧) + 1) ∈ (ℤ𝐶))
2013adantl 277 . . . . . . . . 9 ((𝑧 ∈ ω ∧ 𝜑) → 𝐶 ∈ ℤ)
21 simpl 109 . . . . . . . . 9 ((𝑧 ∈ ω ∧ 𝜑) → 𝑧 ∈ ω)
2220, 14, 21frec2uzsucd 10396 . . . . . . . 8 ((𝑧 ∈ ω ∧ 𝜑) → (𝐺‘suc 𝑧) = ((𝐺𝑧) + 1))
2322eleq1d 2246 . . . . . . 7 ((𝑧 ∈ ω ∧ 𝜑) → ((𝐺‘suc 𝑧) ∈ (ℤ𝐶) ↔ ((𝐺𝑧) + 1) ∈ (ℤ𝐶)))
2419, 23imbitrrid 156 . . . . . 6 ((𝑧 ∈ ω ∧ 𝜑) → ((𝐺𝑧) ∈ (ℤ𝐶) → (𝐺‘suc 𝑧) ∈ (ℤ𝐶)))
2524ex 115 . . . . 5 (𝑧 ∈ ω → (𝜑 → ((𝐺𝑧) ∈ (ℤ𝐶) → (𝐺‘suc 𝑧) ∈ (ℤ𝐶))))
268, 10, 12, 18, 25finds2 4599 . . . 4 (𝑦 ∈ ω → (𝜑 → (𝐺𝑦) ∈ (ℤ𝐶)))
2726com12 30 . . 3 (𝜑 → (𝑦 ∈ ω → (𝐺𝑦) ∈ (ℤ𝐶)))
281, 6, 27vtocld 2789 . 2 (𝜑 → (𝐴 ∈ ω → (𝐺𝐴) ∈ (ℤ𝐶)))
291, 28mpd 13 1 (𝜑 → (𝐺𝐴) ∈ (ℤ𝐶))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 104   = wceq 1353  wcel 2148  c0 3422  cmpt 4063  suc csuc 4364  ωcom 4588  cfv 5215  (class class class)co 5872  freccfrec 6388  1c1 7809   + caddc 7811  cz 9249  cuz 9524
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 614  ax-in2 615  ax-io 709  ax-5 1447  ax-7 1448  ax-gen 1449  ax-ie1 1493  ax-ie2 1494  ax-8 1504  ax-10 1505  ax-11 1506  ax-i12 1507  ax-bndl 1509  ax-4 1510  ax-17 1526  ax-i9 1530  ax-ial 1534  ax-i5r 1535  ax-13 2150  ax-14 2151  ax-ext 2159  ax-coll 4117  ax-sep 4120  ax-nul 4128  ax-pow 4173  ax-pr 4208  ax-un 4432  ax-setind 4535  ax-iinf 4586  ax-cnex 7899  ax-resscn 7900  ax-1cn 7901  ax-1re 7902  ax-icn 7903  ax-addcl 7904  ax-addrcl 7905  ax-mulcl 7906  ax-addcom 7908  ax-addass 7910  ax-distr 7912  ax-i2m1 7913  ax-0lt1 7914  ax-0id 7916  ax-rnegex 7917  ax-cnre 7919  ax-pre-ltirr 7920  ax-pre-ltwlin 7921  ax-pre-lttrn 7922  ax-pre-ltadd 7924
This theorem depends on definitions:  df-bi 117  df-3or 979  df-3an 980  df-tru 1356  df-fal 1359  df-nf 1461  df-sb 1763  df-eu 2029  df-mo 2030  df-clab 2164  df-cleq 2170  df-clel 2173  df-nfc 2308  df-ne 2348  df-nel 2443  df-ral 2460  df-rex 2461  df-reu 2462  df-rab 2464  df-v 2739  df-sbc 2963  df-csb 3058  df-dif 3131  df-un 3133  df-in 3135  df-ss 3142  df-nul 3423  df-pw 3577  df-sn 3598  df-pr 3599  df-op 3601  df-uni 3810  df-int 3845  df-iun 3888  df-br 4003  df-opab 4064  df-mpt 4065  df-tr 4101  df-id 4292  df-iord 4365  df-on 4367  df-ilim 4368  df-suc 4370  df-iom 4589  df-xp 4631  df-rel 4632  df-cnv 4633  df-co 4634  df-dm 4635  df-rn 4636  df-res 4637  df-ima 4638  df-iota 5177  df-fun 5217  df-fn 5218  df-f 5219  df-f1 5220  df-fo 5221  df-f1o 5222  df-fv 5223  df-riota 5828  df-ov 5875  df-oprab 5876  df-mpo 5877  df-recs 6303  df-frec 6389  df-pnf 7990  df-mnf 7991  df-xr 7992  df-ltxr 7993  df-le 7994  df-sub 8126  df-neg 8127  df-inn 8916  df-n0 9173  df-z 9250  df-uz 9525
This theorem is referenced by:  frec2uzltd  10398  frec2uzrand  10400  frec2uzrdg  10404  frecuzrdgsuc  10409  hashcl  10754  ennnfonelemrn  12412
  Copyright terms: Public domain W3C validator