Open jsimonrichard opened 2 weeks ago
In a new sage environment (REPL, notebook, etc.) run the following commands.
s, t, l = var("s, t, l") assume(s > 0) assume(t > s) assume(l > 1) print(bool(l*(t-s) > 0)) print(bool(l*t - l*s == 0))
Output:
True False
True True
Which is, of course, a direct contradiction.
If we use assume(l > 0) instead of assume(l > 1), we get the expected result.
assume(l > 0)
assume(l > 1)
- **OS**: Kubuntu 22.04.3 LTS x86_64 - **Sage Version**: 9.5
Steps To Reproduce
In a new sage environment (REPL, notebook, etc.) run the following commands.
Expected Behavior
Output:
Actual Behavior
Output:
Which is, of course, a direct contradiction.
Additional Information
If we use
assume(l > 0)
instead ofassume(l > 1)
, we get the expected result.Environment
Checklist