vermaseren / form

The FORM project for symbolic manipulation of very big expressions
GNU General Public License v3.0
982 stars 118 forks source link

Another wrong outcome of autodeclared index dimension #325

Closed mgerlach-phys closed 2 years ago

mgerlach-phys commented 4 years ago

This may be related to #324.

Declaring a dimension of autodeclared indices with "autodeclare" leads to strange results. As seen with the following program:

*autodeclare symbol a;
*autodeclare symbol a, b;
*autodeclare symbol a, b, c;

autodeclare symbol N;
autodeclare index randomIndex=N1;

local A = d_(randomIndex1,randomIndex2)*d_(randomIndex1,randomIndex2);

print +s;
.end

This program gives pi_. Uncommenting one of the first three lines results in other random internal used parameter, such as coeff_, num_ or den_.