Skip to content

make assume behave more consistently and catch inconsistent assumptions #1163

@zimmermann6

Description

@zimmermann6
sage: assume(x > 0)
sage: sqrt(x^2)
x
sage: assume(x < 0)
sage: sqrt(x^2)
x

Maybe it is not allowed to make two assumptions on the same variable, without any forget inbetween, anyway the documentation should be clear about this, or a warning should be issued.
Also, is there a way to know which assumptions were made on a given variable (like about in
Maple)?

CC: @burcin @robertwb @jasongrout @robert-marik

Component: calculus

Author: Karl-Dieter Crisman

Reviewer: Jason Grout, Robert Marik

Merged: sage-4.3.alpha0

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions