Ask Your Question
1

Sage symbolic math simplification error

asked 2020-09-07 03:22:43 +0200

updated 2020-09-07 09:26:22 +0200

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 09:26:12 +0200

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-07 03:21:09 +0200

Seen: 99 times

Last updated: Sep 07 '20