Skip to content

frac(x) immediate simplifications #21274

@rwst

Description

@rwst

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

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