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

Theorem frecuzrdgrclt 10873
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 10868 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 6413 . . . . . . 7 (𝑧 ∈ ((ℤ≥‘𝐶) × 𝑆) → 𝑧 = ⟨(1st ‘𝑧), (2nd ‘𝑧)⟩)
21adantl 277 . . . . . 6 ((𝜑 ∧ 𝑧 ∈ ((ℤ≥‘𝐶) × 𝑆)) → 𝑧 = ⟨(1st ‘𝑧), (2nd ‘𝑧)⟩)
32fveq2d 5702 . . . . 5 ((𝜑 ∧ 𝑧 ∈ ((ℤ≥‘𝐶) × 𝑆)) → ((𝑥 ∈ (ℤ≥‘𝐶), 𝑦 ∈ 𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩)‘𝑧) = ((𝑥 ∈ (ℤ≥‘𝐶), 𝑦 ∈ 𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩)‘⟨(1st ‘𝑧), (2nd ‘𝑧)⟩))
4 df-ov 6091 . . . . . . 7 ((1st ‘𝑧)(𝑥 ∈ (ℤ≥‘𝐶), 𝑦 ∈ 𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩)(2nd ‘𝑧)) = ((𝑥 ∈ (ℤ≥‘𝐶), 𝑦 ∈ 𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩)‘⟨(1st ‘𝑧), (2nd ‘𝑧)⟩)
5 xp1st 6403 . . . . . . . . 9 (𝑧 ∈ ((ℤ≥‘𝐶) × 𝑆) → (1st ‘𝑧) ∈ (ℤ≥‘𝐶))
65adantl 277 . . . . . . . 8 ((𝜑 ∧ 𝑧 ∈ ((ℤ≥‘𝐶) × 𝑆)) → (1st ‘𝑧) ∈ (ℤ≥‘𝐶))
7 frecuzrdgrclt.t . . . . . . . . . 10 (𝜑 → 𝑆 ⊆ 𝑇)
87sseld 3247 . . . . . . . . 9 (𝜑 → ((2nd ‘𝑧) ∈ 𝑆 → (2nd ‘𝑧) ∈ 𝑇))
9 xp2nd 6404 . . . . . . . . 9 (𝑧 ∈ ((ℤ≥‘𝐶) × 𝑆) → (2nd ‘𝑧) ∈ 𝑆)
108, 9impel 280 . . . . . . . 8 ((𝜑 ∧ 𝑧 ∈ ((ℤ≥‘𝐶) × 𝑆)) → (2nd ‘𝑧) ∈ 𝑇)
11 peano2uz 9999 . . . . . . . . . 10 ((1st ‘𝑧) ∈ (ℤ≥‘𝐶) → ((1st ‘𝑧) + 1) ∈ (ℤ≥‘𝐶))
126, 11syl 14 . . . . . . . . 9 ((𝜑 ∧ 𝑧 ∈ ((ℤ≥‘𝐶) × 𝑆)) → ((1st ‘𝑧) + 1) ∈ (ℤ≥‘𝐶))
13 frecuzrdgrclt.f . . . . . . . . . . . 12 ((𝜑 ∧ (𝑥 ∈ (ℤ≥‘𝐶) ∧ 𝑦 ∈ 𝑆)) → (𝑥𝐹𝑦) ∈ 𝑆)
1413ralrimivva 2632 . . . . . . . . . . 11 (𝜑 → ∀𝑥 ∈ (ℤ≥‘𝐶)∀𝑦 ∈ 𝑆 (𝑥𝐹𝑦) ∈ 𝑆)
1514adantr 276 . . . . . . . . . 10 ((𝜑 ∧ 𝑧 ∈ ((ℤ≥‘𝐶) × 𝑆)) → ∀𝑥 ∈ (ℤ≥‘𝐶)∀𝑦 ∈ 𝑆 (𝑥𝐹𝑦) ∈ 𝑆)
169adantl 277 . . . . . . . . . . 11 ((𝜑 ∧ 𝑧 ∈ ((ℤ≥‘𝐶) × 𝑆)) → (2nd ‘𝑧) ∈ 𝑆)
17 oveq1 6095 . . . . . . . . . . . . 13 (𝑥 = (1st ‘𝑧) → (𝑥𝐹𝑦) = ((1st ‘𝑧)𝐹𝑦))
1817eleq1d 2307 . . . . . . . . . . . 12 (𝑥 = (1st ‘𝑧) → ((𝑥𝐹𝑦) ∈ 𝑆 ↔ ((1st ‘𝑧)𝐹𝑦) ∈ 𝑆))
19 oveq2 6096 . . . . . . . . . . . . 13 (𝑦 = (2nd ‘𝑧) → ((1st ‘𝑧)𝐹𝑦) = ((1st ‘𝑧)𝐹(2nd ‘𝑧)))
2019eleq1d 2307 . . . . . . . . . . . 12 (𝑦 = (2nd ‘𝑧) → (((1st ‘𝑧)𝐹𝑦) ∈ 𝑆 ↔ ((1st ‘𝑧)𝐹(2nd ‘𝑧)) ∈ 𝑆))
2118, 20rspc2v 2943 . . . . . . . . . . 11 (((1st ‘𝑧) ∈ (ℤ≥‘𝐶) ∧ (2nd ‘𝑧) ∈ 𝑆) → (∀𝑥 ∈ (ℤ≥‘𝐶)∀𝑦 ∈ 𝑆 (𝑥𝐹𝑦) ∈ 𝑆 → ((1st ‘𝑧)𝐹(2nd ‘𝑧)) ∈ 𝑆))
226, 16, 21syl2anc 415 . . . . . . . . . 10 ((𝜑 ∧ 𝑧 ∈ ((ℤ≥‘𝐶) × 𝑆)) → (∀𝑥 ∈ (ℤ≥‘𝐶)∀𝑦 ∈ 𝑆 (𝑥𝐹𝑦) ∈ 𝑆 → ((1st ‘𝑧)𝐹(2nd ‘𝑧)) ∈ 𝑆))
2315, 22mpd 13 . . . . . . . . 9 ((𝜑 ∧ 𝑧 ∈ ((ℤ≥‘𝐶) × 𝑆)) → ((1st ‘𝑧)𝐹(2nd ‘𝑧)) ∈ 𝑆)
24 opelxp 4806 . . . . . . . . 9 (⟨((1st ‘𝑧) + 1), ((1st ‘𝑧)𝐹(2nd ‘𝑧))⟩ ∈ ((ℤ≥‘𝐶) × 𝑆) ↔ (((1st ‘𝑧) + 1) ∈ (ℤ≥‘𝐶) ∧ ((1st ‘𝑧)𝐹(2nd ‘𝑧)) ∈ 𝑆))
2512, 23, 24sylanbrc 421 . . . . . . . 8 ((𝜑 ∧ 𝑧 ∈ ((ℤ≥‘𝐶) × 𝑆)) → ⟨((1st ‘𝑧) + 1), ((1st ‘𝑧)𝐹(2nd ‘𝑧))⟩ ∈ ((ℤ≥‘𝐶) × 𝑆))
26 oveq1 6095 . . . . . . . . . 10 (𝑥 = (1st ‘𝑧) → (𝑥 + 1) = ((1st ‘𝑧) + 1))
2726, 17opeq12d 3912 . . . . . . . . 9 (𝑥 = (1st ‘𝑧) → ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩ = ⟨((1st ‘𝑧) + 1), ((1st ‘𝑧)𝐹𝑦)⟩)
2819opeq2d 3911 . . . . . . . . 9 (𝑦 = (2nd ‘𝑧) → ⟨((1st ‘𝑧) + 1), ((1st ‘𝑧)𝐹𝑦)⟩ = ⟨((1st ‘𝑧) + 1), ((1st ‘𝑧)𝐹(2nd ‘𝑧))⟩)
29 eqid 2238 . . . . . . . . 9 (𝑥 ∈ (ℤ≥‘𝐶), 𝑦 ∈ 𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩) = (𝑥 ∈ (ℤ≥‘𝐶), 𝑦 ∈ 𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩)
3027, 28, 29ovmpog 6226 . . . . . . . 8 (((1st ‘𝑧) ∈ (ℤ≥‘𝐶) ∧ (2nd ‘𝑧) ∈ 𝑇 ∧ ⟨((1st ‘𝑧) + 1), ((1st ‘𝑧)𝐹(2nd ‘𝑧))⟩ ∈ ((ℤ≥‘𝐶) × 𝑆)) → ((1st ‘𝑧)(𝑥 ∈ (ℤ≥‘𝐶), 𝑦 ∈ 𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩)(2nd ‘𝑧)) = ⟨((1st ‘𝑧) + 1), ((1st ‘𝑧)𝐹(2nd ‘𝑧))⟩)
316, 10, 25, 30syl3anc 1278 . . . . . . 7 ((𝜑 ∧ 𝑧 ∈ ((ℤ≥‘𝐶) × 𝑆)) → ((1st ‘𝑧)(𝑥 ∈ (ℤ≥‘𝐶), 𝑦 ∈ 𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩)(2nd ‘𝑧)) = ⟨((1st ‘𝑧) + 1), ((1st ‘𝑧)𝐹(2nd ‘𝑧))⟩)
324, 31eqtr3id 2285 . . . . . 6 ((𝜑 ∧ 𝑧 ∈ ((ℤ≥‘𝐶) × 𝑆)) → ((𝑥 ∈ (ℤ≥‘𝐶), 𝑦 ∈ 𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩)‘⟨(1st ‘𝑧), (2nd ‘𝑧)⟩) = ⟨((1st ‘𝑧) + 1), ((1st ‘𝑧)𝐹(2nd ‘𝑧))⟩)
3332, 25eqeltrd 2315 . . . . 5 ((𝜑 ∧ 𝑧 ∈ ((ℤ≥‘𝐶) × 𝑆)) → ((𝑥 ∈ (ℤ≥‘𝐶), 𝑦 ∈ 𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩)‘⟨(1st ‘𝑧), (2nd ‘𝑧)⟩) ∈ ((ℤ≥‘𝐶) × 𝑆))
343, 33eqeltrd 2315 . . . 4 ((𝜑 ∧ 𝑧 ∈ ((ℤ≥‘𝐶) × 𝑆)) → ((𝑥 ∈ (ℤ≥‘𝐶), 𝑦 ∈ 𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩)‘𝑧) ∈ ((ℤ≥‘𝐶) × 𝑆))
3534ralrimiva 2623 . . 3 (𝜑 → ∀𝑧 ∈ ((ℤ≥‘𝐶) × 𝑆)((𝑥 ∈ (ℤ≥‘𝐶), 𝑦 ∈ 𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩)‘𝑧) ∈ ((ℤ≥‘𝐶) × 𝑆))
36 frecuzrdgrclt.c . . . . 5 (𝜑 → 𝐶 ∈ ℤ)
37 uzid 9952 . . . . 5 (𝐶 ∈ ℤ → 𝐶 ∈ (ℤ≥‘𝐶))
3836, 37syl 14 . . . 4 (𝜑 → 𝐶 ∈ (ℤ≥‘𝐶))
39 frecuzrdgrclt.a . . . 4 (𝜑 → 𝐴 ∈ 𝑆)
40 opelxp 4806 . . . 4 (⟨𝐶, 𝐴⟩ ∈ ((ℤ≥‘𝐶) × 𝑆) ↔ (𝐶 ∈ (ℤ≥‘𝐶) ∧ 𝐴 ∈ 𝑆))
4138, 39, 40sylanbrc 421 . . 3 (𝜑 → ⟨𝐶, 𝐴⟩ ∈ ((ℤ≥‘𝐶) × 𝑆))
42 frecfcl 6680 . . 3 ((∀𝑧 ∈ ((ℤ≥‘𝐶) × 𝑆)((𝑥 ∈ (ℤ≥‘𝐶), 𝑦 ∈ 𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩)‘𝑧) ∈ ((ℤ≥‘𝐶) × 𝑆) ∧ ⟨𝐶, 𝐴⟩ ∈ ((ℤ≥‘𝐶) × 𝑆)) → frec((𝑥 ∈ (ℤ≥‘𝐶), 𝑦 ∈ 𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩), ⟨𝐶, 𝐴⟩):ω⟶((ℤ≥‘𝐶) × 𝑆))
4335, 41, 42syl2anc 415 . 2 (𝜑 → frec((𝑥 ∈ (ℤ≥‘𝐶), 𝑦 ∈ 𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩), ⟨𝐶, 𝐴⟩):ω⟶((ℤ≥‘𝐶) × 𝑆))
44 frecuzrdgrclt.r . . 3 𝑅 = frec((𝑥 ∈ (ℤ≥‘𝐶), 𝑦 ∈ 𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩), ⟨𝐶, 𝐴⟩)
4544feq1i 5529 . 2 (𝑅:ω⟶((ℤ≥‘𝐶) × 𝑆) ↔ frec((𝑥 ∈ (ℤ≥‘𝐶), 𝑦 ∈ 𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩), ⟨𝐶, 𝐴⟩):ω⟶((ℤ≥‘𝐶) × 𝑆))
4643, 45sylibr 134 1 (𝜑 → 𝑅:ω⟶((ℤ≥‘𝐶) × 𝑆))
Colors of variables:    wff set class
This proof depends on syntax axioms:   → wi 4   ∧ wa 104   = wceq 1402   ∈ wcel 2209  ∀wral 2528   ⊆ wss 3220  ⟨cop 3712  ωcom 4739   × cxp 4774  ⟶wf 5376  ‘cfv 5380  (class class class)co 6088   ∈ cmpo 6090  1st c1st 6376  2nd c2nd 6377  freccfrec 6665  1c1 8186   + caddc 8188  ℤcz 9655  ℤ≥cuz 9937
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 623  ax-in2 624  ax-io 721  ax-5 1500  ax-7 1501  ax-gen 1502  ax-ie1 1546  ax-ie2 1547  ax-8 1557  ax-10 1558  ax-11 1559  ax-i12 1560  ax-bndl 1562  ax-4 1563  ax-17 1579  ax-i9 1583  ax-ial 1587  ax-i5r 1588  ax-14 2212  ax-ext 2220  ax-coll 4248  ax-sep 4251  ax-nul 4261  ax-pow 4313  ax-pr 4348  ax-un 4580  ax-setind 4686  ax-iinf 4737  ax-cnex 8276  ax-resscn 8277  ax-1cn 8278  ax-1re 8279  ax-icn 8280  ax-addcl 8281  ax-addrcl 8282  ax-mulcl 8283  ax-addcom 8285  ax-addass 8287  ax-distr 8289  ax-i2m1 8290  ax-0lt1 8291  ax-0id 8293  ax-rnegex 8294  ax-cnre 8296  ax-pre-ltirr 8297  ax-pre-ltwlin 8298  ax-pre-lttrn 8299  ax-pre-ltadd 8301
This proof depends on definitions:  df-bi 117  df-3or 1010  df-3an 1011  df-tru 1405  df-fal 1408  df-nf 1514  df-sb 1816  df-eu 2089  df-mo 2090  df-clab 2225  df-cleq 2231  df-clel 2234  df-nfc 2381  df-ne 2421  df-nel 2516  df-ral 2533  df-rex 2534  df-reu 2535  df-rab 2537  df-v 2823  df-sbc 3052  df-csb 3148  df-dif 3222  df-un 3224  df-in 3226  df-ss 3233  df-nul 3521  df-pw 3690  df-sn 3715  df-pr 3716  df-op 3718  df-uni 3936  df-int 3971  df-iun 4014  df-br 4132  df-opab 4194  df-mpt 4195  df-tr 4232  df-id 4440  df-iord 4513  df-on 4515  df-ilim 4516  df-suc 4518  df-iom 4740  df-xp 4782  df-rel 4783  df-cnv 4784  df-co 4785  df-dm 4786  df-rn 4787  df-res 4788  df-ima 4789  df-iota 5340  df-fun 5382  df-fn 5383  df-f 5384  df-f1 5385  df-fo 5386  df-f1o 5387  df-fv 5388  df-riota 6041  df-ov 6091  df-oprab 6092  df-mpo 6093  df-1st 6378  df-2nd 6379  df-recs 6580  df-frec 6666  df-pnf 8368  df-mnf 8369  df-xr 8370  df-ltxr 8371  df-le 8372  df-sub 8506  df-neg 8507  df-inn 9314  df-n0 9575  df-z 9656  df-uz 9938
This theorem is used by:  frecuzrdgg  10874  frecuzrdgdomlem  10875  frecuzrdgfunlem  10877  frecuzrdgtclt  10879  frecuzrdg0t  10880  frecuzrdgsuctlem  10881  seq3val  10918  seqvalcd  10919
  Copyright terms: Public domain W3C validator