Skip to content

Ideals of $\mathbb Z[x]$ #37409

@Thrashophil

Description

@Thrashophil

Steps To Reproduce

R.<x> = ZZ[]
I = R.ideal(1-2*x,2)
I.is_trivial()

Expected Behavior

The output should be True instead of False because we have $1=(1−2x)+2x∈I$.

Actual Behavior

The output is False.

Additional Information

No response

Environment

- **OS**: EndeavourOS (Linux 6.6.16-1-lts x86_64)
- **Sage Version**: 10.2

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

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