Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meta-ticket: Connect Sage sets to sympy sets #31926

Open
mkoeppe opened this issue Jun 7, 2021 · 18 comments
Open

Meta-ticket: Connect Sage sets to sympy sets #31926

mkoeppe opened this issue Jun 7, 2021 · 18 comments

Comments

@mkoeppe
Copy link
Member

mkoeppe commented Jun 7, 2021

API reference:

sympy uses properties for many things, so we probably cannot achieve direct API compatibility, put perhaps we can use the same vocabulary when it makes sense.

Existing conversions:

  • from various sympy set types to Sage SR relation expressions: sage.interfaces.sympy.sympy_set_to_list
  • RealSet._sympy_condition_ - used internally in sage.functions.piecewise

In #31938 we provide an adapter (wrapper) class
that provides the sympy API. The _sympy_ method of a Sage set can return this wrapper.

Sets would provide a foundation for an improved symbolic assumptions facility, and for representing solution sets to symbolic equations etc.

Tickets:

See also:

CC: @kliem @tscrim @EmmanuelCharpentier @isuruf

Component: geometry

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

@mkoeppe mkoeppe added this to the sage-9.4 milestone Jun 7, 2021
@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe mkoeppe changed the title Connect Sage to sympy sets Connect Sage sets to sympy sets Jun 7, 2021
@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe mkoeppe changed the title Connect Sage sets to sympy sets Meta-ticket: Connect Sage sets to sympy sets Jun 8, 2021
@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe mkoeppe modified the milestones: sage-9.4, sage-9.5 Aug 10, 2021
@mkoeppe mkoeppe modified the milestones: sage-9.5, sage-9.6 Dec 14, 2021
@mkoeppe mkoeppe modified the milestones: sage-9.6, sage-9.7 Apr 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant