![]() |
Mathbox for Alexander van der Vekens |
< Previous
Next >
Nearby theorems |
|
Mirrors > Home > MPE Home > Th. List > Mathboxes > fsummmodsndifre | Structured version Visualization version GIF version |
Description: A finite sum of summands modulo a positive number with one of its summands removed is a real number. (Contributed by Alexander van der Vekens, 31-Aug-2018.) |
Ref | Expression |
---|---|
fsummmodsndifre | ⊢ ((𝐴 ∈ Fin ∧ 𝑁 ∈ ℕ ∧ ∀𝑘 ∈ 𝐴 𝐵 ∈ ℤ) → Σ𝑘 ∈ (𝐴 ∖ {𝑋})(𝐵 mod 𝑁) ∈ ℝ) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | nfcv 2906 | . . 3 ⊢ Ⅎ𝑥(𝐵 mod 𝑁) | |
2 | nfcsb1v 3879 | . . 3 ⊢ Ⅎ𝑘⦋𝑥 / 𝑘⦌(𝐵 mod 𝑁) | |
3 | csbeq1a 3868 | . . 3 ⊢ (𝑘 = 𝑥 → (𝐵 mod 𝑁) = ⦋𝑥 / 𝑘⦌(𝐵 mod 𝑁)) | |
4 | 1, 2, 3 | cbvsumi 15579 | . 2 ⊢ Σ𝑘 ∈ (𝐴 ∖ {𝑋})(𝐵 mod 𝑁) = Σ𝑥 ∈ (𝐴 ∖ {𝑋})⦋𝑥 / 𝑘⦌(𝐵 mod 𝑁) |
5 | diffi 9120 | . . . 4 ⊢ (𝐴 ∈ Fin → (𝐴 ∖ {𝑋}) ∈ Fin) | |
6 | 5 | 3ad2ant1 1133 | . . 3 ⊢ ((𝐴 ∈ Fin ∧ 𝑁 ∈ ℕ ∧ ∀𝑘 ∈ 𝐴 𝐵 ∈ ℤ) → (𝐴 ∖ {𝑋}) ∈ Fin) |
7 | eldifi 4085 | . . . . . . . 8 ⊢ (𝑥 ∈ (𝐴 ∖ {𝑋}) → 𝑥 ∈ 𝐴) | |
8 | rspcsbela 4394 | . . . . . . . 8 ⊢ ((𝑥 ∈ 𝐴 ∧ ∀𝑘 ∈ 𝐴 𝐵 ∈ ℤ) → ⦋𝑥 / 𝑘⦌𝐵 ∈ ℤ) | |
9 | 7, 8 | sylan 580 | . . . . . . 7 ⊢ ((𝑥 ∈ (𝐴 ∖ {𝑋}) ∧ ∀𝑘 ∈ 𝐴 𝐵 ∈ ℤ) → ⦋𝑥 / 𝑘⦌𝐵 ∈ ℤ) |
10 | 9 | expcom 414 | . . . . . 6 ⊢ (∀𝑘 ∈ 𝐴 𝐵 ∈ ℤ → (𝑥 ∈ (𝐴 ∖ {𝑋}) → ⦋𝑥 / 𝑘⦌𝐵 ∈ ℤ)) |
11 | 10 | 3ad2ant3 1135 | . . . . 5 ⊢ ((𝐴 ∈ Fin ∧ 𝑁 ∈ ℕ ∧ ∀𝑘 ∈ 𝐴 𝐵 ∈ ℤ) → (𝑥 ∈ (𝐴 ∖ {𝑋}) → ⦋𝑥 / 𝑘⦌𝐵 ∈ ℤ)) |
12 | 11 | imp 407 | . . . 4 ⊢ (((𝐴 ∈ Fin ∧ 𝑁 ∈ ℕ ∧ ∀𝑘 ∈ 𝐴 𝐵 ∈ ℤ) ∧ 𝑥 ∈ (𝐴 ∖ {𝑋})) → ⦋𝑥 / 𝑘⦌𝐵 ∈ ℤ) |
13 | vex 3448 | . . . . . . . . 9 ⊢ 𝑥 ∈ V | |
14 | csbov1g 7399 | . . . . . . . . 9 ⊢ (𝑥 ∈ V → ⦋𝑥 / 𝑘⦌(𝐵 mod 𝑁) = (⦋𝑥 / 𝑘⦌𝐵 mod 𝑁)) | |
15 | 13, 14 | ax-mp 5 | . . . . . . . 8 ⊢ ⦋𝑥 / 𝑘⦌(𝐵 mod 𝑁) = (⦋𝑥 / 𝑘⦌𝐵 mod 𝑁) |
16 | zre 12500 | . . . . . . . . . 10 ⊢ (⦋𝑥 / 𝑘⦌𝐵 ∈ ℤ → ⦋𝑥 / 𝑘⦌𝐵 ∈ ℝ) | |
17 | 16 | adantl 482 | . . . . . . . . 9 ⊢ ((𝑁 ∈ ℕ ∧ ⦋𝑥 / 𝑘⦌𝐵 ∈ ℤ) → ⦋𝑥 / 𝑘⦌𝐵 ∈ ℝ) |
18 | nnrp 12923 | . . . . . . . . . 10 ⊢ (𝑁 ∈ ℕ → 𝑁 ∈ ℝ+) | |
19 | 18 | adantr 481 | . . . . . . . . 9 ⊢ ((𝑁 ∈ ℕ ∧ ⦋𝑥 / 𝑘⦌𝐵 ∈ ℤ) → 𝑁 ∈ ℝ+) |
20 | 17, 19 | modcld 13777 | . . . . . . . 8 ⊢ ((𝑁 ∈ ℕ ∧ ⦋𝑥 / 𝑘⦌𝐵 ∈ ℤ) → (⦋𝑥 / 𝑘⦌𝐵 mod 𝑁) ∈ ℝ) |
21 | 15, 20 | eqeltrid 2842 | . . . . . . 7 ⊢ ((𝑁 ∈ ℕ ∧ ⦋𝑥 / 𝑘⦌𝐵 ∈ ℤ) → ⦋𝑥 / 𝑘⦌(𝐵 mod 𝑁) ∈ ℝ) |
22 | 21 | ex 413 | . . . . . 6 ⊢ (𝑁 ∈ ℕ → (⦋𝑥 / 𝑘⦌𝐵 ∈ ℤ → ⦋𝑥 / 𝑘⦌(𝐵 mod 𝑁) ∈ ℝ)) |
23 | 22 | 3ad2ant2 1134 | . . . . 5 ⊢ ((𝐴 ∈ Fin ∧ 𝑁 ∈ ℕ ∧ ∀𝑘 ∈ 𝐴 𝐵 ∈ ℤ) → (⦋𝑥 / 𝑘⦌𝐵 ∈ ℤ → ⦋𝑥 / 𝑘⦌(𝐵 mod 𝑁) ∈ ℝ)) |
24 | 23 | adantr 481 | . . . 4 ⊢ (((𝐴 ∈ Fin ∧ 𝑁 ∈ ℕ ∧ ∀𝑘 ∈ 𝐴 𝐵 ∈ ℤ) ∧ 𝑥 ∈ (𝐴 ∖ {𝑋})) → (⦋𝑥 / 𝑘⦌𝐵 ∈ ℤ → ⦋𝑥 / 𝑘⦌(𝐵 mod 𝑁) ∈ ℝ)) |
25 | 12, 24 | mpd 15 | . . 3 ⊢ (((𝐴 ∈ Fin ∧ 𝑁 ∈ ℕ ∧ ∀𝑘 ∈ 𝐴 𝐵 ∈ ℤ) ∧ 𝑥 ∈ (𝐴 ∖ {𝑋})) → ⦋𝑥 / 𝑘⦌(𝐵 mod 𝑁) ∈ ℝ) |
26 | 6, 25 | fsumrecl 15616 | . 2 ⊢ ((𝐴 ∈ Fin ∧ 𝑁 ∈ ℕ ∧ ∀𝑘 ∈ 𝐴 𝐵 ∈ ℤ) → Σ𝑥 ∈ (𝐴 ∖ {𝑋})⦋𝑥 / 𝑘⦌(𝐵 mod 𝑁) ∈ ℝ) |
27 | 4, 26 | eqeltrid 2842 | 1 ⊢ ((𝐴 ∈ Fin ∧ 𝑁 ∈ ℕ ∧ ∀𝑘 ∈ 𝐴 𝐵 ∈ ℤ) → Σ𝑘 ∈ (𝐴 ∖ {𝑋})(𝐵 mod 𝑁) ∈ ℝ) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ∧ wa 396 ∧ w3a 1087 = wceq 1541 ∈ wcel 2106 ∀wral 3063 Vcvv 3444 ⦋csb 3854 ∖ cdif 3906 {csn 4585 (class class class)co 7354 Fincfn 8880 ℝcr 11047 ℕcn 12150 ℤcz 12496 ℝ+crp 12912 mod cmo 13771 Σcsu 15567 |
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 2707 ax-rep 5241 ax-sep 5255 ax-nul 5262 ax-pow 5319 ax-pr 5383 ax-un 7669 ax-inf2 9574 ax-cnex 11104 ax-resscn 11105 ax-1cn 11106 ax-icn 11107 ax-addcl 11108 ax-addrcl 11109 ax-mulcl 11110 ax-mulrcl 11111 ax-mulcom 11112 ax-addass 11113 ax-mulass 11114 ax-distr 11115 ax-i2m1 11116 ax-1ne0 11117 ax-1rid 11118 ax-rnegex 11119 ax-rrecex 11120 ax-cnre 11121 ax-pre-lttri 11122 ax-pre-lttrn 11123 ax-pre-ltadd 11124 ax-pre-mulgt0 11125 ax-pre-sup 11126 |
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 2538 df-eu 2567 df-clab 2714 df-cleq 2728 df-clel 2814 df-nfc 2888 df-ne 2943 df-nel 3049 df-ral 3064 df-rex 3073 df-rmo 3352 df-reu 3353 df-rab 3407 df-v 3446 df-sbc 3739 df-csb 3855 df-dif 3912 df-un 3914 df-in 3916 df-ss 3926 df-pss 3928 df-nul 4282 df-if 4486 df-pw 4561 df-sn 4586 df-pr 4588 df-op 4592 df-uni 4865 df-int 4907 df-iun 4955 df-br 5105 df-opab 5167 df-mpt 5188 df-tr 5222 df-id 5530 df-eprel 5536 df-po 5544 df-so 5545 df-fr 5587 df-se 5588 df-we 5589 df-xp 5638 df-rel 5639 df-cnv 5640 df-co 5641 df-dm 5642 df-rn 5643 df-res 5644 df-ima 5645 df-pred 6252 df-ord 6319 df-on 6320 df-lim 6321 df-suc 6322 df-iota 6446 df-fun 6496 df-fn 6497 df-f 6498 df-f1 6499 df-fo 6500 df-f1o 6501 df-fv 6502 df-isom 6503 df-riota 7310 df-ov 7357 df-oprab 7358 df-mpo 7359 df-om 7800 df-1st 7918 df-2nd 7919 df-frecs 8209 df-wrecs 8240 df-recs 8314 df-rdg 8353 df-1o 8409 df-er 8645 df-en 8881 df-dom 8882 df-sdom 8883 df-fin 8884 df-sup 9375 df-inf 9376 df-oi 9443 df-card 9872 df-pnf 11188 df-mnf 11189 df-xr 11190 df-ltxr 11191 df-le 11192 df-sub 11384 df-neg 11385 df-div 11810 df-nn 12151 df-2 12213 df-3 12214 df-n0 12411 df-z 12497 df-uz 12761 df-rp 12913 df-fz 13422 df-fzo 13565 df-fl 13694 df-mod 13772 df-seq 13904 df-exp 13965 df-hash 14228 df-cj 14981 df-re 14982 df-im 14983 df-sqrt 15117 df-abs 15118 df-clim 15367 df-sum 15568 |
This theorem is referenced by: (None) |
Copyright terms: Public domain | W3C validator |