Skip to content

floor of real x should be known to be at most x #22022

Open
@pelegm

Description

@pelegm

Check this:

sage: assume(x, 'real')
sage: bool(floor(x) <= x)
False

This is how it works in Sympy:

In [2]: x = Symbol('x', real=True)

In [3]: floor(x) <= x
Out[3]: True

In [4]: floor(x) >= x
Out[4]: floor(x) >= x

In [5]: floor(x) > x
Out[5]: False

Component: symbolics

Keywords: floor, ceil

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

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