Description: A finite sum of summands modulo a positive number with an additional summand is an integer. (Contributed by Alexander van der Vekens, 1-Sep-2018)
Ref | Expression | ||
---|---|---|---|
Assertion | fsummmodsnunz | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | nfcv | |
|
2 | nfcsb1v | |
|
3 | csbeq1a | |
|
4 | 1 2 3 | cbvsumi | |
5 | snfi | |
|
6 | unfi | |
|
7 | 5 6 | mpan2 | |
8 | 7 | 3ad2ant1 | |
9 | rspcsbela | |
|
10 | 9 | expcom | |
11 | 10 | 3ad2ant3 | |
12 | 11 | imp | |
13 | vex | |
|
14 | csbov1g | |
|
15 | 13 14 | ax-mp | |
16 | simpr | |
|
17 | simpl | |
|
18 | 16 17 | zmodcld | |
19 | 18 | nn0zd | |
20 | 15 19 | eqeltrid | |
21 | 20 | ex | |
22 | 21 | 3ad2ant2 | |
23 | 22 | adantr | |
24 | 12 23 | mpd | |
25 | 8 24 | fsumzcl | |
26 | 4 25 | eqeltrid | |