Skip to content

Add documentation for action polynomial rings#5329

Merged
lgoettgens merged 21 commits intooscar-system:masterfrom
SirToby25:tb/ActionPolyRingDocs
Sep 23, 2025
Merged

Add documentation for action polynomial rings#5329
lgoettgens merged 21 commits intooscar-system:masterfrom
SirToby25:tb/ActionPolyRingDocs

Conversation

@SirToby25
Copy link
Copy Markdown
Collaborator

This PR contains the markdown files for the OSCAR documentation of the experimental action polynomial rings that were added in #5212 . It also contains some minor bug fixes and streamlined code documentation.

@lgoettgens lgoettgens added experimental Only changes experimental parts of the code release notes: use title For PRs: the title of this PR is suitable for direct use in the release notes labels Sep 16, 2025
@lgoettgens lgoettgens requested a review from Copilot September 16, 2025 14:33
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds comprehensive documentation for the experimental action polynomial rings functionality that was introduced in #5212. It includes markdown documentation files covering construction, usage patterns, and theoretical background. Additionally, it includes several bug fixes and code improvements to streamline the API.

  • Added documentation files for action polynomial rings, difference/differential polynomial rings, and rankings
  • Renamed ndiffs to n_action_maps throughout the codebase for better clarity
  • Fixed inconsistent variable naming and improved code documentation
  • Enhanced test coverage with additional permutation tests

Reviewed Changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
experimental/ActionPolyRing/test/ActionPolyRing.jl Updated tests to use renamed n_action_maps function and added permutation tests
experimental/ActionPolyRing/src/exports.jl Updated export to use n_action_maps instead of ndiffs
experimental/ActionPolyRing/src/Types.jl Renamed field and parameters from ndiffs to n_action_maps, improved variable naming
experimental/ActionPolyRing/src/IO.jl Updated display methods to use renamed function and fixed variable references
experimental/ActionPolyRing/src/Content.jl Comprehensive updates to use n_action_maps, improved documentation, and enhanced function signatures
experimental/ActionPolyRing/docs/src/*.md New documentation files covering action polynomial rings functionality

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread experimental/ActionPolyRing/src/Content.jl Outdated
Comment thread experimental/ActionPolyRing/docs/src/rankings.md Outdated
Comment thread experimental/ActionPolyRing/src/Content.jl Outdated
@lgoettgens
Copy link
Copy Markdown
Member

I mis-clicked and asked copilot for a review. I don't know how good the quality of this review is, but maybe it finds some typos. @SirToby25 feel free to ignore any of its comments (aka mark them as resolved)

@SirToby25
Copy link
Copy Markdown
Collaborator Author

Actually, the review catched some obvious mistakes. I am grateful for Copilot.

Comment thread experimental/ActionPolyRing/docs/src/action_polynomial_rings.md Outdated
@SirToby25
Copy link
Copy Markdown
Collaborator Author

@lgoettgens do you have any further suggestions?

Copy link
Copy Markdown
Member

@lgoettgens lgoettgens left a comment

Choose a reason for hiding this comment

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

some more comments, mostly about grammar. I didn't look at the mathematics, but I trust you to build the docs and verify all the mathjax yourself

Comment thread experimental/ActionPolyRing/docs/src/introduction.md
Comment thread experimental/ActionPolyRing/docs/src/difference_polynomial_rings.md
Comment thread experimental/ActionPolyRing/docs/src/action_polynomial_rings.md Outdated
Comment thread experimental/ActionPolyRing/docs/src/action_polynomial_rings.md Outdated
Comment thread experimental/ActionPolyRing/docs/src/rankings.md Outdated
Comment thread experimental/ActionPolyRing/src/Content.jl Outdated
Comment thread experimental/ActionPolyRing/src/Content.jl Outdated
Comment thread experimental/ActionPolyRing/src/Content.jl Outdated
SirToby25 and others added 8 commits September 23, 2025 11:05
Co-authored-by: Lars Göttgens <lars.goettgens@gmail.com>
Co-authored-by: Lars Göttgens <lars.goettgens@gmail.com>
Co-authored-by: Lars Göttgens <lars.goettgens@gmail.com>
Co-authored-by: Lars Göttgens <lars.goettgens@gmail.com>
Co-authored-by: Lars Göttgens <lars.goettgens@gmail.com>
Co-authored-by: Lars Göttgens <lars.goettgens@gmail.com>
Co-authored-by: Lars Göttgens <lars.goettgens@gmail.com>
Comment thread experimental/ActionPolyRing/docs/src/difference_polynomial_rings.md Outdated
…gs.md

Co-authored-by: Lars Göttgens <lars.goettgens@gmail.com>
@doc raw"""
is_univariate(p::ActionPolyRing)

Return `false`, since an action polynomial ring cannot be univariate.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Not that I mind, but why even define this if it is constant?

Of course is_univariate is part of the MPolyRing API, but ActionPolyRing is not a subtype of that and so is not obliged to provide this.

To be clear, I am not at all opposed to adding this if it seems useful to you, I just wanted to point out that you are not at all obliged to have this.

@lgoettgens
Copy link
Copy Markdown
Member

Just talked to @SirToby25 and we are proceeding with the merge (and thus ignoring #5329 (comment), at least for now)

@lgoettgens lgoettgens enabled auto-merge (squash) September 23, 2025 14:27
@lgoettgens lgoettgens merged commit 5a8aafe into oscar-system:master Sep 23, 2025
30 of 31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

experimental Only changes experimental parts of the code release notes: use title For PRs: the title of this PR is suitable for direct use in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants