Reading chapter 1 section 1.6 of the mathcomp book, there is a definition of \sum_, but trying to experiment with it gets ugly:
- I tried to first Compute \sum_(0 <= i < 5) (i*i). before entering this definition (I saw \sum_ existed already), and it didn't give me a straight answer (I would say something makes it lazily evaluated ; it's my second reading so I think there was something about big operators later on -- a new reader will probably be more annoyed) ;
- I then proceeded to enter the definition of \sum_ in the text : refusal because it already exists (d'oh!), then after renaming refusal because it lacks a level : "(at level 0)" makes it pass ;
- I was still unable to make it compute a simple sum, because of a syntax error : '<=' expected after [constr:operconstr level 200] (in [constr:operconstr]) - and there I didn't find how to get away with it.
Reading chapter 1 section 1.6 of the mathcomp book, there is a definition of \sum_, but trying to experiment with it gets ugly: