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

Theorem aaliou3lem6 26807
Description: Lemma for aaliou3 26810. (Contributed by Stefan O'Rear, 16-Nov-2014.)
Hypotheses
Ref Expression
aaliou3lem.c 𝐹 = (𝑎 ∈ ℕ ↦ (2↑ -(!‘𝑎)))
aaliou3lem.d 𝐿 = Σ𝑏 ∈ ℕ (𝐹‘𝑏)
aaliou3lem.e 𝐻 = (𝑐 ∈ ℕ ↦ Σ𝑏 ∈ (1...𝑐)(𝐹‘𝑏))
Assertion
Ref Expression
aaliou3lem6 (𝐴 ∈ ℕ → ((𝐻‘𝐴) · (2↑(!‘𝐴))) ∈ ℤ)
Distinct variable groups:   𝑎,𝑏,𝑐   𝐹,𝑏,𝑐   𝐿,𝑐   𝐴,𝑎,𝑏,𝑐
Allowed substitution hints:   𝐹(𝑎)   𝐻(𝑎, 𝑏, 𝑐)   𝐿(𝑎, 𝑏)

Proof of Theorem aaliou3lem6
StepHypRef Expression
1 oveq2 7478 . . . . 5 (𝑐 = 𝐴 → (1...𝑐) = (1...𝐴))
21sumeq1d 15932 . . . 4 (𝑐 = 𝐴 → Σ𝑏 ∈ (1...𝑐)(𝐹‘𝑏) = Σ𝑏 ∈ (1...𝐴)(𝐹‘𝑏))
3 aaliou3lem.e . . . 4 𝐻 = (𝑐 ∈ ℕ ↦ Σ𝑏 ∈ (1...𝑐)(𝐹‘𝑏))
4 sumex 15920 . . . 4 Σ𝑏 ∈ (1...𝐴)(𝐹‘𝑏) ∈ V
52, 3, 4fvmpt 7042 . . 3 (𝐴 ∈ ℕ → (𝐻‘𝐴) = Σ𝑏 ∈ (1...𝐴)(𝐹‘𝑏))
65oveq1d 7485 . 2 (𝐴 ∈ ℕ → ((𝐻‘𝐴) · (2↑(!‘𝐴))) = (Σ𝑏 ∈ (1...𝐴)(𝐹‘𝑏) · (2↑(!‘𝐴))))
7 fzfid 14177 . . . 4 (𝐴 ∈ ℕ → (1...𝐴) ∈ Fin)
8 2rp 13184 . . . . . 6 2 ∈ ℝ+
9 nnnn0 12672 . . . . . . . 8 (𝐴 ∈ ℕ → 𝐴 ∈ ℕ0)
109faccld 14490 . . . . . . 7 (𝐴 ∈ ℕ → (!‘𝐴) ∈ ℕ)
1110nnzd 12778 . . . . . 6 (𝐴 ∈ ℕ → (!‘𝐴) ∈ ℤ)
12 rpexpcl 14284 . . . . . 6 ((2 ∈ ℝ+ ∧ (!‘𝐴) ∈ ℤ) → (2↑(!‘𝐴)) ∈ ℝ+)
138, 11, 12sylancr 599 . . . . 5 (𝐴 ∈ ℕ → (2↑(!‘𝐴)) ∈ ℝ+)
1413rpcnd 13225 . . . 4 (𝐴 ∈ ℕ → (2↑(!‘𝐴)) ∈ ℂ)
15 elfznn 13746 . . . . . . 7 (𝑏 ∈ (1...𝐴) → 𝑏 ∈ ℕ)
16 fveq2 6934 . . . . . . . . . 10 (𝑎 = 𝑏 → (!‘𝑎) = (!‘𝑏))
1716negeqd 11609 . . . . . . . . 9 (𝑎 = 𝑏 → -(!‘𝑎) = -(!‘𝑏))
1817oveq2d 7486 . . . . . . . 8 (𝑎 = 𝑏 → (2↑ -(!‘𝑎)) = (2↑ -(!‘𝑏)))
19 aaliou3lem.c . . . . . . . 8 𝐹 = (𝑎 ∈ ℕ ↦ (2↑ -(!‘𝑎)))
20 ovex 7503 . . . . . . . 8 (2↑ -(!‘𝑏)) ∈ V
2118, 19, 20fvmpt 7042 . . . . . . 7 (𝑏 ∈ ℕ → (𝐹‘𝑏) = (2↑ -(!‘𝑏)))
2215, 21syl 18 . . . . . 6 (𝑏 ∈ (1...𝐴) → (𝐹‘𝑏) = (2↑ -(!‘𝑏)))
2322adantl 487 . . . . 5 ((𝐴 ∈ ℕ ∧ 𝑏 ∈ (1...𝐴)) → (𝐹‘𝑏) = (2↑ -(!‘𝑏)))
2415adantl 487 . . . . . . . . . . 11 ((𝐴 ∈ ℕ ∧ 𝑏 ∈ (1...𝐴)) → 𝑏 ∈ ℕ)
2524nnnn0d 12726 . . . . . . . . . 10 ((𝐴 ∈ ℕ ∧ 𝑏 ∈ (1...𝐴)) → 𝑏 ∈ ℕ0)
2625faccld 14490 . . . . . . . . 9 ((𝐴 ∈ ℕ ∧ 𝑏 ∈ (1...𝐴)) → (!‘𝑏) ∈ ℕ)
2726nnzd 12778 . . . . . . . 8 ((𝐴 ∈ ℕ ∧ 𝑏 ∈ (1...𝐴)) → (!‘𝑏) ∈ ℤ)
2827znegcld 12864 . . . . . . 7 ((𝐴 ∈ ℕ ∧ 𝑏 ∈ (1...𝐴)) → -(!‘𝑏) ∈ ℤ)
29 rpexpcl 14284 . . . . . . 7 ((2 ∈ ℝ+ ∧ -(!‘𝑏) ∈ ℤ) → (2↑ -(!‘𝑏)) ∈ ℝ+)
308, 28, 29sylancr 599 . . . . . 6 ((𝐴 ∈ ℕ ∧ 𝑏 ∈ (1...𝐴)) → (2↑ -(!‘𝑏)) ∈ ℝ+)
3130rpcnd 13225 . . . . 5 ((𝐴 ∈ ℕ ∧ 𝑏 ∈ (1...𝐴)) → (2↑ -(!‘𝑏)) ∈ ℂ)
3223, 31eqeltrd 2875 . . . 4 ((𝐴 ∈ ℕ ∧ 𝑏 ∈ (1...𝐴)) → (𝐹‘𝑏) ∈ ℂ)
337, 14, 32fsummulc1 16016 . . 3 (𝐴 ∈ ℕ → (Σ𝑏 ∈ (1...𝐴)(𝐹‘𝑏) · (2↑(!‘𝐴))) = Σ𝑏 ∈ (1...𝐴)((𝐹‘𝑏) · (2↑(!‘𝐴))))
3423oveq1d 7485 . . . . 5 ((𝐴 ∈ ℕ ∧ 𝑏 ∈ (1...𝐴)) → ((𝐹‘𝑏) · (2↑(!‘𝐴))) = ((2↑ -(!‘𝑏)) · (2↑(!‘𝐴))))
3511adantr 486 . . . . . . 7 ((𝐴 ∈ ℕ ∧ 𝑏 ∈ (1...𝐴)) → (!‘𝐴) ∈ ℤ)
36 2cnne0 12614 . . . . . . . 8 (2 ∈ ℂ ∧ 2 ≠ 0)
37 expaddz 14310 . . . . . . . 8 (((2 ∈ ℂ ∧ 2 ≠ 0) ∧ ( -(!‘𝑏) ∈ ℤ ∧ (!‘𝐴) ∈ ℤ)) → (2↑( -(!‘𝑏) + (!‘𝐴))) = ((2↑ -(!‘𝑏)) · (2↑(!‘𝐴))))
3836, 37mpan 703 . . . . . . 7 (( -(!‘𝑏) ∈ ℤ ∧ (!‘𝐴) ∈ ℤ) → (2↑( -(!‘𝑏) + (!‘𝐴))) = ((2↑ -(!‘𝑏)) · (2↑(!‘𝐴))))
3928, 35, 38syl2anc 596 . . . . . 6 ((𝐴 ∈ ℕ ∧ 𝑏 ∈ (1...𝐴)) → (2↑( -(!‘𝑏) + (!‘𝐴))) = ((2↑ -(!‘𝑏)) · (2↑(!‘𝐴))))
40 2z 12787 . . . . . . 7 2 ∈ ℤ
4128zcnd 12863 . . . . . . . . . 10 ((𝐴 ∈ ℕ ∧ 𝑏 ∈ (1...𝐴)) → -(!‘𝑏) ∈ ℂ)
4235zcnd 12863 . . . . . . . . . 10 ((𝐴 ∈ ℕ ∧ 𝑏 ∈ (1...𝐴)) → (!‘𝐴) ∈ ℂ)
4341, 42addcomd 11570 . . . . . . . . 9 ((𝐴 ∈ ℕ ∧ 𝑏 ∈ (1...𝐴)) → ( -(!‘𝑏) + (!‘𝐴)) = ((!‘𝐴) + -(!‘𝑏)))
4426nncnd 12410 . . . . . . . . . 10 ((𝐴 ∈ ℕ ∧ 𝑏 ∈ (1...𝐴)) → (!‘𝑏) ∈ ℂ)
4542, 44negsubd 11733 . . . . . . . . 9 ((𝐴 ∈ ℕ ∧ 𝑏 ∈ (1...𝐴)) → ((!‘𝐴) + -(!‘𝑏)) = ((!‘𝐴) − (!‘𝑏)))
4643, 45eqtrd 2809 . . . . . . . 8 ((𝐴 ∈ ℕ ∧ 𝑏 ∈ (1...𝐴)) → ( -(!‘𝑏) + (!‘𝐴)) = ((!‘𝐴) − (!‘𝑏)))
479adantr 486 . . . . . . . . . 10 ((𝐴 ∈ ℕ ∧ 𝑏 ∈ (1...𝐴)) → 𝐴 ∈ ℕ0)
48 elfzle2 13720 . . . . . . . . . . 11 (𝑏 ∈ (1...𝐴) → 𝑏 ≤ 𝐴)
4948adantl 487 . . . . . . . . . 10 ((𝐴 ∈ ℕ ∧ 𝑏 ∈ (1...𝐴)) → 𝑏 ≤ 𝐴)
50 facwordi 14495 . . . . . . . . . 10 ((𝑏 ∈ ℕ0 ∧ 𝐴 ∈ ℕ0 ∧ 𝑏 ≤ 𝐴) → (!‘𝑏) ≤ (!‘𝐴))
5125, 47, 49, 50syl3anc 1401 . . . . . . . . 9 ((𝐴 ∈ ℕ ∧ 𝑏 ∈ (1...𝐴)) → (!‘𝑏) ≤ (!‘𝐴))
5226nnnn0d 12726 . . . . . . . . . 10 ((𝐴 ∈ ℕ ∧ 𝑏 ∈ (1...𝐴)) → (!‘𝑏) ∈ ℕ0)
5347faccld 14490 . . . . . . . . . . 11 ((𝐴 ∈ ℕ ∧ 𝑏 ∈ (1...𝐴)) → (!‘𝐴) ∈ ℕ)
5453nnnn0d 12726 . . . . . . . . . 10 ((𝐴 ∈ ℕ ∧ 𝑏 ∈ (1...𝐴)) → (!‘𝐴) ∈ ℕ0)
55 nn0sub 12715 . . . . . . . . . 10 (((!‘𝑏) ∈ ℕ0 ∧ (!‘𝐴) ∈ ℕ0) → ((!‘𝑏) ≤ (!‘𝐴) ↔ ((!‘𝐴) − (!‘𝑏)) ∈ ℕ0))
5652, 54, 55syl2anc 596 . . . . . . . . 9 ((𝐴 ∈ ℕ ∧ 𝑏 ∈ (1...𝐴)) → ((!‘𝑏) ≤ (!‘𝐴) ↔ ((!‘𝐴) − (!‘𝑏)) ∈ ℕ0))
5751, 56mpbid 235 . . . . . . . 8 ((𝐴 ∈ ℕ ∧ 𝑏 ∈ (1...𝐴)) → ((!‘𝐴) − (!‘𝑏)) ∈ ℕ0)
5846, 57eqeltrd 2875 . . . . . . 7 ((𝐴 ∈ ℕ ∧ 𝑏 ∈ (1...𝐴)) → ( -(!‘𝑏) + (!‘𝐴)) ∈ ℕ0)
59 zexpcl 14280 . . . . . . 7 ((2 ∈ ℤ ∧ ( -(!‘𝑏) + (!‘𝐴)) ∈ ℕ0) → (2↑( -(!‘𝑏) + (!‘𝐴))) ∈ ℤ)
6040, 58, 59sylancr 599 . . . . . 6 ((𝐴 ∈ ℕ ∧ 𝑏 ∈ (1...𝐴)) → (2↑( -(!‘𝑏) + (!‘𝐴))) ∈ ℤ)
6139, 60eqeltrrd 2876 . . . . 5 ((𝐴 ∈ ℕ ∧ 𝑏 ∈ (1...𝐴)) → ((2↑ -(!‘𝑏)) · (2↑(!‘𝐴))) ∈ ℤ)
6234, 61eqeltrd 2875 . . . 4 ((𝐴 ∈ ℕ ∧ 𝑏 ∈ (1...𝐴)) → ((𝐹‘𝑏) · (2↑(!‘𝐴))) ∈ ℤ)
637, 62fsumzcl 15966 . . 3 (𝐴 ∈ ℕ → Σ𝑏 ∈ (1...𝐴)((𝐹‘𝑏) · (2↑(!‘𝐴))) ∈ ℤ)
6433, 63eqeltrd 2875 . 2 (𝐴 ∈ ℕ → (Σ𝑏 ∈ (1...𝐴)(𝐹‘𝑏) · (2↑(!‘𝐴))) ∈ ℤ)
656, 64eqeltrd 2875 1 (𝐴 ∈ ℕ → ((𝐻‘𝐴) · (2↑(!‘𝐴))) ∈ ℤ)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1572   ∈ wcel 2156   ≠ wne 2970   class class class wbr 5116   ↦ cmpt 5200  ‘cfv 6579  (class class class)co 7470  ℂcc 11256  0cc0 11258  1c1 11259   + caddc 11261   · cmul 11263   ≤ cle 11402   − cmin 11599   -cneg 11600  ℕcn 12394  2c2 12456  ℕ0cn0 12665  ℤcz 12752  ℝ+crp 13179  ...cfz 13698  ↑cexp 14265  !cfa 14479  Σcsu 15918
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-rep 5246  ax-sep 5263  ax-nul 5274  ax-pow 5342  ax-pr 5406  ax-un 7802  ax-inf2 9698  ax-cnex 11314  ax-resscn 11315  ax-1cn 11316  ax-icn 11317  ax-addcl 11318  ax-addrcl 11319  ax-mulcl 11320  ax-mulrcl 11321  ax-mulcom 11322  ax-addass 11323  ax-mulass 11324  ax-distr 11325  ax-i2m1 11326  ax-1ne0 11327  ax-1rid 11328  ax-rnegex 11329  ax-rrecex 11330  ax-cnre 11331  ax-pre-lttri 11332  ax-pre-lttrn 11333  ax-pre-ltadd 11334  ax-pre-mulgt0 11335  ax-pre-sup 11336
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-nel 3077  df-ral 3092  df-rex 3102  df-rmo 3376  df-reu 3377  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-pss 4024  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-int 4921  df-iun 4966  df-br 5117  df-opab 5182  df-mpt 5201  df-tr 5227  df-id 5561  df-eprel 5566  df-po 5574  df-so 5575  df-fr 5619  df-se 5620  df-we 5621  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-pred 6343  df-ord 6404  df-on 6405  df-lim 6406  df-suc 6407  df-iota 6533  df-fun 6581  df-fn 6582  df-f 6583  df-f1 6584  df-fo 6585  df-f1o 6586  df-fv 6587  df-isom 6588  df-riota 7426  df-ov 7473  df-oprab 7474  df-mpo 7475  df-om 7931  df-1st 8054  df-2nd 8055  df-frecs 8356  df-wrecs 8387  df-recs 8436  df-rdg 8475  df-1o 8533  df-er 8774  df-en 9031  df-dom 9032  df-sdom 9033  df-fin 9034  df-sup 9490  df-oi 9560  df-card 10076  df-pnf 11403  df-mnf 11404  df-xr 11405  df-ltxr 11406  df-le 11407  df-sub 11601  df-neg 11602  df-div 12033  df-nn 12395  df-2 12464  df-3 12465  df-n0 12666  df-z 12753  df-uz 13025  df-rp 13180  df-fz 13699  df-fzo 13848  df-seq 14206  df-exp 14266  df-fac 14480  df-hash 14537  df-cj 15330  df-re 15331  df-im 15332  df-sqrt 15466  df-abs 15467  df-clim 15720  df-sum 15919
This theorem is used by:  aaliou3lem9  26809
  Copyright terms: Public domain W3C validator