-
-
Couldn't load subscription status.
- Fork 680
Open
Description
We should provide a detailed interface for symbolic relations:
bool(rel)equivalent to(not)(LHS-RHS).is_trivial_zero()for ==,!= ; and for <, >, <=, >= the result follows alpha order of lhs and rhssatisfiable(rel)returning(Yes,example)/No/Undecidable/NotImplementedsolve(rel)in case ofsatisfiable=Yesreturning the full solution setis(rel)attempting simplification/proof, returningTrue/False, throwingNotImplementedErrorex.is_zero(simplify=False)(default) calling the fastbool(ex==0)(Fix usage of symbolic comparison in several places #24992)ex.is_zero(simplify=True)attempting simplification/proof (Fix usage of symbolic comparison in several places #24992)prove(rel)showing more or less steps of simplification (which is out of reach for the moment)
Tickets:
- rewrite Expression.__nonzero__() #19040: to take satisfiability/truth functionality out of
ex.__nonzero__into resp. member functions - Meta-ticket: SAT and SMT #19000: SMT-solver is needed for dedicated
satisfiable()
See also https://trac.sagemath.org/wiki/symbolics/nonzero
Component: symbolics
Issue created by migration from https://trac.sagemath.org/ticket/19162