Skip to content

bad gens for Free algebras over inexact rings #38383

Open
@fchapoton

Description

Steps To Reproduce

No response

Expected Behavior

Avoid the numerical constant in front of the gens when possible

Actual Behavior

Here is the issue:

sage: A=FreeAlgebra(CC,['a','b'])
sage: A
Free Algebra on 2 generators (1.00000000000000*a, 1.00000000000000*b) over Complex Field with 53 bits of precision
sage: A.gens()
(1.00000000000000*a, 1.00000000000000*b)
sage: A.gen(0)
1.00000000000000*a

This make the following fail:
GradedCommutativeAlgebra(CC,degrees=(Integer(1),Integer(1)), names=('a', 'b',))

Additional Information

Taken from https://stackoverflow.com/questions/77367021/

Environment

- **OS**:
- **Sage Version**:

Checklist

  • I have searched the existing issues for a bug report that matches the one I want to file, without success.
  • I have read the documentation and troubleshoot guide

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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