Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strict transform of an ideal in Cox ring #4154

Merged
merged 43 commits into from
Jan 9, 2025

Conversation

paemurru
Copy link
Contributor

@paemurru paemurru commented Sep 26, 2024

Done.

TODO: tests, docstrings, documentation
Copy link

codecov bot commented Sep 26, 2024

Codecov Report

Attention: Patch coverage is 98.90110% with 1 line in your changes missing coverage. Please review.

Project coverage is 84.35%. Comparing base (e7bcfba) to head (9255231).
Report is 22 commits behind head on master.

Files with missing lines Patch % Lines
src/PolyhedralGeometry/PolyhedralFan/properties.jl 97.87% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4154      +/-   ##
==========================================
- Coverage   84.40%   84.35%   -0.05%     
==========================================
  Files         656      663       +7     
  Lines       87247    87879     +632     
==========================================
+ Hits        73641    74133     +492     
- Misses      13606    13746     +140     
Files with missing lines Coverage Δ
experimental/Schemes/src/ToricBlowups/methods.jl 95.83% <100.00%> (+45.83%) ⬆️
...alGeometry/PolyhedralFan/standard_constructions.jl 100.00% <ø> (ø)
src/PolyhedralGeometry/PolyhedralFan/properties.jl 98.18% <97.87%> (-0.24%) ⬇️

... and 42 files with indirect coverage changes

Copy link
Collaborator

@afkafkafk13 afkafkafk13 left a comment

Choose a reason for hiding this comment

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

I leave you a few comments on the code.

sideremark: I am not convinced (theorywise) that you can just set one entry to -1 in the grading change, but I am not a Cox-ring specialist. So I leave the reviewing of the content to someone else.

experimental/Schemes/src/ToricBlowups/methods.jl Outdated Show resolved Hide resolved
experimental/Schemes/src/ToricBlowups/methods.jl Outdated Show resolved Hide resolved
experimental/Schemes/src/ToricBlowups/methods.jl Outdated Show resolved Hide resolved
@afkafkafk13
Copy link
Collaborator

@paemurru : Just a question, because this has been sitting here for 2 weeks now. What is the status here? Are you making progress on this? Are you waiting for comments from someone else? If so, please ping this person.

@paemurru
Copy link
Contributor Author

paemurru commented Oct 12, 2024

@afkafkafk13 I am working on this, this will probably stay as a draft pull request for quite some time. The current code only handles simple examples, the general case is a bit more complicated. The proof that it works uses a lot of notation, so is not suitable for a docstring or comment and must be typed in LaTeX. So it probably should be included in a research paper, unless an existing reference is found.

Essentially, we have an abelian group homomorphism, in general not a C-algebra homomorphism and in general not unique, between the Cox rings that takes homogeneous ideals to homogeneous ideals. And the image of a homogeneous ideal is its total transform.

@paemurru paemurru marked this pull request as ready for review November 28, 2024 17:19
Copy link
Collaborator

@HechtiDerLachs HechtiDerLachs left a comment

Choose a reason for hiding this comment

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

Thank you for your work here @paemurru. As I understand, these things have not yet been written up or implemented properly and it looks like you took care of working out the details. That said, I have to admit that I am probably not in the position to check all the mathematical details of this implementation, but I feel that this is also why we have people like you on board: You probably know best what's correct here and I would like to trust you with this.

From what I can see, the contributions to the code base seem to fit with the existing code. I left some comments to indicate potential for streamlining a bit more. Let me know what you think.

experimental/Schemes/src/ToricBlowups/methods.jl Outdated Show resolved Hide resolved
experimental/Schemes/src/ToricBlowups/methods.jl Outdated Show resolved Hide resolved
experimental/Schemes/src/ToricBlowups/methods.jl Outdated Show resolved Hide resolved
experimental/Schemes/src/ToricBlowups/methods.jl Outdated Show resolved Hide resolved
experimental/Schemes/src/ToricBlowups/methods.jl Outdated Show resolved Hide resolved
experimental/Schemes/src/ToricBlowups/methods.jl Outdated Show resolved Hide resolved
experimental/Schemes/src/ToricBlowups/methods.jl Outdated Show resolved Hide resolved
src/PolyhedralGeometry/PolyhedralFan/properties.jl Outdated Show resolved Hide resolved
src/PolyhedralGeometry/PolyhedralFan/properties.jl Outdated Show resolved Hide resolved
paemurru and others added 5 commits December 5, 2024 09:28
Co-authored-by: Matthias Zach <85350711+HechtiDerLachs@users.noreply.github.com>
Co-authored-by: Matthias Zach <85350711+HechtiDerLachs@users.noreply.github.com>
Co-authored-by: Matthias Zach <85350711+HechtiDerLachs@users.noreply.github.com>
Co-authored-by: Matthias Zach <85350711+HechtiDerLachs@users.noreply.github.com>
Copy link
Member

@lkastner lkastner left a comment

Choose a reason for hiding this comment

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

Please update the PR description. Are these TODOs done now?

src/PolyhedralGeometry/PolyhedralFan/properties.jl Outdated Show resolved Hide resolved
src/exports.jl Outdated Show resolved Hide resolved
src/PolyhedralGeometry/PolyhedralFan/properties.jl Outdated Show resolved Hide resolved
src/PolyhedralGeometry/PolyhedralFan/properties.jl Outdated Show resolved Hide resolved
experimental/Schemes/src/ToricBlowups/methods.jl Outdated Show resolved Hide resolved
experimental/Schemes/src/ToricBlowups/methods.jl Outdated Show resolved Hide resolved
experimental/Schemes/src/ToricBlowups/methods.jl Outdated Show resolved Hide resolved
experimental/Schemes/src/ToricBlowups/methods.jl Outdated Show resolved Hide resolved
paemurru and others added 13 commits December 10, 2024 17:21
Co-authored-by: Lars Göttgens <lars.goettgens@gmail.com>
Co-authored-by: Lars Kastner <lkastner@users.noreply.github.com>
Also: add more tests, move `@req` from `cox_ring_module_homomorphism` to `strict_transform`, `total_transform` and `strict_transform_with_index`.

Changed `minimal_supercone` to `minimal_supercone_indices`, which is what is needed for `minimal_supercone_coordinates`, which is what I actually need for strict transforms.

Everything should be fixed now and should work properly.
Also fix `minimal_supercone_coordinates` and add alias
`minimal_generator`.
Add test for nonsimplicial, add comment to
`minimal_supercone_coordinates` for the nonsimplicial case.
Also fix `minimal_supercone_coordinates_of_new_ray`
paemurru and others added 2 commits January 7, 2025 12:01
Co-authored-by: Lars Kastner <lkastner@users.noreply.github.com>
Copy link
Member

@HereAround HereAround left a comment

Choose a reason for hiding this comment

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

Thank you for your hard work on this PR @paemurru and @lkastner . Looks great!

@HereAround HereAround merged commit 4298f44 into oscar-system:master Jan 9, 2025
28 of 30 checks passed
@paemurru paemurru deleted the ep/cox_ring_strict_transform branch January 9, 2025 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants