Added the Subring package - #3736
Conversation
d-torrance
left a comment
There was a problem hiding this comment.
Thanks for the contribution!
In addition to the other comments, there's also a typo:
M2/Macaulay2/packages/Subring/SubringDoc.m2:282: accessable ==> accessible
|
Also, "Subring" should be added to the =distributed-packages file. |
I could not find this file, can you give me more details on the path? |
|
It's at |
NWM I thought a file could not start with = but I guess that's ok! |
|
@fragandi is the plan to eventually make SubalgebraBases depend on this package? Because currently the |
|
I have talked to Ollie @ollieclarke8787 before this PR and the idea is indeed to have Subrings as part of the M2 packages and then have SubalgebrasBases call on it. Maybe Ollie you can look into this conflict? Or let me know if I messed up something in the PR. |
|
The current failure was because you forgot |
|
@fragandi - Just a friendly reminder about this PR |
|
@ollieclarke8787 and I will follow up on this around the time of the Warwick workshop (6/29/26). Converted to draft until then. |
|
@galettof and @trevorkarn might also be interested in this PR. We have a check-in meeting scheduled for June 22, let me know if you would like a link! |
|
Some updates on the above changes:
|
Co-authored-by: Doug Torrance <douglas.a.torrance@gmail.com>
| flattenedRing = method() | ||
| flattenedRing Subring := S -> S#"flattenedRing" |
There was a problem hiding this comment.
Why not just install a method flattenRing Subring?
There was a problem hiding this comment.
flattenedRing was defined in SubalgebraBases so I pulled it across to Subrings, it should be possible to swap over to using flattenRing but the underlying meaning seems a little different: the flattenedRing S of S:Subring is equivalent to flattenRing ambient S. For now I've added flattenRing in b4777fe
|
|
|
|
|
Spoke with Ollie @ollieclarke8787 today, his work addressed the comments above, let us know if there any other further suggested edits. |
Co-authored-by: Doug Torrance <douglas.a.torrance@gmail.com>
remove `a package for` phrase from headline
Hi everyone, here is a small package with methods for handling subrings based on the ones available in SAGBI and in InvariantRing