Users' Mathboxes Mathbox for Glauco Siliprandi < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  etransclem15 Structured version   Visualization version   GIF version

Theorem etransclem15 44610
Description: Value of the term 𝑇, when 𝐽 = 0 and (𝐶‘0) = 𝑃 − 1 (Contributed by Glauco Siliprandi, 5-Apr-2020.)
Hypotheses
Ref Expression
etransclem15.p (𝜑𝑃 ∈ ℕ)
etransclem15.m (𝜑𝑀 ∈ ℕ0)
etransclem15.n (𝜑𝑁 ∈ ℕ0)
etransclem15.c (𝜑𝐶:(0...𝑀)⟶(0...𝑁))
etransclem15.t 𝑇 = (((!‘𝑁) / ∏𝑗 ∈ (0...𝑀)(!‘(𝐶𝑗))) · (if((𝑃 − 1) < (𝐶‘0), 0, (((!‘(𝑃 − 1)) / (!‘((𝑃 − 1) − (𝐶‘0)))) · (𝐽↑((𝑃 − 1) − (𝐶‘0))))) · ∏𝑗 ∈ (1...𝑀)if(𝑃 < (𝐶𝑗), 0, (((!‘𝑃) / (!‘(𝑃 − (𝐶𝑗)))) · ((𝐽𝑗)↑(𝑃 − (𝐶𝑗)))))))
etransclem15.j (𝜑𝐽 = 0)
etransclem15.cpm1 (𝜑 → (𝐶‘0) ≠ (𝑃 − 1))
Assertion
Ref Expression
etransclem15 (𝜑𝑇 = 0)
Distinct variable groups:   𝑗,𝑀   𝜑,𝑗
Allowed substitution hints:   𝐶(𝑗)   𝑃(𝑗)   𝑇(𝑗)   𝐽(𝑗)   𝑁(𝑗)

