Skip to content

Implement Expression.is_nonzero(); apply to ex.__nonzero__() #24352

@rwst

Description

@rwst

Despite the difficulty of proving that a symbolic expression is zero it is obvious that a positive resp. negative expression is nonzero. Also no power with nonpositive exponent can be zero. This ticket exposes the nonzero logic that is already in Pynac to the user, and applies it as a shortcut in ex.__nonzero__().

Dependencies: pynac-0.7.15

CC: @pelegm

Component: symbolics

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions