Ask Your Question
1

Sage symbolic math simplification error

asked 2020-09-06 20:22:43 -0500

updated 2020-09-07 02:26:22 -0500

tmonteil gravatar image

In sagemath version 9.1, the code

product(1-q^x, x, 1, N)

returned

-(-1)^N*product(q^x - 1, x, 1, N)

while the correct result ought to be

(-1)^N*product(q^x - 1, x, 1, N)

What went wrong? Where did this sign change come from?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2020-09-07 02:26:12 -0500

tmonteil gravatar image

This is definitely a bug, thanks for reporting, it is now trac ticket 30520

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2020-09-06 20:21:09 -0500

Seen: 70 times

Last updated: Sep 07