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 42554
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 4473 . . . . . . 7 ((𝑃 − 1) < (𝐶‘0) → if((𝑃 − 1) < (𝐶‘0), 0, (((!‘(𝑃 − 1)) / (!‘((𝑃 − 1) − (𝐶‘0)))) · (𝐽↑((𝑃 − 1) − (𝐶‘0))))) = 0)
43adantl 484 . . . . . 6 ((𝜑 ∧ (𝑃 − 1) < (𝐶‘0)) → if((𝑃 − 1) < (𝐶‘0), 0, (((!‘(𝑃 − 1)) / (!‘((𝑃 − 1) − (𝐶‘0)))) · (𝐽↑((𝑃 − 1) − (𝐶‘0))))) = 0)
5 iffalse 4476 . . . . . . . 8 (¬ (𝑃 − 1) < (𝐶‘0) → if((𝑃 − 1) < (𝐶‘0), 0, (((!‘(𝑃 − 1)) / (!‘((𝑃 − 1) − (𝐶‘0)))) · (𝐽↑((𝑃 − 1) − (𝐶‘0))))) = (((!‘(𝑃 − 1)) / (!‘((𝑃 − 1) − (𝐶‘0)))) · (𝐽↑((𝑃 − 1) − (𝐶‘0)))))
65adantl 484 . . . . . . 7 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → if((𝑃 − 1) < (𝐶‘0), 0, (((!‘(𝑃 − 1)) / (!‘((𝑃 − 1) − (𝐶‘0)))) · (𝐽↑((𝑃 − 1) − (𝐶‘0))))) = (((!‘(𝑃 − 1)) / (!‘((𝑃 − 1) − (𝐶‘0)))) · (𝐽↑((𝑃 − 1) − (𝐶‘0)))))
7 etransclem15.j . . . . . . . . . . 11 (𝜑𝐽 = 0)
87oveq1d 7171 . . . . . . . . . 10 (𝜑 → (𝐽↑((𝑃 − 1) − (𝐶‘0))) = (0↑((𝑃 − 1) − (𝐶‘0))))
98adantr 483 . . . . . . . . 9 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → (𝐽↑((𝑃 − 1) − (𝐶‘0))) = (0↑((𝑃 − 1) − (𝐶‘0))))
10 etransclem15.p . . . . . . . . . . . . . . 15 (𝜑𝑃 ∈ ℕ)
1110nnzd 12087 . . . . . . . . . . . . . 14 (𝜑𝑃 ∈ ℤ)
12 1zzd 12014 . . . . . . . . . . . . . 14 (𝜑 → 1 ∈ ℤ)
1311, 12zsubcld 12093 . . . . . . . . . . . . 13 (𝜑 → (𝑃 − 1) ∈ ℤ)
14 etransclem15.c . . . . . . . . . . . . . . 15 (𝜑𝐶:(0...𝑀)⟶(0...𝑁))
15 etransclem15.m . . . . . . . . . . . . . . . . 17 (𝜑𝑀 ∈ ℕ0)
16 nn0uz 12281 . . . . . . . . . . . . . . . . 17 0 = (ℤ‘0)
1715, 16eleqtrdi 2923 . . . . . . . . . . . . . . . 16 (𝜑𝑀 ∈ (ℤ‘0))
18 eluzfz1 12915 . . . . . . . . . . . . . . . 16 (𝑀 ∈ (ℤ‘0) → 0 ∈ (0...𝑀))
1917, 18syl 17 . . . . . . . . . . . . . . 15 (𝜑 → 0 ∈ (0...𝑀))
2014, 19ffvelrnd 6852 . . . . . . . . . . . . . 14 (𝜑 → (𝐶‘0) ∈ (0...𝑁))
2120elfzelzd 41602 . . . . . . . . . . . . 13 (𝜑 → (𝐶‘0) ∈ ℤ)
2213, 21zsubcld 12093 . . . . . . . . . . . 12 (𝜑 → ((𝑃 − 1) − (𝐶‘0)) ∈ ℤ)
2322adantr 483 . . . . . . . . . . 11 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → ((𝑃 − 1) − (𝐶‘0)) ∈ ℤ)
2421zred 12088 . . . . . . . . . . . . . 14 (𝜑 → (𝐶‘0) ∈ ℝ)
2524adantr 483 . . . . . . . . . . . . 13 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → (𝐶‘0) ∈ ℝ)
2613zred 12088 . . . . . . . . . . . . . 14 (𝜑 → (𝑃 − 1) ∈ ℝ)
2726adantr 483 . . . . . . . . . . . . 13 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → (𝑃 − 1) ∈ ℝ)
28 simpr 487 . . . . . . . . . . . . . 14 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → ¬ (𝑃 − 1) < (𝐶‘0))
2925, 27, 28nltled 10790 . . . . . . . . . . . . 13 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → (𝐶‘0) ≤ (𝑃 − 1))
30 etransclem15.cpm1 . . . . . . . . . . . . . . 15 (𝜑 → (𝐶‘0) ≠ (𝑃 − 1))
3130necomd 3071 . . . . . . . . . . . . . 14 (𝜑 → (𝑃 − 1) ≠ (𝐶‘0))
3231adantr 483 . . . . . . . . . . . . 13 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → (𝑃 − 1) ≠ (𝐶‘0))
3325, 27, 29, 32leneltd 10794 . . . . . . . . . . . 12 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → (𝐶‘0) < (𝑃 − 1))
3425, 27posdifd 11227 . . . . . . . . . . . 12 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → ((𝐶‘0) < (𝑃 − 1) ↔ 0 < ((𝑃 − 1) − (𝐶‘0))))
3533, 34mpbid 234 . . . . . . . . . . 11 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → 0 < ((𝑃 − 1) − (𝐶‘0)))
36 elnnz 11992 . . . . . . . . . . 11 (((𝑃 − 1) − (𝐶‘0)) ∈ ℕ ↔ (((𝑃 − 1) − (𝐶‘0)) ∈ ℤ ∧ 0 < ((𝑃 − 1) − (𝐶‘0))))
3723, 35, 36sylanbrc 585 . . . . . . . . . 10 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → ((𝑃 − 1) − (𝐶‘0)) ∈ ℕ)
38370expd 13504 . . . . . . . . 9 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → (0↑((𝑃 − 1) − (𝐶‘0))) = 0)
399, 38eqtrd 2856 . . . . . . . 8 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → (𝐽↑((𝑃 − 1) − (𝐶‘0))) = 0)
4039oveq2d 7172 . . . . . . 7 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → (((!‘(𝑃 − 1)) / (!‘((𝑃 − 1) − (𝐶‘0)))) · (𝐽↑((𝑃 − 1) − (𝐶‘0)))) = (((!‘(𝑃 − 1)) / (!‘((𝑃 − 1) − (𝐶‘0)))) · 0))
41 nnm1nn0 11939 . . . . . . . . . . . . 13 (𝑃 ∈ ℕ → (𝑃 − 1) ∈ ℕ0)
4210, 41syl 17 . . . . . . . . . . . 12 (𝜑 → (𝑃 − 1) ∈ ℕ0)
4342faccld 13645 . . . . . . . . . . 11 (𝜑 → (!‘(𝑃 − 1)) ∈ ℕ)
4443nncnd 11654 . . . . . . . . . 10 (𝜑 → (!‘(𝑃 − 1)) ∈ ℂ)
4544adantr 483 . . . . . . . . 9 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → (!‘(𝑃 − 1)) ∈ ℂ)
4637nnnn0d 11956 . . . . . . . . . . 11 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → ((𝑃 − 1) − (𝐶‘0)) ∈ ℕ0)
4746faccld 13645 . . . . . . . . . 10 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → (!‘((𝑃 − 1) − (𝐶‘0))) ∈ ℕ)
4847nncnd 11654 . . . . . . . . 9 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → (!‘((𝑃 − 1) − (𝐶‘0))) ∈ ℂ)
4947nnne0d 11688 . . . . . . . . 9 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → (!‘((𝑃 − 1) − (𝐶‘0))) ≠ 0)
5045, 48, 49divcld 11416 . . . . . . . 8 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → ((!‘(𝑃 − 1)) / (!‘((𝑃 − 1) − (𝐶‘0)))) ∈ ℂ)
5150mul01d 10839 . . . . . . 7 ((𝜑 ∧ ¬ (𝑃 − 1) < (𝐶‘0)) → (((!‘(𝑃 − 1)) / (!‘((𝑃 − 1) − (𝐶‘0)))) · 0) = 0)
526, 40, 513eqtrd 2860 . . . . . 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 7171 . . . 4 (𝜑 → (if((𝑃 − 1) < (𝐶‘0), 0, (((!‘(𝑃 − 1)) / (!‘((𝑃 − 1) − (𝐶‘0)))) · (𝐽↑((𝑃 − 1) − (𝐶‘0))))) · ∏𝑗 ∈ (1...𝑀)if(𝑃 < (𝐶𝑗), 0, (((!‘𝑃) / (!‘(𝑃 − (𝐶𝑗)))) · ((𝐽𝑗)↑(𝑃 − (𝐶𝑗)))))) = (0 · ∏𝑗 ∈ (1...𝑀)if(𝑃 < (𝐶𝑗), 0, (((!‘𝑃) / (!‘(𝑃 − (𝐶𝑗)))) · ((𝐽𝑗)↑(𝑃 − (𝐶𝑗)))))))
557, 19eqeltrd 2913 . . . . . . 7 (𝜑𝐽 ∈ (0...𝑀))
5610, 14, 55etransclem7 42546 . . . . . 6 (𝜑 → ∏𝑗 ∈ (1...𝑀)if(𝑃 < (𝐶𝑗), 0, (((!‘𝑃) / (!‘(𝑃 − (𝐶𝑗)))) · ((𝐽𝑗)↑(𝑃 − (𝐶𝑗))))) ∈ ℤ)
5756zcnd 12089 . . . . 5 (𝜑 → ∏𝑗 ∈ (1...𝑀)if(𝑃 < (𝐶𝑗), 0, (((!‘𝑃) / (!‘(𝑃 − (𝐶𝑗)))) · ((𝐽𝑗)↑(𝑃 − (𝐶𝑗))))) ∈ ℂ)
5857mul02d 10838 . . . 4 (𝜑 → (0 · ∏𝑗 ∈ (1...𝑀)if(𝑃 < (𝐶𝑗), 0, (((!‘𝑃) / (!‘(𝑃 − (𝐶𝑗)))) · ((𝐽𝑗)↑(𝑃 − (𝐶𝑗)))))) = 0)
5954, 58eqtrd 2856 . . 3 (𝜑 → (if((𝑃 − 1) < (𝐶‘0), 0, (((!‘(𝑃 − 1)) / (!‘((𝑃 − 1) − (𝐶‘0)))) · (𝐽↑((𝑃 − 1) − (𝐶‘0))))) · ∏𝑗 ∈ (1...𝑀)if(𝑃 < (𝐶𝑗), 0, (((!‘𝑃) / (!‘(𝑃 − (𝐶𝑗)))) · ((𝐽𝑗)↑(𝑃 − (𝐶𝑗)))))) = 0)
6059oveq2d 7172 . 2 (𝜑 → (((!‘𝑁) / ∏𝑗 ∈ (0...𝑀)(!‘(𝐶𝑗))) · (if((𝑃 − 1) < (𝐶‘0), 0, (((!‘(𝑃 − 1)) / (!‘((𝑃 − 1) − (𝐶‘0)))) · (𝐽↑((𝑃 − 1) − (𝐶‘0))))) · ∏𝑗 ∈ (1...𝑀)if(𝑃 < (𝐶𝑗), 0, (((!‘𝑃) / (!‘(𝑃 − (𝐶𝑗)))) · ((𝐽𝑗)↑(𝑃 − (𝐶𝑗))))))) = (((!‘𝑁) / ∏𝑗 ∈ (0...𝑀)(!‘(𝐶𝑗))) · 0))
61 etransclem15.n . . . . . 6 (𝜑𝑁 ∈ ℕ0)
6261faccld 13645 . . . . 5 (𝜑 → (!‘𝑁) ∈ ℕ)
6362nncnd 11654 . . . 4 (𝜑 → (!‘𝑁) ∈ ℂ)
64 fzfid 13342 . . . . 5 (𝜑 → (0...𝑀) ∈ Fin)
65 fzssnn0 41605 . . . . . . . 8 (0...𝑁) ⊆ ℕ0
6614ffvelrnda 6851 . . . . . . . 8 ((𝜑𝑗 ∈ (0...𝑀)) → (𝐶𝑗) ∈ (0...𝑁))
6765, 66sseldi 3965 . . . . . . 7 ((𝜑𝑗 ∈ (0...𝑀)) → (𝐶𝑗) ∈ ℕ0)
6867faccld 13645 . . . . . 6 ((𝜑𝑗 ∈ (0...𝑀)) → (!‘(𝐶𝑗)) ∈ ℕ)
6968nncnd 11654 . . . . 5 ((𝜑𝑗 ∈ (0...𝑀)) → (!‘(𝐶𝑗)) ∈ ℂ)
7064, 69fprodcl 15306 . . . 4 (𝜑 → ∏𝑗 ∈ (0...𝑀)(!‘(𝐶𝑗)) ∈ ℂ)
7168nnne0d 11688 . . . . 5 ((𝜑𝑗 ∈ (0...𝑀)) → (!‘(𝐶𝑗)) ≠ 0)
7264, 69, 71fprodn0 15333 . . . 4 (𝜑 → ∏𝑗 ∈ (0...𝑀)(!‘(𝐶𝑗)) ≠ 0)
7363, 70, 72divcld 11416 . . 3 (𝜑 → ((!‘𝑁) / ∏𝑗 ∈ (0...𝑀)(!‘(𝐶𝑗))) ∈ ℂ)
7473mul01d 10839 . 2 (𝜑 → (((!‘𝑁) / ∏𝑗 ∈ (0...𝑀)(!‘(𝐶𝑗))) · 0) = 0)
752, 60, 743eqtrd 2860 1 (𝜑𝑇 = 0)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 398   = wceq 1537  wcel 2114  wne 3016  ifcif 4467   class class class wbr 5066  wf 6351  cfv 6355  (class class class)co 7156  cc 10535  cr 10536  0cc0 10537  1c1 10538   · cmul 10542   < clt 10675  cmin 10870   / cdiv 11297  cn 11638  0cn0 11898  cz 11982  cuz 12244  ...cfz 12893  cexp 13430  !cfa 13634  cprod 15259
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793  ax-rep 5190  ax-sep 5203  ax-nul 5210  ax-pow 5266  ax-pr 5330  ax-un 7461  ax-inf2 9104  ax-cnex 10593  ax-resscn 10594  ax-1cn 10595  ax-icn 10596  ax-addcl 10597  ax-addrcl 10598  ax-mulcl 10599  ax-mulrcl 10600  ax-mulcom 10601  ax-addass 10602  ax-mulass 10603  ax-distr 10604  ax-i2m1 10605  ax-1ne0 10606  ax-1rid 10607  ax-rnegex 10608  ax-rrecex 10609  ax-cnre 10610  ax-pre-lttri 10611  ax-pre-lttrn 10612  ax-pre-ltadd 10613  ax-pre-mulgt0 10614  ax-pre-sup 10615
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1540  df-fal 1550  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-nel 3124  df-ral 3143  df-rex 3144  df-reu 3145  df-rmo 3146  df-rab 3147  df-v 3496  df-sbc 3773  df-csb 3884  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-pss 3954  df-nul 4292  df-if 4468  df-pw 4541  df-sn 4568  df-pr 4570  df-tp 4572  df-op 4574  df-uni 4839  df-int 4877  df-iun 4921  df-br 5067  df-opab 5129  df-mpt 5147  df-tr 5173  df-id 5460  df-eprel 5465  df-po 5474  df-so 5475  df-fr 5514  df-se 5515  df-we 5516  df-xp 5561  df-rel 5562  df-cnv 5563  df-co 5564  df-dm 5565  df-rn 5566  df-res 5567  df-ima 5568  df-pred 6148  df-ord 6194  df-on 6195  df-lim 6196  df-suc 6197  df-iota 6314  df-fun 6357  df-fn 6358  df-f 6359  df-f1 6360  df-fo 6361  df-f1o 6362  df-fv 6363  df-isom 6364  df-riota 7114  df-ov 7159  df-oprab 7160  df-mpo 7161  df-om 7581  df-1st 7689  df-2nd 7690  df-wrecs 7947  df-recs 8008  df-rdg 8046  df-1o 8102  df-oadd 8106  df-er 8289  df-en 8510  df-dom 8511  df-sdom 8512  df-fin 8513  df-sup 8906  df-oi 8974  df-card 9368  df-pnf 10677  df-mnf 10678  df-xr 10679  df-ltxr 10680  df-le 10681  df-sub 10872  df-neg 10873  df-div 11298  df-nn 11639  df-2 11701  df-3 11702  df-n0 11899  df-z 11983  df-uz 12245  df-rp 12391  df-fz 12894  df-fzo 13035  df-seq 13371  df-exp 13431  df-fac 13635  df-bc 13664  df-hash 13692  df-cj 14458  df-re 14459  df-im 14460  df-sqrt 14594  df-abs 14595  df-clim 14845  df-prod 15260
This theorem is referenced by:  etransclem28  42567
  Copyright terms: Public domain W3C validator