Skip to content

Chapter 1, section 1.6 : given \sum_ doesn't work #128

@SnarkBoojum

Description

@SnarkBoojum

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions