Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normalization of polyratfun #172

Closed
jodavies opened this issue Mar 15, 2017 · 2 comments
Closed

Normalization of polyratfun #172

jodavies opened this issue Mar 15, 2017 · 2 comments
Labels
question Question about FORM

Comments

@jodavies
Copy link
Collaborator

What determines the normalization and ordering of terms within a polyratfun?

I have two versions of an expression (loaded from save files) which are supposed to produce the same final result. I am comparing by diff-ing the printed expressions in the log file.

In a few terms, the polyratfun coefficients differ by, say, prf(a,b) vs prf(-a,-b). In other cases, the ordering of terms in multi-term arguments is different.

These effects can be influenced by removing other, distinct terms (which do always print identically in both cases). If I reduce my expression to the case with only the "bad" terms, they print identically.

It is not easy to provide a minimal example showing the problem, since it is part of a larger setup.

At the time of printing, the output of "On names;" is identical in both cases.

Do you have any ideas or suggestions to achieve a fixed normalization in all cases?

Thanks,
Josh.

@vermaseren
Copy link
Owner

vermaseren commented Mar 15, 2017 via email

@jodavies
Copy link
Collaborator Author

OK, thanks, I see what is happening now.

By putting something like

Identify prf(n?,m?) = prf(n*s,m*s);

in the module following that in which I introduce the polyratfun, everything is printed in a consistent way.

Thanks!

@tueda tueda added the question Question about FORM label Nov 1, 2017
@tueda tueda closed this as completed Nov 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question about FORM
Projects
None yet
Development

No branches or pull requests

3 participants