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

Theorem uzrdglem 12570
Description: A helper lemma for the value of a recursive definition generator on upper integers. (Contributed by Mario Carneiro, 26-Jun-2013.) (Revised by Mario Carneiro, 18-Nov-2014.)
Hypotheses
Ref Expression
om2uz.1 𝐶 ∈ ℤ
om2uz.2 𝐺 = (rec((𝑥 ∈ V ↦ (𝑥 + 1)), 𝐶) ↾ ω)
uzrdg.1 𝐴 ∈ V
uzrdg.2 𝑅 = (rec((𝑥 ∈ V, 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩), ⟨𝐶, 𝐴⟩) ↾ ω)
Assertion
Ref Expression
uzrdglem (𝐵 ∈ (ℤ𝐶) → ⟨𝐵, (2nd ‘(𝑅‘(𝐺𝐵)))⟩ ∈ ran 𝑅)
Distinct variable groups:   𝑦,𝐴   𝑥,𝑦,𝐶   𝑦,𝐺   𝑥,𝐹,𝑦
Allowed substitution hints:   𝐴(𝑥)   𝐵(𝑥,𝑦)   𝑅(𝑥,𝑦)   𝐺(𝑥)

Proof of Theorem uzrdglem
StepHypRef Expression
1 om2uz.1 . . . . . 6 𝐶 ∈ ℤ
2 om2uz.2 . . . . . 6 𝐺 = (rec((𝑥 ∈ V ↦ (𝑥 + 1)), 𝐶) ↾ ω)
31, 2om2uzf1oi 12566 . . . . 5 𝐺:ω–1-1-onto→(ℤ𝐶)
4 f1ocnvdm 6415 . . . . 5 ((𝐺:ω–1-1-onto→(ℤ𝐶) ∧ 𝐵 ∈ (ℤ𝐶)) → (𝐺𝐵) ∈ ω)
53, 4mpan 701 . . . 4 (𝐵 ∈ (ℤ𝐶) → (𝐺𝐵) ∈ ω)
6 uzrdg.1 . . . . 5 𝐴 ∈ V
7 uzrdg.2 . . . . 5 𝑅 = (rec((𝑥 ∈ V, 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩), ⟨𝐶, 𝐴⟩) ↾ ω)
81, 2, 6, 7om2uzrdg 12569 . . . 4 ((𝐺𝐵) ∈ ω → (𝑅‘(𝐺𝐵)) = ⟨(𝐺‘(𝐺𝐵)), (2nd ‘(𝑅‘(𝐺𝐵)))⟩)
95, 8syl 17 . . 3 (𝐵 ∈ (ℤ𝐶) → (𝑅‘(𝐺𝐵)) = ⟨(𝐺‘(𝐺𝐵)), (2nd ‘(𝑅‘(𝐺𝐵)))⟩)
10 f1ocnvfv2 6408 . . . . 5 ((𝐺:ω–1-1-onto→(ℤ𝐶) ∧ 𝐵 ∈ (ℤ𝐶)) → (𝐺‘(𝐺𝐵)) = 𝐵)
113, 10mpan 701 . . . 4 (𝐵 ∈ (ℤ𝐶) → (𝐺‘(𝐺𝐵)) = 𝐵)
1211opeq1d 4337 . . 3 (𝐵 ∈ (ℤ𝐶) → ⟨(𝐺‘(𝐺𝐵)), (2nd ‘(𝑅‘(𝐺𝐵)))⟩ = ⟨𝐵, (2nd ‘(𝑅‘(𝐺𝐵)))⟩)
139, 12eqtrd 2640 . 2 (𝐵 ∈ (ℤ𝐶) → (𝑅‘(𝐺𝐵)) = ⟨𝐵, (2nd ‘(𝑅‘(𝐺𝐵)))⟩)
14 frfnom 7391 . . . 4 (rec((𝑥 ∈ V, 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩), ⟨𝐶, 𝐴⟩) ↾ ω) Fn ω
157fneq1i 5882 . . . 4 (𝑅 Fn ω ↔ (rec((𝑥 ∈ V, 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩), ⟨𝐶, 𝐴⟩) ↾ ω) Fn ω)
1614, 15mpbir 219 . . 3 𝑅 Fn ω
17 fnfvelrn 6246 . . 3 ((𝑅 Fn ω ∧ (𝐺𝐵) ∈ ω) → (𝑅‘(𝐺𝐵)) ∈ ran 𝑅)
1816, 5, 17sylancr 693 . 2 (𝐵 ∈ (ℤ𝐶) → (𝑅‘(𝐺𝐵)) ∈ ran 𝑅)
1913, 18eqeltrrd 2685 1 (𝐵 ∈ (ℤ𝐶) → ⟨𝐵, (2nd ‘(𝑅‘(𝐺𝐵)))⟩ ∈ ran 𝑅)
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1474  wcel 1976  Vcvv 3169  cop 4127  cmpt 4634  ccnv 5024  ran crn 5026  cres 5027   Fn wfn 5782  1-1-ontowf1o 5786  cfv 5787  (class class class)co 6524  cmpt2 6526  ωcom 6931  2nd c2nd 7032  reccrdg 7366  1c1 9790   + caddc 9792  cz 11207  cuz 11516
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1712  ax-4 1727  ax-5 1826  ax-6 1874  ax-7 1921  ax-8 1978  ax-9 1985  ax-10 2005  ax-11 2020  ax-12 2032  ax-13 2229  ax-ext 2586  ax-sep 4700  ax-nul 4709  ax-pow 4761  ax-pr 4825  ax-un 6821  ax-cnex 9845  ax-resscn 9846  ax-1cn 9847  ax-icn 9848  ax-addcl 9849  ax-addrcl 9850  ax-mulcl 9851  ax-mulrcl 9852  ax-mulcom 9853  ax-addass 9854  ax-mulass 9855  ax-distr 9856  ax-i2m1 9857  ax-1ne0 9858  ax-1rid 9859  ax-rnegex 9860  ax-rrecex 9861  ax-cnre 9862  ax-pre-lttri 9863  ax-pre-lttrn 9864  ax-pre-ltadd 9865  ax-pre-mulgt0 9866
This theorem depends on definitions:  df-bi 195  df-or 383  df-an 384  df-3or 1031  df-3an 1032  df-tru 1477  df-ex 1695  df-nf 1700  df-sb 1867  df-eu 2458  df-mo 2459  df-clab 2593  df-cleq 2599  df-clel 2602  df-nfc 2736  df-ne 2778  df-nel 2779  df-ral 2897  df-rex 2898  df-reu 2899  df-rab 2901  df-v 3171  df-sbc 3399  df-csb 3496  df-dif 3539  df-un 3541  df-in 3543  df-ss 3550  df-pss 3552  df-nul 3871  df-if 4033  df-pw 4106  df-sn 4122  df-pr 4124  df-tp 4126  df-op 4128  df-uni 4364  df-iun 4448  df-br 4575  df-opab 4635  df-mpt 4636  df-tr 4672  df-eprel 4936  df-id 4940  df-po 4946  df-so 4947  df-fr 4984  df-we 4986  df-xp 5031  df-rel 5032  df-cnv 5033  df-co 5034  df-dm 5035  df-rn 5036  df-res 5037  df-ima 5038  df-pred 5580  df-ord 5626  df-on 5627  df-lim 5628  df-suc 5629  df-iota 5751  df-fun 5789  df-fn 5790  df-f 5791  df-f1 5792  df-fo 5793  df-f1o 5794  df-fv 5795  df-riota 6486  df-ov 6527  df-oprab 6528  df-mpt2 6529  df-om 6932  df-2nd 7034  df-wrecs 7268  df-recs 7329  df-rdg 7367  df-er 7603  df-en 7816  df-dom 7817  df-sdom 7818  df-pnf 9929  df-mnf 9930  df-xr 9931  df-ltxr 9932  df-le 9933  df-sub 10116  df-neg 10117  df-nn 10865  df-n0 11137  df-z 11208  df-uz 11517
This theorem is referenced by:  uzrdgfni  12571  uzrdgsuci  12573
  Copyright terms: Public domain W3C validator