Proof of Theorem etransclem15
StepHypRef Expression
1 etransclem15.t . . 3 𝑇 = (((!‘𝑁) / ∏𝑗 ∈ (0...𝑀)(!‘(𝐶𝑗))) · (if((𝑃 − 1) < (𝐶‘0), 0, (((!‘(𝑃 − 1)) / (!‘((𝑃 − 1) − (𝐶‘0)))) · (𝐽↑((𝑃 − 1) − (𝐶‘0))))) · ∏𝑗 ∈ (1...𝑀)if(𝑃 < (𝐶𝑗), 0, (((!‘𝑃) / (!‘(𝑃 − (𝐶𝑗)))) · ((𝐽𝑗)↑(𝑃 − (𝐶𝑗)))))))
21a1i 11 . 2 (𝜑𝑇 = (((!‘𝑁) / ∏𝑗 ∈ (0...𝑀)(!‘(𝐶𝑗))) · (if((𝑃 − 1) < (𝐶‘0), 0, (((!‘(𝑃 − 1)) / (!‘((𝑃 − 1) − (𝐶‘0)))) · (𝐽↑((𝑃 − 1) − (𝐶‘0))))) · ∏𝑗 ∈ (1...𝑀)if(𝑃 < (𝐶𝑗), 0, (((!‘𝑃) / (!‘(𝑃 − (𝐶𝑗)))) · ((𝐽𝑗)↑(𝑃 − (𝐶𝑗))))))))
3 iftrue 4497 . . . . . . 7 ((𝑃 − 1) < (𝐶‘0) → if((𝑃 − 1) < (𝐶‘0), 0, (((!‘(𝑃 − 1)) / (!‘((𝑃 − 1) − (𝐶‘0)))) · (𝐽↑((𝑃 − 1) − (𝐶‘0))))) = 0)
43adantl 482 . . . . . 6 ((𝜑 ∧ (𝑃 − 1) < (𝐶‘0)) → if((𝑃 − 1) < (𝐶‘0), 0, (((!‘(𝑃 − 1)) / (!‘((𝑃 − 1) − (𝐶‘0)))) · (𝐽↑((𝑃 − 1) − (𝐶‘0))))) = 0)
5 iffalse 4500 . . . . . . . 8 (¬ (𝑃 − 1) < (𝐶‘0) → if((𝑃 − 1) < (𝐶‘0), 0, (((!‘(𝑃 − 1)) / (!‘((𝑃 − 1) − (𝐶‘0)))) · (𝐽↑((𝑃 − 1) − (𝐶‘0))))) = (((!‘(𝑃 − 1)) / (!‘((𝑃 − 1) − (𝐶‘0)))) · (𝐽↑((𝑃 − 1) − (𝐶‘0)))))
65adantl 482 . . . . . . 7 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → if((𝑃 − 1) < (𝐶‘0), 0, (((!‘(𝑃 − 1)) / (!‘((𝑃 − 1) − (𝐶‘0)))) · (𝐽↑((𝑃 − 1) − (𝐶‘0))))) = (((!‘(𝑃 − 1)) / (!‘((𝑃 − 1) − (𝐶‘0)))) · (𝐽↑((𝑃 − 1) − (𝐶‘0)))))
7 etransclem15.j . . . . . . . . . . 11 (𝜑𝐽 = 0)
87oveq1d 7377 . . . . . . . . . 10 (𝜑 → (𝐽↑((𝑃 − 1) − (𝐶‘0))) = (0↑((𝑃 − 1) − (𝐶‘0))))
98adantr 481 . . . . . . . . 9 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → (𝐽↑((𝑃 − 1) − (𝐶‘0))) = (0↑((𝑃 − 1) − (𝐶‘0))))
10 etransclem15.p . . . . . . . . . . . . . . 15 (𝜑𝑃 ∈ ℕ)
1110nnzd 12535 . . . . . . . . . . . . . 14 (𝜑𝑃 ∈ ℤ)
12 1zzd 12543 . . . . . . . . . . . . . 14 (𝜑 → 1 ∈ ℤ)
1311, 12zsubcld 12621 . . . . . . . . . . . . 13 (𝜑 → (𝑃 − 1) ∈ ℤ)
14 etransclem15.c . . . . . . . . . . . . . . 15 (𝜑𝐶:(0...𝑀)⟶(0...𝑁))
15 etransclem15.m . . . . . . . . . . . . . . . . 17 (𝜑𝑀 ∈ ℕ0)
16 nn0uz 12814 . . . . . . . . . . . . . . . . 17 0 = (ℤ‘0)
1715, 16eleqtrdi 2842 . . . . . . . . . . . . . . . 16 (𝜑𝑀 ∈ (ℤ‘0))
18 eluzfz1 13458 . . . . . . . . . . . . . . . 16 (𝑀 ∈ (ℤ‘0) → 0 ∈ (0...𝑀))
1917, 18syl 17 . . . . . . . . . . . . . . 15 (𝜑 → 0 ∈ (0...𝑀))
2014, 19ffvelcdmd 7041 . . . . . . . . . . . . . 14 (𝜑 → (𝐶‘0) ∈ (0...𝑁))
2120elfzelzd 13452 . . . . . . . . . . . . 13 (𝜑 → (𝐶‘0) ∈ ℤ)
2213, 21zsubcld 12621 . . . . . . . . . . . 12 (𝜑 → ((𝑃 − 1) − (𝐶‘0)) ∈ ℤ)
2322adantr 481 . . . . . . . . . . 11 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → ((𝑃 − 1) − (𝐶‘0)) ∈ ℤ)
2421zred 12616 . . . . . . . . . . . . . 14 (𝜑 → (𝐶‘0) ∈ ℝ)
2524adantr 481 . . . . . . . . . . . . 13 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → (𝐶‘0) ∈ ℝ)
2613zred 12616 . . . . . . . . . . . . . 14 (𝜑 → (𝑃 − 1) ∈ ℝ)
2726adantr 481 . . . . . . . . . . . . 13 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → (𝑃 − 1) ∈ ℝ)
28 simpr 485 . . . . . . . . . . . . . 14 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → ¬ (𝑃 − 1) < (𝐶‘0))
2925, 27, 28nltled 11314 . . . . . . . . . . . . 13 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → (𝐶‘0) ≤ (𝑃 − 1))
30 etransclem15.cpm1 . . . . . . . . . . . . . . 15 (𝜑 → (𝐶‘0) ≠ (𝑃 − 1))
3130necomd 2995 . . . . . . . . . . . . . 14 (𝜑 → (𝑃 − 1) ≠ (𝐶‘0))
3231adantr 481 . . . . . . . . . . . . 13 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → (𝑃 − 1) ≠ (𝐶‘0))
3325, 27, 29, 32leneltd 11318 . . . . . . . . . . . 12 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → (𝐶‘0) < (𝑃 − 1))
3425, 27posdifd 11751 . . . . . . . . . . . 12 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → ((𝐶‘0) < (𝑃 − 1) ↔ 0 < ((𝑃 − 1) − (𝐶‘0))))
3533, 34mpbid 231 . . . . . . . . . . 11 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → 0 < ((𝑃 − 1) − (𝐶‘0)))
36 elnnz 12518 . . . . . . . . . . 11 (((𝑃 − 1) − (𝐶‘0)) ∈ ℕ ↔ (((𝑃 − 1) − (𝐶‘0)) ∈ ℤ ∧ 0 < ((𝑃 − 1) − (𝐶‘0))))
3723, 35, 36sylanbrc 583 . . . . . . . . . 10 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → ((𝑃 − 1) − (𝐶‘0)) ∈ ℕ)
38370expd 14054 . . . . . . . . 9 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → (0↑((𝑃 − 1) − (𝐶‘0))) = 0)
399, 38eqtrd 2771 . . . . . . . 8 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → (𝐽↑((𝑃 − 1) − (𝐶‘0))) = 0)
4039oveq2d 7378 . . . . . . 7 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → (((!‘(𝑃 − 1)) / (!‘((𝑃 − 1) − (𝐶‘0)))) · (𝐽↑((𝑃 − 1) − (𝐶‘0)))) = (((!‘(𝑃 − 1)) / (!‘((𝑃 − 1) − (𝐶‘0)))) · 0))
41 nnm1nn0 12463 . . . . . . . . . . . . 13 (𝑃 ∈ ℕ → (𝑃 − 1) ∈ ℕ0)
4210, 41syl 17 . . . . . . . . . . . 12 (𝜑 → (𝑃 − 1) ∈ ℕ0)
4342faccld 14194 . . . . . . . . . . 11 (𝜑 → (!‘(𝑃 − 1)) ∈ ℕ)
4443nncnd 12178 . . . . . . . . . 10 (𝜑 → (!‘(𝑃 − 1)) ∈ ℂ)
4544adantr 481 . . . . . . . . 9 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → (!‘(𝑃 − 1)) ∈ ℂ)
4637nnnn0d 12482 . . . . . . . . . . 11 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → ((𝑃 − 1) − (𝐶‘0)) ∈ ℕ0)
4746faccld 14194 . . . . . . . . . 10 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → (!‘((𝑃 − 1) − (𝐶‘0))) ∈ ℕ)
4847nncnd 12178 . . . . . . . . 9 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → (!‘((𝑃 − 1) − (𝐶‘0))) ∈ ℂ)
4947nnne0d 12212 . . . . . . . . 9 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → (!‘((𝑃 − 1) − (𝐶‘0))) ≠ 0)
5045, 48, 49divcld 11940 . . . . . . . 8 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → ((!‘(𝑃 − 1)) / (!‘((𝑃 − 1) − (𝐶‘0)))) ∈ ℂ)
5150mul01d 11363 . . . . . . 7 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → (((!‘(𝑃 − 1)) / (!‘((𝑃 − 1) − (𝐶‘0)))) · 0) = 0)
526, 40, 513eqtrd 2775 . . . . . 6 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → if((𝑃 − 1) < (𝐶‘0), 0, (((!‘(𝑃 − 1)) / (!‘((𝑃 − 1) − (𝐶‘0)))) · (𝐽↑((𝑃 − 1) − (𝐶‘0))))) = 0)
534, 52pm2.61dan 811 . . . . 5 (𝜑 → if((𝑃 − 1) < (𝐶‘0), 0, (((!‘(𝑃 − 1)) / (!‘((𝑃 − 1) − (𝐶‘0)))) · (𝐽↑((𝑃 − 1) − (𝐶‘0))))) = 0)
5453oveq1d 7377 . . . 4 (𝜑 → (if((𝑃 − 1) < (𝐶‘0), 0, (((!‘(𝑃 − 1)) / (!‘((𝑃 − 1) − (𝐶‘0)))) · (𝐽↑((𝑃 − 1) − (𝐶‘0))))) · ∏𝑗 ∈ (1...𝑀)if(𝑃 < (𝐶𝑗), 0, (((!‘𝑃) / (!‘(𝑃 − (𝐶𝑗)))) · ((𝐽𝑗)↑(𝑃 − (𝐶𝑗)))))) = (0 · ∏𝑗 ∈ (1...𝑀)if(𝑃 < (𝐶𝑗), 0, (((!‘𝑃) / (!‘(𝑃 − (𝐶𝑗)))) · ((𝐽𝑗)↑(𝑃 − (𝐶𝑗)))))))
557, 19eqeltrd 2832 . . . . . . 7 (𝜑𝐽 ∈ (0...𝑀))
5610, 14, 55etransclem7 44602 . . . . . 6 (𝜑 → ∏𝑗 ∈ (1...𝑀)if(𝑃 < (𝐶𝑗), 0, (((!‘𝑃) / (!‘(𝑃 − (𝐶𝑗)))) · ((𝐽𝑗)↑(𝑃 − (𝐶𝑗))))) ∈ ℤ)
5756zcnd 12617 . . . . 5 (𝜑 → ∏𝑗 ∈ (1...𝑀)if(𝑃 < (𝐶𝑗), 0, (((!‘𝑃) / (!‘(𝑃 − (𝐶𝑗)))) · ((𝐽𝑗)↑(𝑃 − (𝐶𝑗))))) ∈ ℂ)
5857mul02d 11362 . . . 4 (𝜑 → (0 · ∏𝑗 ∈ (1...𝑀)if(𝑃 < (𝐶𝑗), 0, (((!‘𝑃) / (!‘(𝑃 − (𝐶𝑗)))) · ((𝐽𝑗)↑(𝑃 − (𝐶𝑗)))))) = 0)
5954, 58eqtrd 2771 . . 3 (𝜑 → (if((𝑃 − 1) < (𝐶‘0), 0, (((!‘(𝑃 − 1)) / (!‘((𝑃 − 1) − (𝐶‘0)))) · (𝐽↑((𝑃 − 1) − (𝐶‘0))))) · ∏𝑗 ∈ (1...𝑀)if(𝑃 < (𝐶𝑗), 0, (((!‘𝑃) / (!‘(𝑃 − (𝐶𝑗)))) · ((𝐽𝑗)↑(𝑃 − (𝐶𝑗)))))) = 0)
6059oveq2d 7378 . 2 (𝜑 → (((!‘𝑁) / ∏𝑗 ∈ (0...𝑀)(!‘(𝐶𝑗))) · (if((𝑃 − 1) < (𝐶‘0), 0, (((!‘(𝑃 − 1)) / (!‘((𝑃 − 1) − (𝐶‘0)))) · (𝐽↑((𝑃 − 1) − (𝐶‘0))))) · ∏𝑗 ∈ (1...𝑀)if(𝑃 < (𝐶𝑗), 0, (((!‘𝑃) / (!‘(𝑃 − (𝐶𝑗)))) · ((𝐽𝑗)↑(𝑃 − (𝐶𝑗))))))) = (((!‘𝑁) / ∏𝑗 ∈ (0...𝑀)(!‘(𝐶𝑗))) · 0))
61 etransclem15.n . . . . . 6 (𝜑𝑁 ∈ ℕ0)
6261faccld 14194 . . . . 5 (𝜑 → (!‘𝑁) ∈ ℕ)
6362nncnd 12178 . . . 4 (𝜑 → (!‘𝑁) ∈ ℂ)
64 fzfid 13888 . . . . 5 (𝜑 → (0...𝑀) ∈ Fin)
65 fzssnn0 43672 . . . . . . . 8 (0...𝑁) ⊆ ℕ0
6614ffvelcdmda 7040 . . . . . . . 8 ((𝜑𝑗 ∈ (0...𝑀)) → (𝐶𝑗) ∈ (0...𝑁))
6765, 66sselid 3945 . . . . . . 7 ((𝜑𝑗 ∈ (0...𝑀)) → (𝐶𝑗) ∈ ℕ0)
6867faccld 14194 . . . . . 6 ((𝜑𝑗 ∈ (0...𝑀)) → (!‘(𝐶𝑗)) ∈ ℕ)
6968nncnd 12178 . . . . 5 ((𝜑𝑗 ∈ (0...𝑀)) → (!‘(𝐶𝑗)) ∈ ℂ)
7064, 69fprodcl 15846 . . . 4 (𝜑 → ∏𝑗 ∈ (0...𝑀)(!‘(𝐶𝑗)) ∈ ℂ)
7168nnne0d 12212 . . . . 5 ((𝜑𝑗 ∈ (0...𝑀)) → (!‘(𝐶𝑗)) ≠ 0)
7264, 69, 71fprodn0 15873 . . . 4 (𝜑 → ∏𝑗 ∈ (0...𝑀)(!‘(𝐶𝑗)) ≠ 0)
7363, 70, 72divcld 11940 . . 3 (𝜑 → ((!‘𝑁) / ∏𝑗 ∈ (0...𝑀)(!‘(𝐶𝑗))) ∈ ℂ)
7473mul01d 11363 . 2 (𝜑 → (((!‘𝑁) / ∏𝑗 ∈ (0...𝑀)(!‘(𝐶𝑗))) · 0) = 0)
752, 60, 743eqtrd 2775 1 (𝜑𝑇 = 0)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 396   = wceq 1541  wcel 2106  wne 2939  ifcif 4491   class class class wbr 5110  wf 6497  cfv 6501  (class class class)co 7362  cc 11058  cr 11059  0cc0 11060  1c1 11061   · cmul 11065   < clt 11198  cmin 11394   / cdiv 11821  cn 12162  0cn0 12422  cz 12508  cuz 12772  ...cfz 13434  cexp 13977  !cfa 14183  cprod 15799
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2702  ax-rep 5247  ax-sep 5261  ax-nul 5268  ax-pow 5325  ax-pr 5389  ax-un 7677  ax-inf2 9586  ax-cnex 11116  ax-resscn 11117  ax-1cn 11118  ax-icn 11119  ax-addcl 11120  ax-addrcl 11121  ax-mulcl 11122  ax-mulrcl 11123  ax-mulcom 11124  ax-addass 11125  ax-mulass 11126  ax-distr 11127  ax-i2m1 11128  ax-1ne0 11129  ax-1rid 11130  ax-rnegex 11131  ax-rrecex 11132  ax-cnre 11133  ax-pre-lttri 11134  ax-pre-lttrn 11135  ax-pre-ltadd 11136  ax-pre-mulgt0 11137  ax-pre-sup 11138
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3or 1088  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-mo 2533  df-eu 2562  df-clab 2709  df-cleq 2723  df-clel 2809  df-nfc 2884  df-ne 2940  df-nel 3046  df-ral 3061  df-rex 3070  df-rmo 3351  df-reu 3352  df-rab 3406  df-v 3448  df-sbc 3743  df-csb 3859  df-dif 3916  df-un 3918  df-in 3920  df-ss 3930  df-pss 3932  df-nul 4288  df-if 4492  df-pw 4567  df-sn 4592  df-pr 4594  df-op 4598  df-uni 4871  df-int 4913  df-iun 4961  df-br 5111  df-opab 5173  df-mpt 5194  df-tr 5228  df-id 5536  df-eprel 5542  df-po 5550  df-so 5551  df-fr 5593  df-se 5594  df-we 5595  df-xp 5644  df-rel 5645  df-cnv 5646  df-co 5647  df-dm 5648  df-rn 5649  df-res 5650  df-ima 5651  df-pred 6258  df-ord 6325  df-on 6326  df-lim 6327  df-suc 6328  df-iota 6453  df-fun 6503  df-fn 6504  df-f 6505  df-f1 6506  df-fo 6507  df-f1o 6508  df-fv 6509  df-isom 6510  df-riota 7318  df-ov 7365  df-oprab 7366  df-mpo 7367  df-om 7808  df-1st 7926  df-2nd 7927  df-frecs 8217  df-wrecs 8248  df-recs 8322  df-rdg 8361  df-1o 8417  df-er 8655  df-en 8891  df-dom 8892  df-sdom 8893  df-fin 8894  df-sup 9387  df-oi 9455  df-card 9884  df-pnf 11200  df-mnf 11201  df-xr 11202  df-ltxr 11203  df-le 11204  df-sub 11396  df-neg 11397  df-div 11822  df-nn 12163  df-2 12225  df-3 12226  df-n0 12423  df-z 12509  df-uz 12773  df-rp 12925  df-fz 13435  df-fzo 13578  df-seq 13917  df-exp 13978  df-fac 14184  df-bc 14213  df-hash 14241  df-cj 14996  df-re 14997  df-im 14998  df-sqrt 15132  df-abs 15133  df-clim 15382  df-prod 15800
This theorem is referenced by:  etransclem28  44623
  Copyright terms: Public domain W3C validator