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

Theorem frecuzrdgrclt 10307
Description: The function 𝑅 (used in the definition of the recursive definition generator on upper integers) yields ordered pairs of integers and elements of 𝑆. Similar to frecuzrdgrcl 10302 except that 𝑆 and 𝑇 need not be the same. (Contributed by Jim Kingdon, 22-Apr-2022.)
Hypotheses
Ref Expression
frecuzrdgrclt.c (𝜑𝐶 ∈ ℤ)
frecuzrdgrclt.a (𝜑𝐴𝑆)
frecuzrdgrclt.t (𝜑𝑆𝑇)
frecuzrdgrclt.f ((𝜑 ∧ (𝑥 ∈ (ℤ𝐶) ∧ 𝑦𝑆)) → (𝑥𝐹𝑦) ∈ 𝑆)
frecuzrdgrclt.r 𝑅 = frec((𝑥 ∈ (ℤ𝐶), 𝑦𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩), ⟨𝐶, 𝐴⟩)
Assertion
Ref Expression
frecuzrdgrclt (𝜑𝑅:ω⟶((ℤ𝐶) × 𝑆))
Distinct variable groups:   𝑥,𝐶,𝑦   𝑥,𝐹,𝑦   𝑥,𝑆,𝑦   𝑥,𝑇,𝑦   𝜑,𝑥,𝑦
Allowed substitution hints:   𝐴(𝑥,𝑦)   𝑅(𝑥,𝑦)

