Hi Travis, On 2018-06-03, Travis Scrimshaw <tsc...@ucdavis.edu> wrote: > I am also generally in favor of having == being a (generally) fast check. > However, the symbolics code takes the opposite approach: it has the method > is_trivial_equal() for quick checks but == fires up the proof engine.
No, that's not correct. For symbolics, "==" only does trivial checks and leaves the equality unevaluated otherwise, so that you need an explicit evaluation as a bool in order to force a non-trivial computation. Such as: sage: (x+1)^2 == x^2+2*x+1 (x + 1)^2 == x^2 + 2*x + 1 sage: bool(_) True Best regards, Simon -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.