MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  ser1const Structured version   Visualization version   GIF version

Theorem ser1const 12805
Description: Value of the partial series sum of a constant function. (Contributed by NM, 8-Aug-2005.) (Revised by Mario Carneiro, 16-Feb-2014.)
Assertion
Ref Expression
ser1const ((𝐴 ∈ ℂ ∧ 𝑁 ∈ ℕ) → (seq1( + , (ℕ × {𝐴}))‘𝑁) = (𝑁 · 𝐴))

Proof of Theorem ser1const
Dummy variables 𝑗 𝑘 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fveq2 6153 . . . . 5 (𝑗 = 1 → (seq1( + , (ℕ × {𝐴}))‘𝑗) = (seq1( + , (ℕ × {𝐴}))‘1))
2 oveq1 6617 . . . . 5 (𝑗 = 1 → (𝑗 · 𝐴) = (1 · 𝐴))
31, 2eqeq12d 2636 . . . 4 (𝑗 = 1 → ((seq1( + , (ℕ × {𝐴}))‘𝑗) = (𝑗 · 𝐴) ↔ (seq1( + , (ℕ × {𝐴}))‘1) = (1 · 𝐴)))
43imbi2d 330 . . 3 (𝑗 = 1 → ((𝐴 ∈ ℂ → (seq1( + , (ℕ × {𝐴}))‘𝑗) = (𝑗 · 𝐴)) ↔ (𝐴 ∈ ℂ → (seq1( + , (ℕ × {𝐴}))‘1) = (1 · 𝐴))))
5 fveq2 6153 . . . . 5 (𝑗 = 𝑘 → (seq1( + , (ℕ × {𝐴}))‘𝑗) = (seq1( + , (ℕ × {𝐴}))‘𝑘))
6 oveq1 6617 . . . . 5 (𝑗 = 𝑘 → (𝑗 · 𝐴) = (𝑘 · 𝐴))
75, 6eqeq12d 2636 . . . 4 (𝑗 = 𝑘 → ((seq1( + , (ℕ × {𝐴}))‘𝑗) = (𝑗 · 𝐴) ↔ (seq1( + , (ℕ × {𝐴}))‘𝑘) = (𝑘 · 𝐴)))
87imbi2d 330 . . 3 (𝑗 = 𝑘 → ((𝐴 ∈ ℂ → (seq1( + , (ℕ × {𝐴}))‘𝑗) = (𝑗 · 𝐴)) ↔ (𝐴 ∈ ℂ → (seq1( + , (ℕ × {𝐴}))‘𝑘) = (𝑘 · 𝐴))))
9 fveq2 6153 . . . . 5 (𝑗 = (𝑘 + 1) → (seq1( + , (ℕ × {𝐴}))‘𝑗) = (seq1( + , (ℕ × {𝐴}))‘(𝑘 + 1)))
10 oveq1 6617 . . . . 5 (𝑗 = (𝑘 + 1) → (𝑗 · 𝐴) = ((𝑘 + 1) · 𝐴))
119, 10eqeq12d 2636 . . . 4 (𝑗 = (𝑘 + 1) → ((seq1( + , (ℕ × {𝐴}))‘𝑗) = (𝑗 · 𝐴) ↔ (seq1( + , (ℕ × {𝐴}))‘(𝑘 + 1)) = ((𝑘 + 1) · 𝐴)))
1211imbi2d 330 . . 3 (𝑗 = (𝑘 + 1) → ((𝐴 ∈ ℂ → (seq1( + , (ℕ × {𝐴}))‘𝑗) = (𝑗 · 𝐴)) ↔ (𝐴 ∈ ℂ → (seq1( + , (ℕ × {𝐴}))‘(𝑘 + 1)) = ((𝑘 + 1) · 𝐴))))
13 fveq2 6153 . . . . 5 (𝑗 = 𝑁 → (seq1( + , (ℕ × {𝐴}))‘𝑗) = (seq1( + , (ℕ × {𝐴}))‘𝑁))
14 oveq1 6617 . . . . 5 (𝑗 = 𝑁 → (𝑗 · 𝐴) = (𝑁 · 𝐴))
1513, 14eqeq12d 2636 . . . 4 (𝑗 = 𝑁 → ((seq1( + , (ℕ × {𝐴}))‘𝑗) = (𝑗 · 𝐴) ↔ (seq1( + , (ℕ × {𝐴}))‘𝑁) = (𝑁 · 𝐴)))
1615imbi2d 330 . . 3 (𝑗 = 𝑁 → ((𝐴 ∈ ℂ → (seq1( + , (ℕ × {𝐴}))‘𝑗) = (𝑗 · 𝐴)) ↔ (𝐴 ∈ ℂ → (seq1( + , (ℕ × {𝐴}))‘𝑁) = (𝑁 · 𝐴))))
17 1z 11359 . . . 4 1 ∈ ℤ
18 1nn 10983 . . . . . 6 1 ∈ ℕ
19 fvconst2g 6427 . . . . . 6 ((𝐴 ∈ ℂ ∧ 1 ∈ ℕ) → ((ℕ × {𝐴})‘1) = 𝐴)
2018, 19mpan2 706 . . . . 5 (𝐴 ∈ ℂ → ((ℕ × {𝐴})‘1) = 𝐴)
21 mulid2 9990 . . . . 5 (𝐴 ∈ ℂ → (1 · 𝐴) = 𝐴)
2220, 21eqtr4d 2658 . . . 4 (𝐴 ∈ ℂ → ((ℕ × {𝐴})‘1) = (1 · 𝐴))
2317, 22seq1i 12763 . . 3 (𝐴 ∈ ℂ → (seq1( + , (ℕ × {𝐴}))‘1) = (1 · 𝐴))
24 oveq1 6617 . . . . . 6 ((seq1( + , (ℕ × {𝐴}))‘𝑘) = (𝑘 · 𝐴) → ((seq1( + , (ℕ × {𝐴}))‘𝑘) + 𝐴) = ((𝑘 · 𝐴) + 𝐴))
25 seqp1 12764 . . . . . . . . . 10 (𝑘 ∈ (ℤ‘1) → (seq1( + , (ℕ × {𝐴}))‘(𝑘 + 1)) = ((seq1( + , (ℕ × {𝐴}))‘𝑘) + ((ℕ × {𝐴})‘(𝑘 + 1))))
26 nnuz 11675 . . . . . . . . . 10 ℕ = (ℤ‘1)
2725, 26eleq2s 2716 . . . . . . . . 9 (𝑘 ∈ ℕ → (seq1( + , (ℕ × {𝐴}))‘(𝑘 + 1)) = ((seq1( + , (ℕ × {𝐴}))‘𝑘) + ((ℕ × {𝐴})‘(𝑘 + 1))))
2827adantl 482 . . . . . . . 8 ((𝐴 ∈ ℂ ∧ 𝑘 ∈ ℕ) → (seq1( + , (ℕ × {𝐴}))‘(𝑘 + 1)) = ((seq1( + , (ℕ × {𝐴}))‘𝑘) + ((ℕ × {𝐴})‘(𝑘 + 1))))
29 peano2nn 10984 . . . . . . . . . 10 (𝑘 ∈ ℕ → (𝑘 + 1) ∈ ℕ)
30 fvconst2g 6427 . . . . . . . . . 10 ((𝐴 ∈ ℂ ∧ (𝑘 + 1) ∈ ℕ) → ((ℕ × {𝐴})‘(𝑘 + 1)) = 𝐴)
3129, 30sylan2 491 . . . . . . . . 9 ((𝐴 ∈ ℂ ∧ 𝑘 ∈ ℕ) → ((ℕ × {𝐴})‘(𝑘 + 1)) = 𝐴)
3231oveq2d 6626 . . . . . . . 8 ((𝐴 ∈ ℂ ∧ 𝑘 ∈ ℕ) → ((seq1( + , (ℕ × {𝐴}))‘𝑘) + ((ℕ × {𝐴})‘(𝑘 + 1))) = ((seq1( + , (ℕ × {𝐴}))‘𝑘) + 𝐴))
3328, 32eqtrd 2655 . . . . . . 7 ((𝐴 ∈ ℂ ∧ 𝑘 ∈ ℕ) → (seq1( + , (ℕ × {𝐴}))‘(𝑘 + 1)) = ((seq1( + , (ℕ × {𝐴}))‘𝑘) + 𝐴))
34 nncn 10980 . . . . . . . . 9 (𝑘 ∈ ℕ → 𝑘 ∈ ℂ)
35 id 22 . . . . . . . . 9 (𝐴 ∈ ℂ → 𝐴 ∈ ℂ)
36 ax-1cn 9946 . . . . . . . . . 10 1 ∈ ℂ
37 adddir 9983 . . . . . . . . . 10 ((𝑘 ∈ ℂ ∧ 1 ∈ ℂ ∧ 𝐴 ∈ ℂ) → ((𝑘 + 1) · 𝐴) = ((𝑘 · 𝐴) + (1 · 𝐴)))
3836, 37mp3an2 1409 . . . . . . . . 9 ((𝑘 ∈ ℂ ∧ 𝐴 ∈ ℂ) → ((𝑘 + 1) · 𝐴) = ((𝑘 · 𝐴) + (1 · 𝐴)))
3934, 35, 38syl2anr 495 . . . . . . . 8 ((𝐴 ∈ ℂ ∧ 𝑘 ∈ ℕ) → ((𝑘 + 1) · 𝐴) = ((𝑘 · 𝐴) + (1 · 𝐴)))
4021adantr 481 . . . . . . . . 9 ((𝐴 ∈ ℂ ∧ 𝑘 ∈ ℕ) → (1 · 𝐴) = 𝐴)
4140oveq2d 6626 . . . . . . . 8 ((𝐴 ∈ ℂ ∧ 𝑘 ∈ ℕ) → ((𝑘 · 𝐴) + (1 · 𝐴)) = ((𝑘 · 𝐴) + 𝐴))
4239, 41eqtrd 2655 . . . . . . 7 ((𝐴 ∈ ℂ ∧ 𝑘 ∈ ℕ) → ((𝑘 + 1) · 𝐴) = ((𝑘 · 𝐴) + 𝐴))
4333, 42eqeq12d 2636 . . . . . 6 ((𝐴 ∈ ℂ ∧ 𝑘 ∈ ℕ) → ((seq1( + , (ℕ × {𝐴}))‘(𝑘 + 1)) = ((𝑘 + 1) · 𝐴) ↔ ((seq1( + , (ℕ × {𝐴}))‘𝑘) + 𝐴) = ((𝑘 · 𝐴) + 𝐴)))
4424, 43syl5ibr 236 . . . . 5 ((𝐴 ∈ ℂ ∧ 𝑘 ∈ ℕ) → ((seq1( + , (ℕ × {𝐴}))‘𝑘) = (𝑘 · 𝐴) → (seq1( + , (ℕ × {𝐴}))‘(𝑘 + 1)) = ((𝑘 + 1) · 𝐴)))
4544expcom 451 . . . 4 (𝑘 ∈ ℕ → (𝐴 ∈ ℂ → ((seq1( + , (ℕ × {𝐴}))‘𝑘) = (𝑘 · 𝐴) → (seq1( + , (ℕ × {𝐴}))‘(𝑘 + 1)) = ((𝑘 + 1) · 𝐴))))
4645a2d 29 . . 3 (𝑘 ∈ ℕ → ((𝐴 ∈ ℂ → (seq1( + , (ℕ × {𝐴}))‘𝑘) = (𝑘 · 𝐴)) → (𝐴 ∈ ℂ → (seq1( + , (ℕ × {𝐴}))‘(𝑘 + 1)) = ((𝑘 + 1) · 𝐴))))
474, 8, 12, 16, 23, 46nnind 10990 . 2 (𝑁 ∈ ℕ → (𝐴 ∈ ℂ → (seq1( + , (ℕ × {𝐴}))‘𝑁) = (𝑁 · 𝐴)))
4847impcom 446 1 ((𝐴 ∈ ℂ ∧ 𝑁 ∈ ℕ) → (seq1( + , (ℕ × {𝐴}))‘𝑁) = (𝑁 · 𝐴))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 384   = wceq 1480  wcel 1987  {csn 4153   × cxp 5077  cfv 5852  (class class class)co 6610  cc 9886  1c1 9889   + caddc 9891   · cmul 9893  cn 10972  cuz 11639  seqcseq 12749
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-8 1989  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-sep 4746  ax-nul 4754  ax-pow 4808  ax-pr 4872  ax-un 6909  ax-cnex 9944  ax-resscn 9945  ax-1cn 9946  ax-icn 9947  ax-addcl 9948  ax-addrcl 9949  ax-mulcl 9950  ax-mulrcl 9951  ax-mulcom 9952  ax-addass 9953  ax-mulass 9954  ax-distr 9955  ax-i2m1 9956  ax-1ne0 9957  ax-1rid 9958  ax-rnegex 9959  ax-rrecex 9960  ax-cnre 9961  ax-pre-lttri 9962  ax-pre-lttrn 9963  ax-pre-ltadd 9964  ax-pre-mulgt0 9965
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3or 1037  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ne 2791  df-nel 2894  df-ral 2912  df-rex 2913  df-reu 2914  df-rab 2916  df-v 3191  df-sbc 3422  df-csb 3519  df-dif 3562  df-un 3564  df-in 3566  df-ss 3573  df-pss 3575  df-nul 3897  df-if 4064  df-pw 4137  df-sn 4154  df-pr 4156  df-tp 4158  df-op 4160  df-uni 4408  df-iun 4492  df-br 4619  df-opab 4679  df-mpt 4680  df-tr 4718  df-eprel 4990  df-id 4994  df-po 5000  df-so 5001  df-fr 5038  df-we 5040  df-xp 5085  df-rel 5086  df-cnv 5087  df-co 5088  df-dm 5089  df-rn 5090  df-res 5091  df-ima 5092  df-pred 5644  df-ord 5690  df-on 5691  df-lim 5692  df-suc 5693  df-iota 5815  df-fun 5854  df-fn 5855  df-f 5856  df-f1 5857  df-fo 5858  df-f1o 5859  df-fv 5860  df-riota 6571  df-ov 6613  df-oprab 6614  df-mpt2 6615  df-om 7020  df-2nd 7121  df-wrecs 7359  df-recs 7420  df-rdg 7458  df-er 7694  df-en 7908  df-dom 7909  df-sdom 7910  df-pnf 10028  df-mnf 10029  df-xr 10030  df-ltxr 10031  df-le 10032  df-sub 10220  df-neg 10221  df-nn 10973  df-n0 11245  df-z 11330  df-uz 11640  df-seq 12750
This theorem is referenced by:  fsumconst  14461  vitalilem4  23303  ovoliunnfl  33118  voliunnfl  33120
  Copyright terms: Public domain W3C validator