equality of ideals over different rings
- Dominant language
- Macaulay2
- Stars
- 435
- Forks
- 297
- Avg merge
- 4d 20h
- Merged PRs (30d)
- 11
Description
These two are surprisingly annoying:
```m2
i1 : ideal 0 == 0 * ideal vars(QQ[x])
stdio:1:10:(3): error: expected ideals for the same ring
i2 : ideal 1 == ideal 1_(QQ[x])
stdio:2:9:(3): error: expected ideals for the same ring
```
Can we have comparison of ideals over different rings to give false, unless one is ZZ, then use `Ideal == ZZ`?
Contributor guide
No contributing guide indexed for this repository
Research direction
No files or tests are named. Start by locating the equality implementation and existing tests for ideals, then reproduce the two examples in the issue. Done means comparisons between ideals from different rings return false, while the specified comparison with ZZ follows the requested behavior, with regression coverage for both cases.
Written by the indexing model from the issue text.
Assessment
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100