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

Theorem seqovcd 10541
Description: A closure law for the recursive sequence builder. This is a lemma for theorems such as seqf2 10542 and seq1cd 10543 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 5926 . . . . . . . 8 (𝑥 = 𝑎 → (𝑥 + 𝑦) = (𝑎 + 𝑦))
65eleq1d 2262 . . . . . . 7 (𝑥 = 𝑎 → ((𝑥 + 𝑦) ∈ 𝐶 ↔ (𝑎 + 𝑦) ∈ 𝐶))
7 oveq2 5927 . . . . . . . 8 (𝑦 = 𝑏 → (𝑎 + 𝑦) = (𝑎 + 𝑏))
87eleq1d 2262 . . . . . . 7 (𝑦 = 𝑏 → ((𝑎 + 𝑦) ∈ 𝐶 ↔ (𝑎 + 𝑏) ∈ 𝐶))
96, 8cbvral2v 2739 . . . . . 6 (∀𝑥𝐶𝑦𝐷 (𝑥 + 𝑦) ∈ 𝐶 ↔ ∀𝑎𝐶𝑏𝐷 (𝑎 + 𝑏) ∈ 𝐶)
104, 9sylib 122 . . . . 5 (𝜑 → ∀𝑎𝐶𝑏𝐷 (𝑎 + 𝑏) ∈ 𝐶)
1110adantr 276 . . . 4 ((𝜑 ∧ (𝑥 ∈ (ℤ𝑀) ∧ 𝑦𝐶)) → ∀𝑎𝐶𝑏𝐷 (𝑎 + 𝑏) ∈ 𝐶)
12 fveq2 5555 . . . . . . 7 (𝑎 = (𝑥 + 1) → (𝐹𝑎) = (𝐹‘(𝑥 + 1)))
1312eleq1d 2262 . . . . . 6 (𝑎 = (𝑥 + 1) → ((𝐹𝑎) ∈ 𝐷 ↔ (𝐹‘(𝑥 + 1)) ∈ 𝐷))
14 seqovcd.f . . . . . . . . 9 ((𝜑𝑥 ∈ (ℤ‘(𝑀 + 1))) → (𝐹𝑥) ∈ 𝐷)
1514ralrimiva 2567 . . . . . . . 8 (𝜑 → ∀𝑥 ∈ (ℤ‘(𝑀 + 1))(𝐹𝑥) ∈ 𝐷)
16 fveq2 5555 . . . . . . . . . 10 (𝑥 = 𝑎 → (𝐹𝑥) = (𝐹𝑎))
1716eleq1d 2262 . . . . . . . . 9 (𝑥 = 𝑎 → ((𝐹𝑥) ∈ 𝐷 ↔ (𝐹𝑎) ∈ 𝐷))
1817cbvralv 2726 . . . . . . . 8 (∀𝑥 ∈ (ℤ‘(𝑀 + 1))(𝐹𝑥) ∈ 𝐷 ↔ ∀𝑎 ∈ (ℤ‘(𝑀 + 1))(𝐹𝑎) ∈ 𝐷)
1915, 18sylib 122 . . . . . . 7 (𝜑 → ∀𝑎 ∈ (ℤ‘(𝑀 + 1))(𝐹𝑎) ∈ 𝐷)
2019adantr 276 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (ℤ𝑀) ∧ 𝑦𝐶)) → ∀𝑎 ∈ (ℤ‘(𝑀 + 1))(𝐹𝑎) ∈ 𝐷)
21 eluzp1p1 9621 . . . . . . 7 (𝑥 ∈ (ℤ𝑀) → (𝑥 + 1) ∈ (ℤ‘(𝑀 + 1)))
221, 21syl 14 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (ℤ𝑀) ∧ 𝑦𝐶)) → (𝑥 + 1) ∈ (ℤ‘(𝑀 + 1)))
2313, 20, 22rspcdva 2870 . . . . 5 ((𝜑 ∧ (𝑥 ∈ (ℤ𝑀) ∧ 𝑦𝐶)) → (𝐹‘(𝑥 + 1)) ∈ 𝐷)
24 oveq12 5928 . . . . . . 7 ((𝑎 = 𝑦𝑏 = (𝐹‘(𝑥 + 1))) → (𝑎 + 𝑏) = (𝑦 + (𝐹‘(𝑥 + 1))))
2524eleq1d 2262 . . . . . 6 ((𝑎 = 𝑦𝑏 = (𝐹‘(𝑥 + 1))) → ((𝑎 + 𝑏) ∈ 𝐶 ↔ (𝑦 + (𝐹‘(𝑥 + 1))) ∈ 𝐶))
2625rspc2gv 2877 . . . . 5 ((𝑦𝐶 ∧ (𝐹‘(𝑥 + 1)) ∈ 𝐷) → (∀𝑎𝐶𝑏𝐷 (𝑎 + 𝑏) ∈ 𝐶 → (𝑦 + (𝐹‘(𝑥 + 1))) ∈ 𝐶))
272, 23, 26syl2anc 411 . . . 4 ((𝜑 ∧ (𝑥 ∈ (ℤ𝑀) ∧ 𝑦𝐶)) → (∀𝑎𝐶𝑏𝐷 (𝑎 + 𝑏) ∈ 𝐶 → (𝑦 + (𝐹‘(𝑥 + 1))) ∈ 𝐶))
2811, 27mpd 13 . . 3 ((𝜑 ∧ (𝑥 ∈ (ℤ𝑀) ∧ 𝑦𝐶)) → (𝑦 + (𝐹‘(𝑥 + 1))) ∈ 𝐶)
29 fvoveq1 5942 . . . . 5 (𝑧 = 𝑥 → (𝐹‘(𝑧 + 1)) = (𝐹‘(𝑥 + 1)))
3029oveq2d 5935 . . . 4 (𝑧 = 𝑥 → (𝑤 + (𝐹‘(𝑧 + 1))) = (𝑤 + (𝐹‘(𝑥 + 1))))
31 oveq1 5926 . . . 4 (𝑤 = 𝑦 → (𝑤 + (𝐹‘(𝑥 + 1))) = (𝑦 + (𝐹‘(𝑥 + 1))))
32 eqid 2193 . . . 4 (𝑧 ∈ (ℤ𝑀), 𝑤𝐶 ↦ (𝑤 + (𝐹‘(𝑧 + 1)))) = (𝑧 ∈ (ℤ𝑀), 𝑤𝐶 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))
3330, 31, 32ovmpog 6054 . . 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 5255  (class class class)co 5919  cmpo 5921  1c1 7875   + caddc 7877  cuz 9595
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 4148  ax-pow 4204  ax-pr 4239  ax-un 4465  ax-setind 4570  ax-cnex 7965  ax-resscn 7966  ax-1cn 7967  ax-1re 7968  ax-icn 7969  ax-addcl 7970  ax-addrcl 7971  ax-mulcl 7972  ax-addcom 7974  ax-addass 7976  ax-distr 7978  ax-i2m1 7979  ax-0id 7982  ax-rnegex 7983  ax-cnre 7985  ax-pre-ltadd 7990
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 2987  df-dif 3156  df-un 3158  df-in 3160  df-ss 3167  df-pw 3604  df-sn 3625  df-pr 3626  df-op 3628  df-uni 3837  df-int 3872  df-br 4031  df-opab 4092  df-mpt 4093  df-id 4325  df-xp 4666  df-rel 4667  df-cnv 4668  df-co 4669  df-dm 4670  df-rn 4671  df-res 4672  df-ima 4673  df-iota 5216  df-fun 5257  df-fn 5258  df-f 5259  df-fv 5263  df-riota 5874  df-ov 5922  df-oprab 5923  df-mpo 5924  df-pnf 8058  df-mnf 8059  df-xr 8060  df-ltxr 8061  df-le 8062  df-sub 8194  df-neg 8195  df-inn 8985  df-n0 9244  df-z 9321  df-uz 9596
This theorem is referenced by:  seqf2  10542  seq1cd  10543  seqp1cd  10544
  Copyright terms: Public domain W3C validator