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

Theorem seqovcd 10538
Description: A closure law for the recursive sequence builder. This is a lemma for theorems such as seqf2 10539 and seq1cd 10540 and is unlikely to be needed once such theorems are proved. (Contributed by Jim Kingdon, 20-Jul-2023.)
Hypotheses
Ref Expression
seqovcd.f ((𝜑𝑥 ∈ (ℤ‘(𝑀 + 1))) → (𝐹𝑥) ∈ 𝐷)
seqovcd.pl ((𝜑 ∧ (𝑥𝐶𝑦𝐷)) → (𝑥 + 𝑦) ∈ 𝐶)
Assertion
Ref Expression
seqovcd ((𝜑 ∧ (𝑥 ∈ (ℤ𝑀) ∧ 𝑦𝐶)) → (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝐶 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦) ∈ 𝐶)
Distinct variable groups:   𝑥, + ,𝑦,𝑤,𝑧   𝑥,𝐶,𝑦,𝑤,𝑧   𝑥,𝐷,𝑦   𝑥,𝐹,𝑤,𝑧   𝑥,𝑀,𝑤,𝑧   𝜑,𝑥,𝑦
Allowed substitution hints:   𝜑(𝑧,𝑤)   𝐷(𝑧,𝑤)   𝐹(𝑦)   𝑀(𝑦)

Proof of Theorem seqovcd
Dummy variables 𝑎 𝑏 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simprl 529 . . 3 ((𝜑 ∧ (𝑥 ∈ (ℤ𝑀) ∧ 𝑦𝐶)) → 𝑥 ∈ (ℤ𝑀))
2 simprr 531 . . 3 ((𝜑 ∧ (𝑥 ∈ (ℤ𝑀) ∧ 𝑦𝐶)) → 𝑦𝐶)
3 seqovcd.pl . . . . . . 7 ((𝜑 ∧ (𝑥𝐶𝑦𝐷)) → (𝑥 + 𝑦) ∈ 𝐶)
43ralrimivva 2576 . . . . . 6 (𝜑 → ∀𝑥𝐶𝑦𝐷 (𝑥 + 𝑦) ∈ 𝐶)
5 oveq1 5925 . . . . . . . 8 (𝑥 = 𝑎 → (𝑥 + 𝑦) = (𝑎 + 𝑦))
65eleq1d 2262 . . . . . . 7 (𝑥 = 𝑎 → ((𝑥 + 𝑦) ∈ 𝐶 ↔ (𝑎 + 𝑦) ∈ 𝐶))
7 oveq2 5926 . . . . . . . 8 (𝑦 = 𝑏 → (𝑎 + 𝑦) = (𝑎 + 𝑏))
87eleq1d 2262 . . . . . . 7 (𝑦 = 𝑏 → ((𝑎 + 𝑦) ∈ 𝐶 ↔ (𝑎 + 𝑏) ∈ 𝐶))
96, 8cbvral2v 2739 . . . . . 6 (∀𝑥𝐶𝑦𝐷 (𝑥 + 𝑦) ∈ 𝐶 ↔ ∀𝑎𝐶𝑏𝐷 (𝑎 + 𝑏) ∈ 𝐶)
104, 9sylib 122 . . . . 5 (𝜑 → ∀𝑎𝐶𝑏𝐷 (𝑎 + 𝑏) ∈ 𝐶)
1110adantr 276 . . . 4 ((𝜑 ∧ (𝑥 ∈ (ℤ𝑀) ∧ 𝑦𝐶)) → ∀𝑎𝐶𝑏𝐷 (𝑎 + 𝑏) ∈ 𝐶)
12 fveq2 5554 . . . . . . 7 (𝑎 = (𝑥 + 1) → (𝐹𝑎) = (𝐹‘(𝑥 + 1)))
1312eleq1d 2262 . . . . . 6 (𝑎 = (𝑥 + 1) → ((𝐹𝑎) ∈ 𝐷 ↔ (𝐹‘(𝑥 + 1)) ∈ 𝐷))
14 seqovcd.f . . . . . . . . 9 ((𝜑𝑥 ∈ (ℤ‘(𝑀 + 1))) → (𝐹𝑥) ∈ 𝐷)
1514ralrimiva 2567 . . . . . . . 8 (𝜑 → ∀𝑥 ∈ (ℤ‘(𝑀 + 1))(𝐹𝑥) ∈ 𝐷)
16 fveq2 5554 . . . . . . . . . 10 (𝑥 = 𝑎 → (𝐹𝑥) = (𝐹𝑎))
1716eleq1d 2262 . . . . . . . . 9 (𝑥 = 𝑎 → ((𝐹𝑥) ∈ 𝐷 ↔ (𝐹𝑎) ∈ 𝐷))
1817cbvralv 2726 . . . . . . . 8 (∀𝑥 ∈ (ℤ‘(𝑀 + 1))(𝐹𝑥) ∈ 𝐷 ↔ ∀𝑎 ∈ (ℤ‘(𝑀 + 1))(𝐹𝑎) ∈ 𝐷)
1915, 18sylib 122 . . . . . . 7 (𝜑 → ∀𝑎 ∈ (ℤ‘(𝑀 + 1))(𝐹𝑎) ∈ 𝐷)
2019adantr 276 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (ℤ𝑀) ∧ 𝑦𝐶)) → ∀𝑎 ∈ (ℤ‘(𝑀 + 1))(𝐹𝑎) ∈ 𝐷)
21 eluzp1p1 9618 . . . . . . 7 (𝑥 ∈ (ℤ𝑀) → (𝑥 + 1) ∈ (ℤ‘(𝑀 + 1)))
221, 21syl 14 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (ℤ𝑀) ∧ 𝑦𝐶)) → (𝑥 + 1) ∈ (ℤ‘(𝑀 + 1)))
2313, 20, 22rspcdva 2869 . . . . 5 ((𝜑 ∧ (𝑥 ∈ (ℤ𝑀) ∧ 𝑦𝐶)) → (𝐹‘(𝑥 + 1)) ∈ 𝐷)
24 oveq12 5927 . . . . . . 7 ((𝑎 = 𝑦𝑏 = (𝐹‘(𝑥 + 1))) → (𝑎 + 𝑏) = (𝑦 + (𝐹‘(𝑥 + 1))))
2524eleq1d 2262 . . . . . 6 ((𝑎 = 𝑦𝑏 = (𝐹‘(𝑥 + 1))) → ((𝑎 + 𝑏) ∈ 𝐶 ↔ (𝑦 + (𝐹‘(𝑥 + 1))) ∈ 𝐶))
2625rspc2gv 2876 . . . . 5 ((𝑦𝐶 ∧ (𝐹‘(𝑥 + 1)) ∈ 𝐷) → (∀𝑎𝐶𝑏𝐷 (𝑎 + 𝑏) ∈ 𝐶 → (𝑦 + (𝐹‘(𝑥 + 1))) ∈ 𝐶))
272, 23, 26syl2anc 411 . . . 4 ((𝜑 ∧ (𝑥 ∈ (ℤ𝑀) ∧ 𝑦𝐶)) → (∀𝑎𝐶𝑏𝐷 (𝑎 + 𝑏) ∈ 𝐶 → (𝑦 + (𝐹‘(𝑥 + 1))) ∈ 𝐶))
2811, 27mpd 13 . . 3 ((𝜑 ∧ (𝑥 ∈ (ℤ𝑀) ∧ 𝑦𝐶)) → (𝑦 + (𝐹‘(𝑥 + 1))) ∈ 𝐶)
29 fvoveq1 5941 . . . . 5 (𝑧 = 𝑥 → (𝐹‘(𝑧 + 1)) = (𝐹‘(𝑥 + 1)))
3029oveq2d 5934 . . . 4 (𝑧 = 𝑥 → (𝑤 + (𝐹‘(𝑧 + 1))) = (𝑤 + (𝐹‘(𝑥 + 1))))
31 oveq1 5925 . . . 4 (𝑤 = 𝑦 → (𝑤 + (𝐹‘(𝑥 + 1))) = (𝑦 + (𝐹‘(𝑥 + 1))))
32 eqid 2193 . . . 4 (𝑧 ∈ (ℤ𝑀), 𝑤𝐶 ↦ (𝑤 + (𝐹‘(𝑧 + 1)))) = (𝑧 ∈ (ℤ𝑀), 𝑤𝐶 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))
3330, 31, 32ovmpog 6053 . . 3 ((𝑥 ∈ (ℤ𝑀) ∧ 𝑦𝐶 ∧ (𝑦 + (𝐹‘(𝑥 + 1))) ∈ 𝐶) → (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝐶 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦) = (𝑦 + (𝐹‘(𝑥 + 1))))
341, 2, 28, 33syl3anc 1249 . 2 ((𝜑 ∧ (𝑥 ∈ (ℤ𝑀) ∧ 𝑦𝐶)) → (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝐶 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦) = (𝑦 + (𝐹‘(𝑥 + 1))))
3534, 28eqeltrd 2270 1 ((𝜑 ∧ (𝑥 ∈ (ℤ𝑀) ∧ 𝑦𝐶)) → (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝐶 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦) ∈ 𝐶)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 104   = wceq 1364  wcel 2164  wral 2472  cfv 5254  (class class class)co 5918  cmpo 5920  1c1 7873   + caddc 7875  cuz 9592
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 615  ax-in2 616  ax-io 710  ax-5 1458  ax-7 1459  ax-gen 1460  ax-ie1 1504  ax-ie2 1505  ax-8 1515  ax-10 1516  ax-11 1517  ax-i12 1518  ax-bndl 1520  ax-4 1521  ax-17 1537  ax-i9 1541  ax-ial 1545  ax-i5r 1546  ax-13 2166  ax-14 2167  ax-ext 2175  ax-sep 4147  ax-pow 4203  ax-pr 4238  ax-un 4464  ax-setind 4569  ax-cnex 7963  ax-resscn 7964  ax-1cn 7965  ax-1re 7966  ax-icn 7967  ax-addcl 7968  ax-addrcl 7969  ax-mulcl 7970  ax-addcom 7972  ax-addass 7974  ax-distr 7976  ax-i2m1 7977  ax-0id 7980  ax-rnegex 7981  ax-cnre 7983  ax-pre-ltadd 7988
This theorem depends on definitions:  df-bi 117  df-3or 981  df-3an 982  df-tru 1367  df-fal 1370  df-nf 1472  df-sb 1774  df-eu 2045  df-mo 2046  df-clab 2180  df-cleq 2186  df-clel 2189  df-nfc 2325  df-ne 2365  df-nel 2460  df-ral 2477  df-rex 2478  df-reu 2479  df-rab 2481  df-v 2762  df-sbc 2986  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-pw 3603  df-sn 3624  df-pr 3625  df-op 3627  df-uni 3836  df-int 3871  df-br 4030  df-opab 4091  df-mpt 4092  df-id 4324  df-xp 4665  df-rel 4666  df-cnv 4667  df-co 4668  df-dm 4669  df-rn 4670  df-res 4671  df-ima 4672  df-iota 5215  df-fun 5256  df-fn 5257  df-f 5258  df-fv 5262  df-riota 5873  df-ov 5921  df-oprab 5922  df-mpo 5923  df-pnf 8056  df-mnf 8057  df-xr 8058  df-ltxr 8059  df-le 8060  df-sub 8192  df-neg 8193  df-inn 8983  df-n0 9241  df-z 9318  df-uz 9593
This theorem is referenced by:  seqf2  10539  seq1cd  10540  seqp1cd  10541
  Copyright terms: Public domain W3C validator