Skip to content

Conversation

emikelsons
Copy link
Contributor

@emikelsons emikelsons commented Jun 27, 2025

Add a documentation page for the ideal interface.

This is addressing #1733 and comments in #2108. I plan to extend this slightly later
@fingolfin

@emikelsons emikelsons reopened this Jun 27, 2025
Copy link

codecov bot commented Jun 27, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.95%. Comparing base (8ea17bc) to head (c54b8d3).
⚠️ Report is 64 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2113      +/-   ##
==========================================
- Coverage   88.35%   87.95%   -0.40%     
==========================================
  Files         126      127       +1     
  Lines       31674    31791     +117     
==========================================
- Hits        27984    27961      -23     
- Misses       3690     3830     +140     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@thofma
Copy link
Member

thofma commented Jun 27, 2025

I am not too happy with the change. The function should not call Generic.Ideal, but whatever ideal wants to spit out.

In general, we are not really advertising Generic.Ideal. It was kind of an experiment, but whether to keep it or not is not clear. See #2108 (comment).

@emikelsons
Copy link
Contributor Author

I am not too happy with the change. The function should not call Generic.Ideal, but whatever ideal wants to spit out.

In general, we are not really advertising Generic.Ideal. It was kind of an experiment, but whether to keep it or not is not clear. See #2108 (comment).

Ok, if the previous code was as desired, then I'll remove the edit. I was a bit confused as it didn't work in AA, but I suppose it makes sense for its use beyond.

Copy link
Member

@fingolfin fingolfin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! A few quick remarks / change requests

Comment on lines +104 to +122
```
```julia
issubset(I::NewIdeal, J::NewIdeal)
```
```julia
iszero(I::NewIdeal)
```
```julia
+(I::T, J::T) where {T <: NewIdeal}
```
```julia
*(I::T, J::T) where {T <: NewIdeal}
```
```julia
intersect(I::T, J::T) where {T <: NewIdeal}
```
```julia
==(I::T, J::T) where {T <: NewIdeal}
```
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Of course all of these will get default implementations with my PR #2108 -- but we can update this later, once that PR is merged.

Co-authored-by: Max Horn <max@quendi.de>
@emikelsons emikelsons marked this pull request as draft July 31, 2025 08:37
@fingolfin fingolfin marked this pull request as ready for review October 17, 2025 12:08
Comment on lines 31 to 37
The generic ideals have type `Generic.Ideal{T}` where `T` is the type of
elements of the ring the ideals belong to. Internally they consist of a Julia
array of generators and some additional fields for a parent object, etc. See
the file `src/generic/GenericTypes.jl` for details.

Parent objects of ideals have type `Generic.IdealSet{T}`.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be revised

@fingolfin fingolfin self-requested a review October 17, 2025 12:09
Copy link
Member

@fingolfin fingolfin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to remove/replace some refs to Generic

@emikelsons emikelsons requested a review from fingolfin October 21, 2025 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants