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

Theorem frecuzrdgrrn 9357
Description: The function 𝑅 (used in the definition of the recursive definition generator on upper integers) yields ordered pairs of integers and elements of 𝑆. (Contributed by Jim Kingdon, 27-May-2020.)
Hypotheses
Ref Expression
frec2uz.1 (𝜑𝐶 ∈ ℤ)
frec2uz.2 𝐺 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 𝐶)
uzrdg.s (𝜑𝑆𝑉)
uzrdg.a (𝜑𝐴𝑆)
uzrdg.f ((𝜑 ∧ (𝑥 ∈ (ℤ𝐶) ∧ 𝑦𝑆)) → (𝑥𝐹𝑦) ∈ 𝑆)
uzrdg.2 𝑅 = frec((𝑥 ∈ (ℤ𝐶), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩), ⟨𝐶, 𝐴⟩)
Assertion
Ref Expression
frecuzrdgrrn ((𝜑𝐷 ∈ ω) → (𝑅𝐷) ∈ ((ℤ𝐶) × 𝑆))
Distinct variable groups:   𝑦,𝐴   𝑥,𝐶,𝑦   𝑦,𝐺   𝑥,𝐹,𝑦   𝑥,𝑆,𝑦   𝜑,𝑥,𝑦
Allowed substitution hints:   𝐴(𝑥)   𝐷(𝑥,𝑦)   𝑅(𝑥,𝑦)   𝐺(𝑥)   𝑉(𝑥,𝑦)

Proof of Theorem frecuzrdgrrn
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 uzrdg.2 . . 3 𝑅 = frec((𝑥 ∈ (ℤ𝐶), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩), ⟨𝐶, 𝐴⟩)
21fveq1i 5206 . 2 (𝑅𝐷) = (frec((𝑥 ∈ (ℤ𝐶), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩), ⟨𝐶, 𝐴⟩)‘𝐷)
3 zex 8310 . . . . . . . 8 ℤ ∈ V
4 uzssz 8587 . . . . . . . 8 (ℤ𝐶) ⊆ ℤ
53, 4ssexi 3922 . . . . . . 7 (ℤ𝐶) ∈ V
65a1i 9 . . . . . 6 ((𝜑𝐷 ∈ ω) → (ℤ𝐶) ∈ V)
7 uzrdg.s . . . . . . 7 (𝜑𝑆𝑉)
87adantr 265 . . . . . 6 ((𝜑𝐷 ∈ ω) → 𝑆𝑉)
9 mpt2exga 5862 . . . . . 6 (((ℤ𝐶) ∈ V ∧ 𝑆𝑉) → (𝑥 ∈ (ℤ𝐶), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩) ∈ V)
106, 8, 9syl2anc 397 . . . . 5 ((𝜑𝐷 ∈ ω) → (𝑥 ∈ (ℤ𝐶), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩) ∈ V)
11 vex 2577 . . . . . 6 𝑧 ∈ V
1211a1i 9 . . . . 5 ((𝜑𝐷 ∈ ω) → 𝑧 ∈ V)
13 fvexg 5221 . . . . 5 (((𝑥 ∈ (ℤ𝐶), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩) ∈ V ∧ 𝑧 ∈ V) → ((𝑥 ∈ (ℤ𝐶), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩)‘𝑧) ∈ V)
1410, 12, 13syl2anc 397 . . . 4 ((𝜑𝐷 ∈ ω) → ((𝑥 ∈ (ℤ𝐶), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩)‘𝑧) ∈ V)
1514alrimiv 1770 . . 3 ((𝜑𝐷 ∈ ω) → ∀𝑧((𝑥 ∈ (ℤ𝐶), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩)‘𝑧) ∈ V)
16 frec2uz.1 . . . . . 6 (𝜑𝐶 ∈ ℤ)
17 uzid 8582 . . . . . 6 (𝐶 ∈ ℤ → 𝐶 ∈ (ℤ𝐶))
1816, 17syl 14 . . . . 5 (𝜑𝐶 ∈ (ℤ𝐶))
19 uzrdg.a . . . . 5 (𝜑𝐴𝑆)
20 opelxp 4401 . . . . 5 (⟨𝐶, 𝐴⟩ ∈ ((ℤ𝐶) × 𝑆) ↔ (𝐶 ∈ (ℤ𝐶) ∧ 𝐴𝑆))
2118, 19, 20sylanbrc 402 . . . 4 (𝜑 → ⟨𝐶, 𝐴⟩ ∈ ((ℤ𝐶) × 𝑆))
2221adantr 265 . . 3 ((𝜑𝐷 ∈ ω) → ⟨𝐶, 𝐴⟩ ∈ ((ℤ𝐶) × 𝑆))
23 1st2nd2 5828 . . . . . . 7 (𝑧 ∈ ((ℤ𝐶) × 𝑆) → 𝑧 = ⟨(1st𝑧), (2nd𝑧)⟩)
24 fveq2 5205 . . . . . . . 8 (𝑧 = ⟨(1st𝑧), (2nd𝑧)⟩ → ((𝑥 ∈ (ℤ𝐶), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩)‘𝑧) = ((𝑥 ∈ (ℤ𝐶), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩)‘⟨(1st𝑧), (2nd𝑧)⟩))
25 df-ov 5542 . . . . . . . 8 ((1st𝑧)(𝑥 ∈ (ℤ𝐶), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩)(2nd𝑧)) = ((𝑥 ∈ (ℤ𝐶), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩)‘⟨(1st𝑧), (2nd𝑧)⟩)
2624, 25syl6eqr 2106 . . . . . . 7 (𝑧 = ⟨(1st𝑧), (2nd𝑧)⟩ → ((𝑥 ∈ (ℤ𝐶), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩)‘𝑧) = ((1st𝑧)(𝑥 ∈ (ℤ𝐶), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩)(2nd𝑧)))
2723, 26syl 14 . . . . . 6 (𝑧 ∈ ((ℤ𝐶) × 𝑆) → ((𝑥 ∈ (ℤ𝐶), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩)‘𝑧) = ((1st𝑧)(𝑥 ∈ (ℤ𝐶), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩)(2nd𝑧)))
2827adantl 266 . . . . 5 (((𝜑𝐷 ∈ ω) ∧ 𝑧 ∈ ((ℤ𝐶) × 𝑆)) → ((𝑥 ∈ (ℤ𝐶), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩)‘𝑧) = ((1st𝑧)(𝑥 ∈ (ℤ𝐶), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩)(2nd𝑧)))
29 xp1st 5819 . . . . . . 7 (𝑧 ∈ ((ℤ𝐶) × 𝑆) → (1st𝑧) ∈ (ℤ𝐶))
3029adantl 266 . . . . . 6 (((𝜑𝐷 ∈ ω) ∧ 𝑧 ∈ ((ℤ𝐶) × 𝑆)) → (1st𝑧) ∈ (ℤ𝐶))
31 xp2nd 5820 . . . . . . 7 (𝑧 ∈ ((ℤ𝐶) × 𝑆) → (2nd𝑧) ∈ 𝑆)
3231adantl 266 . . . . . 6 (((𝜑𝐷 ∈ ω) ∧ 𝑧 ∈ ((ℤ𝐶) × 𝑆)) → (2nd𝑧) ∈ 𝑆)
33 peano2uz 8621 . . . . . . . 8 ((1st𝑧) ∈ (ℤ𝐶) → ((1st𝑧) + 1) ∈ (ℤ𝐶))
3430, 33syl 14 . . . . . . 7 (((𝜑𝐷 ∈ ω) ∧ 𝑧 ∈ ((ℤ𝐶) × 𝑆)) → ((1st𝑧) + 1) ∈ (ℤ𝐶))
35 uzrdg.f . . . . . . . . . 10 ((𝜑 ∧ (𝑥 ∈ (ℤ𝐶) ∧ 𝑦𝑆)) → (𝑥𝐹𝑦) ∈ 𝑆)
3635ralrimivva 2418 . . . . . . . . 9 (𝜑 → ∀𝑥 ∈ (ℤ𝐶)∀𝑦𝑆 (𝑥𝐹𝑦) ∈ 𝑆)
3736ad2antrr 465 . . . . . . . 8 (((𝜑𝐷 ∈ ω) ∧ 𝑧 ∈ ((ℤ𝐶) × 𝑆)) → ∀𝑥 ∈ (ℤ𝐶)∀𝑦𝑆 (𝑥𝐹𝑦) ∈ 𝑆)
38 oveq1 5546 . . . . . . . . . . 11 (𝑥 = (1st𝑧) → (𝑥𝐹𝑦) = ((1st𝑧)𝐹𝑦))
3938eleq1d 2122 . . . . . . . . . 10 (𝑥 = (1st𝑧) → ((𝑥𝐹𝑦) ∈ 𝑆 ↔ ((1st𝑧)𝐹𝑦) ∈ 𝑆))
40 oveq2 5547 . . . . . . . . . . 11 (𝑦 = (2nd𝑧) → ((1st𝑧)𝐹𝑦) = ((1st𝑧)𝐹(2nd𝑧)))
4140eleq1d 2122 . . . . . . . . . 10 (𝑦 = (2nd𝑧) → (((1st𝑧)𝐹𝑦) ∈ 𝑆 ↔ ((1st𝑧)𝐹(2nd𝑧)) ∈ 𝑆))
4239, 41rspc2v 2684 . . . . . . . . 9 (((1st𝑧) ∈ (ℤ𝐶) ∧ (2nd𝑧) ∈ 𝑆) → (∀𝑥 ∈ (ℤ𝐶)∀𝑦𝑆 (𝑥𝐹𝑦) ∈ 𝑆 → ((1st𝑧)𝐹(2nd𝑧)) ∈ 𝑆))
4330, 32, 42syl2anc 397 . . . . . . . 8 (((𝜑𝐷 ∈ ω) ∧ 𝑧 ∈ ((ℤ𝐶) × 𝑆)) → (∀𝑥 ∈ (ℤ𝐶)∀𝑦𝑆 (𝑥𝐹𝑦) ∈ 𝑆 → ((1st𝑧)𝐹(2nd𝑧)) ∈ 𝑆))
4437, 43mpd 13 . . . . . . 7 (((𝜑𝐷 ∈ ω) ∧ 𝑧 ∈ ((ℤ𝐶) × 𝑆)) → ((1st𝑧)𝐹(2nd𝑧)) ∈ 𝑆)
45 opelxp 4401 . . . . . . 7 (⟨((1st𝑧) + 1), ((1st𝑧)𝐹(2nd𝑧))⟩ ∈ ((ℤ𝐶) × 𝑆) ↔ (((1st𝑧) + 1) ∈ (ℤ𝐶) ∧ ((1st𝑧)𝐹(2nd𝑧)) ∈ 𝑆))
4634, 44, 45sylanbrc 402 . . . . . 6 (((𝜑𝐷 ∈ ω) ∧ 𝑧 ∈ ((ℤ𝐶) × 𝑆)) → ⟨((1st𝑧) + 1), ((1st𝑧)𝐹(2nd𝑧))⟩ ∈ ((ℤ𝐶) × 𝑆))
47 oveq1 5546 . . . . . . . 8 (𝑥 = (1st𝑧) → (𝑥 + 1) = ((1st𝑧) + 1))
4847, 38opeq12d 3584 . . . . . . 7 (𝑥 = (1st𝑧) → ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩ = ⟨((1st𝑧) + 1), ((1st𝑧)𝐹𝑦)⟩)
4940opeq2d 3583 . . . . . . 7 (𝑦 = (2nd𝑧) → ⟨((1st𝑧) + 1), ((1st𝑧)𝐹𝑦)⟩ = ⟨((1st𝑧) + 1), ((1st𝑧)𝐹(2nd𝑧))⟩)
50 eqid 2056 . . . . . . 7 (𝑥 ∈ (ℤ𝐶), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩) = (𝑥 ∈ (ℤ𝐶), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩)
5148, 49, 50ovmpt2g 5662 . . . . . 6 (((1st𝑧) ∈ (ℤ𝐶) ∧ (2nd𝑧) ∈ 𝑆 ∧ ⟨((1st𝑧) + 1), ((1st𝑧)𝐹(2nd𝑧))⟩ ∈ ((ℤ𝐶) × 𝑆)) → ((1st𝑧)(𝑥 ∈ (ℤ𝐶), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩)(2nd𝑧)) = ⟨((1st𝑧) + 1), ((1st𝑧)𝐹(2nd𝑧))⟩)
5230, 32, 46, 51syl3anc 1146 . . . . 5 (((𝜑𝐷 ∈ ω) ∧ 𝑧 ∈ ((ℤ𝐶) × 𝑆)) → ((1st𝑧)(𝑥 ∈ (ℤ𝐶), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩)(2nd𝑧)) = ⟨((1st𝑧) + 1), ((1st𝑧)𝐹(2nd𝑧))⟩)
5328, 52eqtrd 2088 . . . 4 (((𝜑𝐷 ∈ ω) ∧ 𝑧 ∈ ((ℤ𝐶) × 𝑆)) → ((𝑥 ∈ (ℤ𝐶), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩)‘𝑧) = ⟨((1st𝑧) + 1), ((1st𝑧)𝐹(2nd𝑧))⟩)
5453, 46eqeltrd 2130 . . 3 (((𝜑𝐷 ∈ ω) ∧ 𝑧 ∈ ((ℤ𝐶) × 𝑆)) → ((𝑥 ∈ (ℤ𝐶), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩)‘𝑧) ∈ ((ℤ𝐶) × 𝑆))
55 simpr 107 . . 3 ((𝜑𝐷 ∈ ω) → 𝐷 ∈ ω)
5615, 22, 54, 55freccl 6023 . 2 ((𝜑𝐷 ∈ ω) → (frec((𝑥 ∈ (ℤ𝐶), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩), ⟨𝐶, 𝐴⟩)‘𝐷) ∈ ((ℤ𝐶) × 𝑆))
572, 56syl5eqel 2140 1 ((𝜑𝐷 ∈ ω) → (𝑅𝐷) ∈ ((ℤ𝐶) × 𝑆))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 101   = wceq 1259  wcel 1409  wral 2323  Vcvv 2574  cop 3405  cmpt 3845  ωcom 4340   × cxp 4370  cfv 4929  (class class class)co 5539  cmpt2 5541  1st c1st 5792  2nd c2nd 5793  freccfrec 6007  1c1 6947   + caddc 6949  cz 8301  cuz 8568
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 103  ax-ia2 104  ax-ia3 105  ax-in1 554  ax-in2 555  ax-io 640  ax-5 1352  ax-7 1353  ax-gen 1354  ax-ie1 1398  ax-ie2 1399  ax-8 1411  ax-10 1412  ax-11 1413  ax-i12 1414  ax-bndl 1415  ax-4 1416  ax-13 1420  ax-14 1421  ax-17 1435  ax-i9 1439  ax-ial 1443  ax-i5r 1444  ax-ext 2038  ax-coll 3899  ax-sep 3902  ax-nul 3910  ax-pow 3954  ax-pr 3971  ax-un 4197  ax-setind 4289  ax-iinf 4338  ax-cnex 7032  ax-resscn 7033  ax-1cn 7034  ax-1re 7035  ax-icn 7036  ax-addcl 7037  ax-addrcl 7038  ax-mulcl 7039  ax-addcom 7041  ax-addass 7043  ax-distr 7045  ax-i2m1 7046  ax-0id 7049  ax-rnegex 7050  ax-cnre 7052  ax-pre-ltirr 7053  ax-pre-ltwlin 7054  ax-pre-lttrn 7055  ax-pre-ltadd 7057
This theorem depends on definitions:  df-bi 114  df-dc 754  df-3or 897  df-3an 898  df-tru 1262  df-fal 1265  df-nf 1366  df-sb 1662  df-eu 1919  df-mo 1920  df-clab 2043  df-cleq 2049  df-clel 2052  df-nfc 2183  df-ne 2221  df-nel 2315  df-ral 2328  df-rex 2329  df-reu 2330  df-rab 2332  df-v 2576  df-sbc 2787  df-csb 2880  df-dif 2947  df-un 2949  df-in 2951  df-ss 2958  df-nul 3252  df-pw 3388  df-sn 3408  df-pr 3409  df-op 3411  df-uni 3608  df-int 3643  df-iun 3686  df-br 3792  df-opab 3846  df-mpt 3847  df-tr 3882  df-eprel 4053  df-id 4057  df-po 4060  df-iso 4061  df-iord 4130  df-on 4132  df-suc 4135  df-iom 4341  df-xp 4378  df-rel 4379  df-cnv 4380  df-co 4381  df-dm 4382  df-rn 4383  df-res 4384  df-ima 4385  df-iota 4894  df-fun 4931  df-fn 4932  df-f 4933  df-f1 4934  df-fo 4935  df-f1o 4936  df-fv 4937  df-riota 5495  df-ov 5542  df-oprab 5543  df-mpt2 5544  df-1st 5794  df-2nd 5795  df-recs 5950  df-irdg 5987  df-frec 6008  df-1o 6031  df-2o 6032  df-oadd 6035  df-omul 6036  df-er 6136  df-ec 6138  df-qs 6142  df-ni 6459  df-pli 6460  df-mi 6461  df-lti 6462  df-plpq 6499  df-mpq 6500  df-enq 6502  df-nqqs 6503  df-plqqs 6504  df-mqqs 6505  df-1nqqs 6506  df-rq 6507  df-ltnqqs 6508  df-enq0 6579  df-nq0 6580  df-0nq0 6581  df-plq0 6582  df-mq0 6583  df-inp 6621  df-i1p 6622  df-iplp 6623  df-iltp 6625  df-enr 6868  df-nr 6869  df-ltr 6872  df-0r 6873  df-1r 6874  df-0 6953  df-1 6954  df-r 6956  df-lt 6959  df-pnf 7120  df-mnf 7121  df-xr 7122  df-ltxr 7123  df-le 7124  df-sub 7246  df-neg 7247  df-inn 7990  df-n0 8239  df-z 8302  df-uz 8569
This theorem is referenced by:  frec2uzrdg  9358  frecuzrdgfn  9361  frecuzrdgcl  9362  frecuzrdgsuc  9364
  Copyright terms: Public domain W3C validator