Skip to content

Reals sets consisting of intervals and isolated points #13125

@sagetrac-ares

Description

@sagetrac-ares

Finite unions of open/closed/semi-closed subsets of the real line, for example

    sage: RealSet(0,2) + RealSet.unbounded_above_closed(10)
    (0, 2) + [10, +Infinity)

This ticket also encountered a number of bugs in the comparison of infinity with various field elements like

sage: RLF(0) < oo
False

These are now also fixed and extensive doctests were added.

CC: @kcrisman @tscrim @robertwb

Component: calculus

Author: Volker Braun , Jordi Saludes , Ares Ribó

Branch/Commit: c818746

Reviewer: Ralf Stephan, Peter Bruin

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions