Closed
Description
Some rings have a polymorphic comparison with zero, e.g., comparison in SR
can mean 1. "try to prove with certainty" or 2. "check if numeric zero". Other rings may have different features. This ticket implements a global is_trivial_zero
that explicity requests the object's is_trivial_zero
member if it exists, otherwise checks obj==0
.
CC: @nbruin @videlec @mezzarobba
Component: symbolics
Author: Ralf Stephan
Branch/Commit: u/rws/add_a_global_is_trivial_zero_function @ 7241f8e
Issue created by migration from https://trac.sagemath.org/ticket/21201