Proof of Theorem frecuzrdgrclt
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 1st2nd2 6120 . . . . . . 7 (𝑧 ∈ ((ℤ𝐶) × 𝑆) → 𝑧 = ⟨(1st𝑧), (2nd𝑧)⟩)
21adantl 275 . . . . . 6 ((𝜑𝑧 ∈ ((ℤ𝐶) × 𝑆)) → 𝑧 = ⟨(1st𝑧), (2nd𝑧)⟩)
32fveq2d 5471 . . . . 5 ((𝜑𝑧 ∈ ((ℤ𝐶) × 𝑆)) → ((𝑥 ∈ (ℤ𝐶), 𝑦𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩)‘𝑧) = ((𝑥 ∈ (ℤ𝐶), 𝑦𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩)‘⟨(1st𝑧), (2nd𝑧)⟩))
4 df-ov 5824 . . . . . . 7 ((1st𝑧)(𝑥 ∈ (ℤ𝐶), 𝑦𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩)(2nd𝑧)) = ((𝑥 ∈ (ℤ𝐶), 𝑦𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩)‘⟨(1st𝑧), (2nd𝑧)⟩)
5 xp1st 6110 . . . . . . . . 9 (𝑧 ∈ ((ℤ𝐶) × 𝑆) → (1st𝑧) ∈ (ℤ𝐶))
65adantl 275 . . . . . . . 8 ((𝜑𝑧 ∈ ((ℤ𝐶) × 𝑆)) → (1st𝑧) ∈ (ℤ𝐶))
7 frecuzrdgrclt.t . . . . . . . . . 10 (𝜑𝑆𝑇)
87sseld 3127 . . . . . . . . 9 (𝜑 → ((2nd𝑧) ∈ 𝑆 → (2nd𝑧) ∈ 𝑇))
9 xp2nd 6111 . . . . . . . . 9 (𝑧 ∈ ((ℤ𝐶) × 𝑆) → (2nd𝑧) ∈ 𝑆)
108, 9impel 278 . . . . . . . 8 ((𝜑𝑧 ∈ ((ℤ𝐶) × 𝑆)) → (2nd𝑧) ∈ 𝑇)
11 peano2uz 9488 . . . . . . . . . 10 ((1st𝑧) ∈ (ℤ𝐶) → ((1st𝑧) + 1) ∈ (ℤ𝐶))
126, 11syl 14 . . . . . . . . 9 ((𝜑𝑧 ∈ ((ℤ𝐶) × 𝑆)) → ((1st𝑧) + 1) ∈ (ℤ𝐶))
13 frecuzrdgrclt.f . . . . . . . . . . . 12 ((𝜑 ∧ (𝑥 ∈ (ℤ𝐶) ∧ 𝑦𝑆)) → (𝑥𝐹𝑦) ∈ 𝑆)
1413ralrimivva 2539 . . . . . . . . . . 11 (𝜑 → ∀𝑥 ∈ (ℤ𝐶)∀𝑦𝑆 (𝑥𝐹𝑦) ∈ 𝑆)
1514adantr 274 . . . . . . . . . 10 ((𝜑𝑧 ∈ ((ℤ𝐶) × 𝑆)) → ∀𝑥 ∈ (ℤ𝐶)∀𝑦𝑆 (𝑥𝐹𝑦) ∈ 𝑆)
169adantl 275 . . . . . . . . . . 11 ((𝜑𝑧 ∈ ((ℤ𝐶) × 𝑆)) → (2nd𝑧) ∈ 𝑆)
17 oveq1 5828 . . . . . . . . . . . . 13 (𝑥 = (1st𝑧) → (𝑥𝐹𝑦) = ((1st𝑧)𝐹𝑦))
1817eleq1d 2226 . . . . . . . . . . . 12 (𝑥 = (1st𝑧) → ((𝑥𝐹𝑦) ∈ 𝑆 ↔ ((1st𝑧)𝐹𝑦) ∈ 𝑆))
19 oveq2 5829 . . . . . . . . . . . . 13 (𝑦 = (2nd𝑧) → ((1st𝑧)𝐹𝑦) = ((1st𝑧)𝐹(2nd𝑧)))
2019eleq1d 2226 . . . . . . . . . . . 12 (𝑦 = (2nd𝑧) → (((1st𝑧)𝐹𝑦) ∈ 𝑆 ↔ ((1st𝑧)𝐹(2nd𝑧)) ∈ 𝑆))
2118, 20rspc2v 2829 . . . . . . . . . . 11 (((1st𝑧) ∈ (ℤ𝐶) ∧ (2nd𝑧) ∈ 𝑆) → (∀𝑥 ∈ (ℤ𝐶)∀𝑦𝑆 (𝑥𝐹𝑦) ∈ 𝑆 → ((1st𝑧)𝐹(2nd𝑧)) ∈ 𝑆))
226, 16, 21syl2anc 409 . . . . . . . . . 10 ((𝜑𝑧 ∈ ((ℤ𝐶) × 𝑆)) → (∀𝑥 ∈ (ℤ𝐶)∀𝑦𝑆 (𝑥𝐹𝑦) ∈ 𝑆 → ((1st𝑧)𝐹(2nd𝑧)) ∈ 𝑆))
2315, 22mpd 13 . . . . . . . . 9 ((𝜑𝑧 ∈ ((ℤ𝐶) × 𝑆)) → ((1st𝑧)𝐹(2nd𝑧)) ∈ 𝑆)
24 opelxp 4615 . . . . . . . . 9 (⟨((1st𝑧) + 1), ((1st𝑧)𝐹(2nd𝑧))⟩ ∈ ((ℤ𝐶) × 𝑆) ↔ (((1st𝑧) + 1) ∈ (ℤ𝐶) ∧ ((1st𝑧)𝐹(2nd𝑧)) ∈ 𝑆))
2512, 23, 24sylanbrc 414 . . . . . . . 8 ((𝜑𝑧 ∈ ((ℤ𝐶) × 𝑆)) → ⟨((1st𝑧) + 1), ((1st𝑧)𝐹(2nd𝑧))⟩ ∈ ((ℤ𝐶) × 𝑆))
26 oveq1 5828 . . . . . . . . . 10 (𝑥 = (1st𝑧) → (𝑥 + 1) = ((1st𝑧) + 1))
2726, 17opeq12d 3749 . . . . . . . . 9 (𝑥 = (1st𝑧) → ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩ = ⟨((1st𝑧) + 1), ((1st𝑧)𝐹𝑦)⟩)
2819opeq2d 3748 . . . . . . . . 9 (𝑦 = (2nd𝑧) → ⟨((1st𝑧) + 1), ((1st𝑧)𝐹𝑦)⟩ = ⟨((1st𝑧) + 1), ((1st𝑧)𝐹(2nd𝑧))⟩)
29 eqid 2157 . . . . . . . . 9 (𝑥 ∈ (ℤ𝐶), 𝑦𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩) = (𝑥 ∈ (ℤ𝐶), 𝑦𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩)
3027, 28, 29ovmpog 5952 . . . . . . . 8 (((1st𝑧) ∈ (ℤ𝐶) ∧ (2nd𝑧) ∈ 𝑇 ∧ ⟨((1st𝑧) + 1), ((1st𝑧)𝐹(2nd𝑧))⟩ ∈ ((ℤ𝐶) × 𝑆)) → ((1st𝑧)(𝑥 ∈ (ℤ𝐶), 𝑦𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩)(2nd𝑧)) = ⟨((1st𝑧) + 1), ((1st𝑧)𝐹(2nd𝑧))⟩)
316, 10, 25, 30syl3anc 1220 . . . . . . 7 ((𝜑𝑧 ∈ ((ℤ𝐶) × 𝑆)) → ((1st𝑧)(𝑥 ∈ (ℤ𝐶), 𝑦𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩)(2nd𝑧)) = ⟨((1st𝑧) + 1), ((1st𝑧)𝐹(2nd𝑧))⟩)
324, 31eqtr3id 2204 . . . . . 6 ((𝜑𝑧 ∈ ((ℤ𝐶) × 𝑆)) → ((𝑥 ∈ (ℤ𝐶), 𝑦𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩)‘⟨(1st𝑧), (2nd𝑧)⟩) = ⟨((1st𝑧) + 1), ((1st𝑧)𝐹(2nd𝑧))⟩)
3332, 25eqeltrd 2234 . . . . 5 ((𝜑𝑧 ∈ ((ℤ𝐶) × 𝑆)) → ((𝑥 ∈ (ℤ𝐶), 𝑦𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩)‘⟨(1st𝑧), (2nd𝑧)⟩) ∈ ((ℤ𝐶) × 𝑆))
343, 33eqeltrd 2234 . . . 4 ((𝜑𝑧 ∈ ((ℤ𝐶) × 𝑆)) → ((𝑥 ∈ (ℤ𝐶), 𝑦𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩)‘𝑧) ∈ ((ℤ𝐶) × 𝑆))
3534ralrimiva 2530 . . 3 (𝜑 → ∀𝑧 ∈ ((ℤ𝐶) × 𝑆)((𝑥 ∈ (ℤ𝐶), 𝑦𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩)‘𝑧) ∈ ((ℤ𝐶) × 𝑆))
36 frecuzrdgrclt.c . . . . 5 (𝜑𝐶 ∈ ℤ)
37 uzid 9447 . . . . 5 (𝐶 ∈ ℤ → 𝐶 ∈ (ℤ𝐶))
3836, 37syl 14 . . . 4 (𝜑𝐶 ∈ (ℤ𝐶))
39 frecuzrdgrclt.a . . . 4 (𝜑𝐴𝑆)
40 opelxp 4615 . . . 4 (⟨𝐶, 𝐴⟩ ∈ ((ℤ𝐶) × 𝑆) ↔ (𝐶 ∈ (ℤ𝐶) ∧ 𝐴𝑆))
4138, 39, 40sylanbrc 414 . . 3 (𝜑 → ⟨𝐶, 𝐴⟩ ∈ ((ℤ𝐶) × 𝑆))
42 frecfcl 6349 . . 3 ((∀𝑧 ∈ ((ℤ𝐶) × 𝑆)((𝑥 ∈ (ℤ𝐶), 𝑦𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩)‘𝑧) ∈ ((ℤ𝐶) × 𝑆) ∧ ⟨𝐶, 𝐴⟩ ∈ ((ℤ𝐶) × 𝑆)) → frec((𝑥 ∈ (ℤ𝐶), 𝑦𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩), ⟨𝐶, 𝐴⟩):ω⟶((ℤ𝐶) × 𝑆))
4335, 41, 42syl2anc 409 . 2 (𝜑 → frec((𝑥 ∈ (ℤ𝐶), 𝑦𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩), ⟨𝐶, 𝐴⟩):ω⟶((ℤ𝐶) × 𝑆))
44 frecuzrdgrclt.r . . 3 𝑅 = frec((𝑥 ∈ (ℤ𝐶), 𝑦𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩), ⟨𝐶, 𝐴⟩)
4544feq1i 5311 . 2 (𝑅:ω⟶((ℤ𝐶) × 𝑆) ↔ frec((𝑥 ∈ (ℤ𝐶), 𝑦𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩), ⟨𝐶, 𝐴⟩):ω⟶((ℤ𝐶) × 𝑆))
4643, 45sylibr 133 1 (𝜑𝑅:ω⟶((ℤ𝐶) × 𝑆))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103   = wceq 1335  wcel 2128  wral 2435  wss 3102  cop 3563  ωcom 4548   × cxp 4583  wf 5165  cfv 5169  (class class class)co 5821  cmpo 5823  1st c1st 6083  2nd c2nd 6084  freccfrec 6334  1c1 7727   + caddc 7729  cz 9161  cuz 9433
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 1427  ax-7 1428  ax-gen 1429  ax-ie1 1473  ax-ie2 1474  ax-8 1484  ax-10 1485  ax-11 1486  ax-i12 1487  ax-bndl 1489  ax-4 1490  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-13 2130  ax-14 2131  ax-ext 2139  ax-coll 4079  ax-sep 4082  ax-nul 4090  ax-pow 4135  ax-pr 4169  ax-un 4393  ax-setind 4495  ax-iinf 4546  ax-cnex 7817  ax-resscn 7818  ax-1cn 7819  ax-1re 7820  ax-icn 7821  ax-addcl 7822  ax-addrcl 7823  ax-mulcl 7824  ax-addcom 7826  ax-addass 7828  ax-distr 7830  ax-i2m1 7831  ax-0lt1 7832  ax-0id 7834  ax-rnegex 7835  ax-cnre 7837  ax-pre-ltirr 7838  ax-pre-ltwlin 7839  ax-pre-lttrn 7840  ax-pre-ltadd 7842
This theorem depends on definitions:  df-bi 116  df-3or 964  df-3an 965  df-tru 1338  df-fal 1341  df-nf 1441  df-sb 1743  df-eu 2009  df-mo 2010  df-clab 2144  df-cleq 2150  df-clel 2153  df-nfc 2288  df-ne 2328  df-nel 2423  df-ral 2440  df-rex 2441  df-reu 2442  df-rab 2444  df-v 2714  df-sbc 2938  df-csb 3032  df-dif 3104  df-un 3106  df-in 3108  df-ss 3115  df-nul 3395  df-pw 3545  df-sn 3566  df-pr 3567  df-op 3569  df-uni 3773  df-int 3808  df-iun 3851  df-br 3966  df-opab 4026  df-mpt 4027  df-tr 4063  df-id 4253  df-iord 4326  df-on 4328  df-ilim 4329  df-suc 4331  df-iom 4549  df-xp 4591  df-rel 4592  df-cnv 4593  df-co 4594  df-dm 4595  df-rn 4596  df-res 4597  df-ima 4598  df-iota 5134  df-fun 5171  df-fn 5172  df-f 5173  df-f1 5174  df-fo 5175  df-f1o 5176  df-fv 5177  df-riota 5777  df-ov 5824  df-oprab 5825  df-mpo 5826  df-1st 6085  df-2nd 6086  df-recs 6249  df-frec 6335  df-pnf 7908  df-mnf 7909  df-xr 7910  df-ltxr 7911  df-le 7912  df-sub 8042  df-neg 8043  df-inn 8828  df-n0 9085  df-z 9162  df-uz 9434
This theorem is referenced by:  frecuzrdgg  10308  frecuzrdgdomlem  10309  frecuzrdgfunlem  10311  frecuzrdgtclt  10313  frecuzrdg0t  10314  frecuzrdgsuctlem  10315  seq3val  10350  seqvalcd  10351
  Copyright terms: Public domain W3C validator