Skip to content

Don't call Maxima with no-variable symbolic relation tests #24658

@rwst

Description

@rwst

In the case a relation without variables is to be decided, the procedure is to use Pynac, then RIF and, if it cannot be decided, Maxima. This is fine with expressions containing variables as Maxima can do some proofs. Expressions without variables are handled poorly as the example shows:

sage: val = pi - 2286635172367940241408/1029347477390786609545*sqrt(2)
sage: bool(val>0)
True

(%i2) is (%pi-(1116521080257783321*2^(23/2))/1029347477390786609545>0);
(%o2)                                true

This ticket changes the procedure to no longer try the unreliable Maxima after RIF has failed in a relation without variables. It will just return False.

CC: @simon-king-jena

Component: symbolics

Author: Ralf Stephan

Branch/Commit: e78e84b

Reviewer: Simon King, Matthias Koeppe

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions