Opened 2 years ago

Last modified 2 years ago

#22393 new enhancement

sage_input for SR

Reported by: mkoeppe Owned by:
Priority: major Milestone: sage-7.6
Component: symbolics Keywords:
Cc: vbraun, rws Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: u/mkoeppe/sage_input_for_sr (Commits) Commit: d8eee327e9868abb51a45e1dffbf024d6ad473cf
Dependencies: Stopgaps:

Description

sage: var('x')
x
sage: sage_input(x)
ValueError: Can't convert x to sage_input form

Change History (2)

comment:1 Changed 2 years ago by mkoeppe

  • Branch set to u/mkoeppe/sage_input_for_sr

comment:2 Changed 2 years ago by tmonteil

  • Commit set to d8eee327e9868abb51a45e1dffbf024d6ad473cf

I fear this is not enough for wilder symbolic expressions:

sage: a = SR(Zmod(4)(5))
sage: a
1
sage: a.parent()
Symbolic Ring
sage: a*6
2
sage: SR(repr(a)) * 6
6
Note: See TracTickets for help on using tickets.