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

Theorem efnnfsumcl 24746
Description: Finite sum closure in the log-integers. (Contributed by Mario Carneiro, 7-Apr-2016.)
Hypotheses
Ref Expression
efnnfsumcl.1 (𝜑𝐴 ∈ Fin)
efnnfsumcl.2 ((𝜑𝑘𝐴) → 𝐵 ∈ ℝ)
efnnfsumcl.3 ((𝜑𝑘𝐴) → (exp‘𝐵) ∈ ℕ)
Assertion
Ref Expression
efnnfsumcl (𝜑 → (exp‘Σ𝑘𝐴 𝐵) ∈ ℕ)
Distinct variable groups:   𝐴,𝑘   𝜑,𝑘
Allowed substitution hint:   𝐵(𝑘)

Proof of Theorem efnnfsumcl
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ssrab2 3671 . . . . 5 {𝑥 ∈ ℝ ∣ (exp‘𝑥) ∈ ℕ} ⊆ ℝ
2 ax-resscn 9945 . . . . 5 ℝ ⊆ ℂ
31, 2sstri 3596 . . . 4 {𝑥 ∈ ℝ ∣ (exp‘𝑥) ∈ ℕ} ⊆ ℂ
43a1i 11 . . 3 (𝜑 → {𝑥 ∈ ℝ ∣ (exp‘𝑥) ∈ ℕ} ⊆ ℂ)
5 fveq2 6153 . . . . . . 7 (𝑥 = 𝑦 → (exp‘𝑥) = (exp‘𝑦))
65eleq1d 2683 . . . . . 6 (𝑥 = 𝑦 → ((exp‘𝑥) ∈ ℕ ↔ (exp‘𝑦) ∈ ℕ))
76elrab 3350 . . . . 5 (𝑦 ∈ {𝑥 ∈ ℝ ∣ (exp‘𝑥) ∈ ℕ} ↔ (𝑦 ∈ ℝ ∧ (exp‘𝑦) ∈ ℕ))
8 fveq2 6153 . . . . . . 7 (𝑥 = 𝑧 → (exp‘𝑥) = (exp‘𝑧))
98eleq1d 2683 . . . . . 6 (𝑥 = 𝑧 → ((exp‘𝑥) ∈ ℕ ↔ (exp‘𝑧) ∈ ℕ))
109elrab 3350 . . . . 5 (𝑧 ∈ {𝑥 ∈ ℝ ∣ (exp‘𝑥) ∈ ℕ} ↔ (𝑧 ∈ ℝ ∧ (exp‘𝑧) ∈ ℕ))
11 simpll 789 . . . . . . 7 (((𝑦 ∈ ℝ ∧ (exp‘𝑦) ∈ ℕ) ∧ (𝑧 ∈ ℝ ∧ (exp‘𝑧) ∈ ℕ)) → 𝑦 ∈ ℝ)
12 simprl 793 . . . . . . 7 (((𝑦 ∈ ℝ ∧ (exp‘𝑦) ∈ ℕ) ∧ (𝑧 ∈ ℝ ∧ (exp‘𝑧) ∈ ℕ)) → 𝑧 ∈ ℝ)
1311, 12readdcld 10021 . . . . . 6 (((𝑦 ∈ ℝ ∧ (exp‘𝑦) ∈ ℕ) ∧ (𝑧 ∈ ℝ ∧ (exp‘𝑧) ∈ ℕ)) → (𝑦 + 𝑧) ∈ ℝ)
1411recnd 10020 . . . . . . . 8 (((𝑦 ∈ ℝ ∧ (exp‘𝑦) ∈ ℕ) ∧ (𝑧 ∈ ℝ ∧ (exp‘𝑧) ∈ ℕ)) → 𝑦 ∈ ℂ)
1512recnd 10020 . . . . . . . 8 (((𝑦 ∈ ℝ ∧ (exp‘𝑦) ∈ ℕ) ∧ (𝑧 ∈ ℝ ∧ (exp‘𝑧) ∈ ℕ)) → 𝑧 ∈ ℂ)
16 efadd 14760 . . . . . . . 8 ((𝑦 ∈ ℂ ∧ 𝑧 ∈ ℂ) → (exp‘(𝑦 + 𝑧)) = ((exp‘𝑦) · (exp‘𝑧)))
1714, 15, 16syl2anc 692 . . . . . . 7 (((𝑦 ∈ ℝ ∧ (exp‘𝑦) ∈ ℕ) ∧ (𝑧 ∈ ℝ ∧ (exp‘𝑧) ∈ ℕ)) → (exp‘(𝑦 + 𝑧)) = ((exp‘𝑦) · (exp‘𝑧)))
18 nnmulcl 10995 . . . . . . . 8 (((exp‘𝑦) ∈ ℕ ∧ (exp‘𝑧) ∈ ℕ) → ((exp‘𝑦) · (exp‘𝑧)) ∈ ℕ)
1918ad2ant2l 781 . . . . . . 7 (((𝑦 ∈ ℝ ∧ (exp‘𝑦) ∈ ℕ) ∧ (𝑧 ∈ ℝ ∧ (exp‘𝑧) ∈ ℕ)) → ((exp‘𝑦) · (exp‘𝑧)) ∈ ℕ)
2017, 19eqeltrd 2698 . . . . . 6 (((𝑦 ∈ ℝ ∧ (exp‘𝑦) ∈ ℕ) ∧ (𝑧 ∈ ℝ ∧ (exp‘𝑧) ∈ ℕ)) → (exp‘(𝑦 + 𝑧)) ∈ ℕ)
21 fveq2 6153 . . . . . . . 8 (𝑥 = (𝑦 + 𝑧) → (exp‘𝑥) = (exp‘(𝑦 + 𝑧)))
2221eleq1d 2683 . . . . . . 7 (𝑥 = (𝑦 + 𝑧) → ((exp‘𝑥) ∈ ℕ ↔ (exp‘(𝑦 + 𝑧)) ∈ ℕ))
2322elrab 3350 . . . . . 6 ((𝑦 + 𝑧) ∈ {𝑥 ∈ ℝ ∣ (exp‘𝑥) ∈ ℕ} ↔ ((𝑦 + 𝑧) ∈ ℝ ∧ (exp‘(𝑦 + 𝑧)) ∈ ℕ))
2413, 20, 23sylanbrc 697 . . . . 5 (((𝑦 ∈ ℝ ∧ (exp‘𝑦) ∈ ℕ) ∧ (𝑧 ∈ ℝ ∧ (exp‘𝑧) ∈ ℕ)) → (𝑦 + 𝑧) ∈ {𝑥 ∈ ℝ ∣ (exp‘𝑥) ∈ ℕ})
257, 10, 24syl2anb 496 . . . 4 ((𝑦 ∈ {𝑥 ∈ ℝ ∣ (exp‘𝑥) ∈ ℕ} ∧ 𝑧 ∈ {𝑥 ∈ ℝ ∣ (exp‘𝑥) ∈ ℕ}) → (𝑦 + 𝑧) ∈ {𝑥 ∈ ℝ ∣ (exp‘𝑥) ∈ ℕ})
2625adantl 482 . . 3 ((𝜑 ∧ (𝑦 ∈ {𝑥 ∈ ℝ ∣ (exp‘𝑥) ∈ ℕ} ∧ 𝑧 ∈ {𝑥 ∈ ℝ ∣ (exp‘𝑥) ∈ ℕ})) → (𝑦 + 𝑧) ∈ {𝑥 ∈ ℝ ∣ (exp‘𝑥) ∈ ℕ})
27 efnnfsumcl.1 . . 3 (𝜑𝐴 ∈ Fin)
28 efnnfsumcl.2 . . . 4 ((𝜑𝑘𝐴) → 𝐵 ∈ ℝ)
29 efnnfsumcl.3 . . . 4 ((𝜑𝑘𝐴) → (exp‘𝐵) ∈ ℕ)
30 fveq2 6153 . . . . . 6 (𝑥 = 𝐵 → (exp‘𝑥) = (exp‘𝐵))
3130eleq1d 2683 . . . . 5 (𝑥 = 𝐵 → ((exp‘𝑥) ∈ ℕ ↔ (exp‘𝐵) ∈ ℕ))
3231elrab 3350 . . . 4 (𝐵 ∈ {𝑥 ∈ ℝ ∣ (exp‘𝑥) ∈ ℕ} ↔ (𝐵 ∈ ℝ ∧ (exp‘𝐵) ∈ ℕ))
3328, 29, 32sylanbrc 697 . . 3 ((𝜑𝑘𝐴) → 𝐵 ∈ {𝑥 ∈ ℝ ∣ (exp‘𝑥) ∈ ℕ})
34 0re 9992 . . . . 5 0 ∈ ℝ
35 1nn 10983 . . . . 5 1 ∈ ℕ
36 fveq2 6153 . . . . . . . 8 (𝑥 = 0 → (exp‘𝑥) = (exp‘0))
37 ef0 14757 . . . . . . . 8 (exp‘0) = 1
3836, 37syl6eq 2671 . . . . . . 7 (𝑥 = 0 → (exp‘𝑥) = 1)
3938eleq1d 2683 . . . . . 6 (𝑥 = 0 → ((exp‘𝑥) ∈ ℕ ↔ 1 ∈ ℕ))
4039elrab 3350 . . . . 5 (0 ∈ {𝑥 ∈ ℝ ∣ (exp‘𝑥) ∈ ℕ} ↔ (0 ∈ ℝ ∧ 1 ∈ ℕ))
4134, 35, 40mpbir2an 954 . . . 4 0 ∈ {𝑥 ∈ ℝ ∣ (exp‘𝑥) ∈ ℕ}
4241a1i 11 . . 3 (𝜑 → 0 ∈ {𝑥 ∈ ℝ ∣ (exp‘𝑥) ∈ ℕ})
434, 26, 27, 33, 42fsumcllem 14404 . 2 (𝜑 → Σ𝑘𝐴 𝐵 ∈ {𝑥 ∈ ℝ ∣ (exp‘𝑥) ∈ ℕ})
44 fveq2 6153 . . . . 5 (𝑥 = Σ𝑘𝐴 𝐵 → (exp‘𝑥) = (exp‘Σ𝑘𝐴 𝐵))
4544eleq1d 2683 . . . 4 (𝑥 = Σ𝑘𝐴 𝐵 → ((exp‘𝑥) ∈ ℕ ↔ (exp‘Σ𝑘𝐴 𝐵) ∈ ℕ))
4645elrab 3350 . . 3 𝑘𝐴 𝐵 ∈ {𝑥 ∈ ℝ ∣ (exp‘𝑥) ∈ ℕ} ↔ (Σ𝑘𝐴 𝐵 ∈ ℝ ∧ (exp‘Σ𝑘𝐴 𝐵) ∈ ℕ))
4746simprbi 480 . 2 𝑘𝐴 𝐵 ∈ {𝑥 ∈ ℝ ∣ (exp‘𝑥) ∈ ℕ} → (exp‘Σ𝑘𝐴 𝐵) ∈ ℕ)
4843, 47syl 17 1 (𝜑 → (exp‘Σ𝑘𝐴 𝐵) ∈ ℕ)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 384   = wceq 1480  wcel 1987  {crab 2911  wss 3559  cfv 5852  (class class class)co 6610  Fincfn 7907  cc 9886  cr 9887  0cc0 9888  1c1 9889   + caddc 9891   · cmul 9893  cn 10972  Σcsu 14358  expce 14728
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-rep 4736  ax-sep 4746  ax-nul 4754  ax-pow 4808  ax-pr 4872  ax-un 6909  ax-inf2 8490  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  ax-pre-sup 9966  ax-addf 9967  ax-mulf 9968
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3or 1037  df-3an 1038  df-tru 1483  df-fal 1486  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-rmo 2915  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-int 4446  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-se 5039  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-isom 5861  df-riota 6571  df-ov 6613  df-oprab 6614  df-mpt2 6615  df-om 7020  df-1st 7120  df-2nd 7121  df-wrecs 7359  df-recs 7420  df-rdg 7458  df-1o 7512  df-oadd 7516  df-er 7694  df-pm 7812  df-en 7908  df-dom 7909  df-sdom 7910  df-fin 7911  df-sup 8300  df-inf 8301  df-oi 8367  df-card 8717  df-pnf 10028  df-mnf 10029  df-xr 10030  df-ltxr 10031  df-le 10032  df-sub 10220  df-neg 10221  df-div 10637  df-nn 10973  df-2 11031  df-3 11032  df-n0 11245  df-z 11330  df-uz 11640  df-rp 11785  df-ico 12131  df-fz 12277  df-fzo 12415  df-fl 12541  df-seq 12750  df-exp 12809  df-fac 13009  df-bc 13038  df-hash 13066  df-shft 13749  df-cj 13781  df-re 13782  df-im 13783  df-sqrt 13917  df-abs 13918  df-limsup 14144  df-clim 14161  df-rlim 14162  df-sum 14359  df-ef 14734
This theorem is referenced by:  efchtcl  24754  efchpcl  24768
  Copyright terms: Public domain W3C validator