-
-
Notifications
You must be signed in to change notification settings - Fork 641
Open
Description
As a followup to #21232 these automatic simplifications should be added:
sage: frac(frac(x))
frac(x)
sage: frac(floor(x)) # ceil
0
sage: assume(x, 'integer')
sage: frac(x)
0
sage: assume(x > 0)
sage: frac(tanh(x))
tanh(x)
CC: @mkoeppe
Component: symbolics
Author: Ralf Stephan
Branch/Commit: u/rws/frac_x__immediate_simplifications @ bf36286
Issue created by migration from https://trac.sagemath.org/ticket/21274