Skip to content

spurious results as inequality solution #18902

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

Open
rwst opened this issue Jul 15, 2015 · 1 comment
Open

spurious results as inequality solution #18902

rwst opened this issue Jul 15, 2015 · 1 comment

Comments

@rwst
Copy link
Contributor

rwst commented Jul 15, 2015

From, http://ask.sagemath.org/question/26941/solving-system-of-inequalities-in-one-variable/:

x = var('x')
a = var('a')
solve([a*x>0,a>0],[x])
[[0 < x, a > 0], [x < 0, -a > 0, a > 0]]

The second solution contradicts one given precondition.

Also, from http://ask.sagemath.org/question/26410/test-if-an-inequality-is-feasible-under-assumptions/

sage: (l1,l2) = var("l1 l2")
sage: assume (l1>=0)
sage: assume (l2>=0)
sage: solve (l1*l2<0, [l1,l2])
[[0 < l2, l1 < 0], [l2 < 0, 0 < l1]]

Component: symbolics

Issue created by migration from https://trac.sagemath.org/ticket/18902

@rwst rwst added this to the sage-6.8 milestone Jul 15, 2015
@rwst

This comment has been minimized.

@mkoeppe mkoeppe removed this from the sage-6.8 milestone Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants