This is an inofficial mirror of http://metamath.tirix.org for personal testing of a visualizer extension only.
Description: The sum of 1 over a set is the size of the set. (Contributed by Mario Carneiro, 8-Mar-2014) (Revised by Mario Carneiro, 20-May-2014)
| Ref | Expression | ||
|---|---|---|---|
| Assertion | sumhash |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | ssfi | ||
| 2 | ax-1cn | ||
| 3 | fsumconst | ||
| 4 | 1 2 3 | sylancl | |
| 5 | simpr | ||
| 6 | 2 | rgenw | |
| 7 | 6 | a1i | |
| 8 | animorlr | ||
| 9 | sumss2 | ||
| 10 | 5 7 8 9 | syl21anc | |
| 11 | hashcl | ||
| 12 | 1 11 | syl | |
| 13 | 12 | nn0cnd | |
| 14 | 13 | mulridd | |
| 15 | 4 10 14 | 3eqtr3d |