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

Theorem fsumnncl 46917
Description: Closure of a nonempty, finite sum of positive integers. (Contributed by Glauco Siliprandi, 5-Apr-2020.)
Hypotheses
Ref Expression
fsumnncl.an0 (𝜑 → 𝐴 ≠ ∅)
fsumnncl.afi (𝜑 → 𝐴 ∈ Fin)
fsumnncl.b ((𝜑 ∧ 𝑘 ∈ 𝐴) → 𝐵 ∈ ℕ)
Assertion
Ref Expression
fsumnncl (𝜑 → Σ𝑘 ∈ 𝐴 𝐵 ∈ ℕ)
Distinct variable groups:   𝐴,𝑘   𝜑,𝑘
Allowed substitution hint:   𝐵(𝑘)

Proof of Theorem fsumnncl
Dummy variable 𝑗 is distinct from all other variables.
StepHypRef Expression
1 fsumnncl.afi . . . 4 (𝜑 → 𝐴 ∈ Fin)
2 fsumnncl.b . . . . 5 ((𝜑 ∧ 𝑘 ∈ 𝐴) → 𝐵 ∈ ℕ)
32nnnn0d 12706 . . . 4 ((𝜑 ∧ 𝑘 ∈ 𝐴) → 𝐵 ∈ ℕ0)
41, 3fsumnn0cl 15945 . . 3 (𝜑 → Σ𝑘 ∈ 𝐴 𝐵 ∈ ℕ0)
5 fsumnncl.an0 . . . . 5 (𝜑 → 𝐴 ≠ ∅)
6 n0 4302 . . . . 5 (𝐴 ≠ ∅ ↔ ∃𝑗 𝑗 ∈ 𝐴)
75, 6sylib 221 . . . 4 (𝜑 → ∃𝑗 𝑗 ∈ 𝐴)
8 0red 11349 . . . . . . . 8 ((𝜑 ∧ 𝑗 ∈ 𝐴) → 0 ∈ ℝ)
9 nfv 1951 . . . . . . . . . . . 12 Ⅎ𝑘(𝜑 ∧ 𝑗 ∈ 𝐴)
10 nfcsb1v 3874 . . . . . . . . . . . . 13 Ⅎ𝑘⦋𝑗 / 𝑘⦌𝐵
1110nfel1 2945 . . . . . . . . . . . 12 Ⅎ𝑘⦋𝑗 / 𝑘⦌𝐵 ∈ ℕ
129, 11nfim 1933 . . . . . . . . . . 11 Ⅎ𝑘((𝜑 ∧ 𝑗 ∈ 𝐴) → ⦋𝑗 / 𝑘⦌𝐵 ∈ ℕ)
13 eleq1w 2850 . . . . . . . . . . . . 13 (𝑘 = 𝑗 → (𝑘 ∈ 𝐴 ↔ 𝑗 ∈ 𝐴))
1413anbi2d 642 . . . . . . . . . . . 12 (𝑘 = 𝑗 → ((𝜑 ∧ 𝑘 ∈ 𝐴) ↔ (𝜑 ∧ 𝑗 ∈ 𝐴)))
15 csbeq1a 3864 . . . . . . . . . . . . 13 (𝑘 = 𝑗 → 𝐵 = ⦋𝑗 / 𝑘⦌𝐵)
1615eleq1d 2852 . . . . . . . . . . . 12 (𝑘 = 𝑗 → (𝐵 ∈ ℕ ↔ ⦋𝑗 / 𝑘⦌𝐵 ∈ ℕ))
1714, 16imbi12d 347 . . . . . . . . . . 11 (𝑘 = 𝑗 → (((𝜑 ∧ 𝑘 ∈ 𝐴) → 𝐵 ∈ ℕ) ↔ ((𝜑 ∧ 𝑗 ∈ 𝐴) → ⦋𝑗 / 𝑘⦌𝐵 ∈ ℕ)))
1812, 17, 2chvarfv 2283 . . . . . . . . . 10 ((𝜑 ∧ 𝑗 ∈ 𝐴) → ⦋𝑗 / 𝑘⦌𝐵 ∈ ℕ)
1918nnred 12389 . . . . . . . . 9 ((𝜑 ∧ 𝑗 ∈ 𝐴) → ⦋𝑗 / 𝑘⦌𝐵 ∈ ℝ)
208, 19readdcld 11376 . . . . . . . 8 ((𝜑 ∧ 𝑗 ∈ 𝐴) → (0 + ⦋𝑗 / 𝑘⦌𝐵) ∈ ℝ)
21 diffi 9227 . . . . . . . . . . . . 13 (𝐴 ∈ Fin → (𝐴 ∖ {𝑗}) ∈ Fin)
221, 21syl 18 . . . . . . . . . . . 12 (𝜑 → (𝐴 ∖ {𝑗}) ∈ Fin)
23 eldifi 4069 . . . . . . . . . . . . . 14 (𝑘 ∈ (𝐴 ∖ {𝑗}) → 𝑘 ∈ 𝐴)
2423adantl 487 . . . . . . . . . . . . 13 ((𝜑 ∧ 𝑘 ∈ (𝐴 ∖ {𝑗})) → 𝑘 ∈ 𝐴)
2524, 3syldan 603 . . . . . . . . . . . 12 ((𝜑 ∧ 𝑘 ∈ (𝐴 ∖ {𝑗})) → 𝐵 ∈ ℕ0)
2622, 25fsumnn0cl 15945 . . . . . . . . . . 11 (𝜑 → Σ𝑘 ∈ (𝐴 ∖ {𝑗})𝐵 ∈ ℕ0)
2726nn0red 12707 . . . . . . . . . 10 (𝜑 → Σ𝑘 ∈ (𝐴 ∖ {𝑗})𝐵 ∈ ℝ)
2827adantr 486 . . . . . . . . 9 ((𝜑 ∧ 𝑗 ∈ 𝐴) → Σ𝑘 ∈ (𝐴 ∖ {𝑗})𝐵 ∈ ℝ)
2928, 19readdcld 11376 . . . . . . . 8 ((𝜑 ∧ 𝑗 ∈ 𝐴) → (Σ𝑘 ∈ (𝐴 ∖ {𝑗})𝐵 + ⦋𝑗 / 𝑘⦌𝐵) ∈ ℝ)
3018nnrpd 13201 . . . . . . . . 9 ((𝜑 ∧ 𝑗 ∈ 𝐴) → ⦋𝑗 / 𝑘⦌𝐵 ∈ ℝ+)
318, 30ltaddrpd 13236 . . . . . . . 8 ((𝜑 ∧ 𝑗 ∈ 𝐴) → 0 < (0 + ⦋𝑗 / 𝑘⦌𝐵))
3226nn0ge0d 12709 . . . . . . . . . 10 (𝜑 → 0 ≤ Σ𝑘 ∈ (𝐴 ∖ {𝑗})𝐵)
3332adantr 486 . . . . . . . . 9 ((𝜑 ∧ 𝑗 ∈ 𝐴) → 0 ≤ Σ𝑘 ∈ (𝐴 ∖ {𝑗})𝐵)
348, 28, 19, 33leadd1dd 11969 . . . . . . . 8 ((𝜑 ∧ 𝑗 ∈ 𝐴) → (0 + ⦋𝑗 / 𝑘⦌𝐵) ≤ (Σ𝑘 ∈ (𝐴 ∖ {𝑗})𝐵 + ⦋𝑗 / 𝑘⦌𝐵))
358, 20, 29, 31, 34ltletrd 11508 . . . . . . 7 ((𝜑 ∧ 𝑗 ∈ 𝐴) → 0 < (Σ𝑘 ∈ (𝐴 ∖ {𝑗})𝐵 + ⦋𝑗 / 𝑘⦌𝐵))
36 difsnid 4772 . . . . . . . . . . 11 (𝑗 ∈ 𝐴 → ((𝐴 ∖ {𝑗}) ∪ {𝑗}) = 𝐴)
3736adantl 487 . . . . . . . . . 10 ((𝜑 ∧ 𝑗 ∈ 𝐴) → ((𝐴 ∖ {𝑗}) ∪ {𝑗}) = 𝐴)
3837eqcomd 2772 . . . . . . . . 9 ((𝜑 ∧ 𝑗 ∈ 𝐴) → 𝐴 = ((𝐴 ∖ {𝑗}) ∪ {𝑗}))
3938sumeq1d 15910 . . . . . . . 8 ((𝜑 ∧ 𝑗 ∈ 𝐴) → Σ𝑘 ∈ 𝐴 𝐵 = Σ𝑘 ∈ ((𝐴 ∖ {𝑗}) ∪ {𝑗})𝐵)
4022adantr 486 . . . . . . . . 9 ((𝜑 ∧ 𝑗 ∈ 𝐴) → (𝐴 ∖ {𝑗}) ∈ Fin)
41 simpr 490 . . . . . . . . 9 ((𝜑 ∧ 𝑗 ∈ 𝐴) → 𝑗 ∈ 𝐴)
42 neldifsnd 4757 . . . . . . . . 9 ((𝜑 ∧ 𝑗 ∈ 𝐴) → ¬ 𝑗 ∈ (𝐴 ∖ {𝑗}))
43 simpl 488 . . . . . . . . . . . 12 ((𝜑 ∧ 𝑘 ∈ (𝐴 ∖ {𝑗})) → 𝜑)
4443, 24, 2syl2anc 596 . . . . . . . . . . 11 ((𝜑 ∧ 𝑘 ∈ (𝐴 ∖ {𝑗})) → 𝐵 ∈ ℕ)
4544nncnd 12390 . . . . . . . . . 10 ((𝜑 ∧ 𝑘 ∈ (𝐴 ∖ {𝑗})) → 𝐵 ∈ ℂ)
4645adantlr 728 . . . . . . . . 9 (((𝜑 ∧ 𝑗 ∈ 𝐴) ∧ 𝑘 ∈ (𝐴 ∖ {𝑗})) → 𝐵 ∈ ℂ)
47 nnsscn 12379 . . . . . . . . . . 11 ℕ ⊆ ℂ
4847a1i 11 . . . . . . . . . 10 ((𝜑 ∧ 𝑗 ∈ 𝐴) → ℕ ⊆ ℂ)
4948, 18sseldd 3913 . . . . . . . . 9 ((𝜑 ∧ 𝑗 ∈ 𝐴) → ⦋𝑗 / 𝑘⦌𝐵 ∈ ℂ)
509, 10, 40, 41, 42, 46, 15, 49fsumsplitsn 15953 . . . . . . . 8 ((𝜑 ∧ 𝑗 ∈ 𝐴) → Σ𝑘 ∈ ((𝐴 ∖ {𝑗}) ∪ {𝑗})𝐵 = (Σ𝑘 ∈ (𝐴 ∖ {𝑗})𝐵 + ⦋𝑗 / 𝑘⦌𝐵))
5139, 50eqtr2d 2802 . . . . . . 7 ((𝜑 ∧ 𝑗 ∈ 𝐴) → (Σ𝑘 ∈ (𝐴 ∖ {𝑗})𝐵 + ⦋𝑗 / 𝑘⦌𝐵) = Σ𝑘 ∈ 𝐴 𝐵)
5235, 51breqtrd 5136 . . . . . 6 ((𝜑 ∧ 𝑗 ∈ 𝐴) → 0 < Σ𝑘 ∈ 𝐴 𝐵)
5352ex 418 . . . . 5 (𝜑 → (𝑗 ∈ 𝐴 → 0 < Σ𝑘 ∈ 𝐴 𝐵))
5453exlimdv 1970 . . . 4 (𝜑 → (∃𝑗 𝑗 ∈ 𝐴 → 0 < Σ𝑘 ∈ 𝐴 𝐵))
557, 54mpd 16 . . 3 (𝜑 → 0 < Σ𝑘 ∈ 𝐴 𝐵)
564, 55jca 521 . 2 (𝜑 → (Σ𝑘 ∈ 𝐴 𝐵 ∈ ℕ0 ∧ 0 < Σ𝑘 ∈ 𝐴 𝐵))
57 elnnnn0b 12689 . 2 (Σ𝑘 ∈ 𝐴 𝐵 ∈ ℕ ↔ (Σ𝑘 ∈ 𝐴 𝐵 ∈ ℕ0 ∧ 0 < Σ𝑘 ∈ 𝐴 𝐵))
5856, 57sylibr 237 1 (𝜑 → Σ𝑘 ∈ 𝐴 𝐵 ∈ ℕ)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572  ∃wex 1814   ∈ wcel 2150   ≠ wne 2962  ⦋csb 3850   ⊆ wss 3899   ∖ cdif 4047   ∪ cun 4151  ∅c0 4280  {csn 4587   class class class wbr 5107  (class class class)co 7450  Fincfn 9010  ℂcc 11236  ℝcr 11237  0cc0 11238   + caddc 11241   < clt 11381   ≤ cle 11382  ℕcn 12374  ℕ0cn0 12645  Σcsu 15896
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-10 2183  ax-11 2200  ax-12 2219  ax-ext 2738  ax-rep 5237  ax-sep 5254  ax-nul 5265  ax-pow 5333  ax-pr 5397  ax-un 7782  ax-inf2 9678  ax-cnex 11294  ax-resscn 11295  ax-1cn 11296  ax-icn 11297  ax-addcl 11298  ax-addrcl 11299  ax-mulcl 11300  ax-mulrcl 11301  ax-mulcom 11302  ax-addass 11303  ax-mulass 11304  ax-distr 11305  ax-i2m1 11306  ax-1ne0 11307  ax-1rid 11308  ax-rnegex 11309  ax-rrecex 11310  ax-cnre 11311  ax-pre-lttri 11312  ax-pre-lttrn 11313  ax-pre-ltadd 11314  ax-pre-mulgt0 11315  ax-pre-sup 11316
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 1815  df-nf 1819  df-sb 2104  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2842  df-nfc 2916  df-ne 2963  df-nel 3069  df-ral 3084  df-rex 3094  df-rmo 3368  df-reu 3369  df-rab 3416  df-v 3455  df-sbc 3742  df-csb 3851  df-ss 3900  df-pss 4016  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-pw 4561  df-sn 4588  df-pr 4590  df-op 4840  df-uni 4872  df-int 4912  df-iun 4957  df-br 5108  df-opab 5173  df-mpt 5192  df-tr 5218  df-id 5552  df-eprel 5557  df-po 5565  df-so 5566  df-fr 5610  df-se 5611  df-we 5612  df-xp 5663  df-rel 5664  df-cnv 5665  df-co 5666  df-dm 5667  df-rn 5668  df-res 5669  df-ima 5670  df-pred 6329  df-ord 6390  df-on 6391  df-lim 6392  df-suc 6393  df-iota 6519  df-fun 6567  df-fn 6568  df-f 6569  df-f1 6570  df-fo 6571  df-f1o 6572  df-fv 6573  df-isom 6574  df-riota 7407  df-ov 7453  df-oprab 7454  df-mpo 7455  df-om 7911  df-1st 8034  df-2nd 8035  df-frecs 8336  df-wrecs 8367  df-recs 8416  df-rdg 8455  df-1o 8513  df-er 8754  df-en 9011  df-dom 9012  df-sdom 9013  df-fin 9014  df-sup 9470  df-oi 9540  df-card 10056  df-pnf 11383  df-mnf 11384  df-xr 11385  df-ltxr 11386  df-le 11387  df-sub 11581  df-neg 11582  df-div 12013  df-nn 12375  df-2 12444  df-3 12445  df-n0 12646  df-z 12733  df-uz 13005  df-rp 13160  df-fz 13679  df-fzo 13828  df-seq 14184  df-exp 14244  df-hash 14515  df-cj 15308  df-re 15309  df-im 15310  df-sqrt 15444  df-abs 15445  df-clim 15698  df-sum 15897
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator