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

[ToricVarieties] Support computation of basis of H^(2,2) and H^4 #4243

Merged
merged 3 commits into from
Nov 1, 2024

Conversation

HereAround
Copy link
Member

@HereAround HereAround commented Oct 24, 2024

cc @lkastner

Motivated from F-theory applications.

(You might find this entertaining @apturner @emikelsons .)

@apturner
Copy link
Collaborator

At a glance, it looks like this is only computing the vertical part of the middle cohomology, is that right? Of course the others will be trickier, but I’m wondering based on the name of you are planning to compute the horizontal part as well.

Copy link

codecov bot commented Oct 24, 2024

Codecov Report

Attention: Patch coverage is 91.46341% with 7 lines in your changes missing coverage. Please review.

Project coverage is 84.61%. Comparing base (852b6d1) to head (7f67902).
Report is 10 commits behind head on master.

Files with missing lines Patch % Lines
...al/FTheoryTools/src/G4Fluxes/special_attributes.jl 92.85% 5 Missing ⚠️
...cVarieties/CohomologyClasses/special_attributes.jl 83.33% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4243   +/-   ##
=======================================
  Coverage   84.60%   84.61%           
=======================================
  Files         640      641    +1     
  Lines       85128    85199   +71     
=======================================
+ Hits        72021    72087   +66     
- Misses      13107    13112    +5     
Files with missing lines Coverage Δ
...cVarieties/CohomologyClasses/special_attributes.jl 97.64% <83.33%> (-2.36%) ⬇️
...al/FTheoryTools/src/G4Fluxes/special_attributes.jl 92.85% <92.85%> (ø)

... and 4 files with indirect coverage changes

@HereAround
Copy link
Member Author

At a glance, it looks like this is only computing the vertical part of the middle cohomology, is that right? Of course the others will be trickier, but I’m wondering based on the name of you are planning to compute the horizontal part as well.

I only want to get the vertical part.

@HereAround HereAround marked this pull request as draft October 24, 2024 22:30
@HereAround HereAround added the WIP NOT ready for merging label Oct 29, 2024
@HereAround HereAround force-pushed the ComputationOfH22 branch 2 times, most recently from 3b5f87a to b8f70b5 Compare November 1, 2024 00:25
@HereAround HereAround added topic: FTheoryTools and removed WIP NOT ready for merging labels Nov 1, 2024
@HereAround HereAround marked this pull request as ready for review November 1, 2024 00:36
Copy link
Collaborator

@apturner apturner left a comment

Choose a reason for hiding this comment

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

Glad to see this is working now. Thanks @HereAround, looks good!

@HereAround HereAround force-pushed the ComputationOfH22 branch 2 times, most recently from 09bcc14 to ffbc3e6 Compare November 1, 2024 00:45
@HereAround
Copy link
Member Author

@lkastner and @apturner I will merge this PR now, as I need this so that I can proceed with the draft of a paper on the FTheoryTools. If you have feedback, please let me know, and I will be happy to update/improve the methods.

Please note that I placed the method basis_of_h22 in experimental (FTheoryTools), as it is relevant for and inspired by the related physics discussions. Still, from a math/algorithm perspective, it achieves the exact same (for simplicial, complete toric varieties) as basis_of_h4. As such, it would also seem reasonable to have both methods be called basis_of_h4, both be placed in the toric part of OSCAR, and call them with an optional "algorithm = ..." argument. The default algorithm could be the current method basis_of_h4, which relies on monomial_basis. Let me know your thoughts.

In case you wonder @lkastner , the algorithm with monomial_basis is painfully slow for big toric varieties, as it triggers a Groebner basis computation. One F-theory application that we are currently working on involves a simplicial, complete toric variety, whose cohomology ring is the quotient of a multivariate polynomial ring with 310 indeterminates and the ideal divided out is generated by about 47k generators. In this case, a GB computation is hopeless, which triggered the other algorithm basis_of_h22. For this involved variety, basis_of_h22 completes in about 10 seconds on my computer.

(@wdecker Based on our conversation, you might find this entertaining. In particular, you were right - this problem could be cast into a linear equation system.)

@HereAround HereAround changed the title [ToricVarieties] Support computation of basis of H^(2,2) [ToricVarieties] Support computation of basis of H^(2,2) and H^4 Nov 1, 2024
@HereAround HereAround merged commit 4f19d60 into oscar-system:master Nov 1, 2024
29 checks passed
@HereAround HereAround deleted the ComputationOfH22 branch November 1, 2024 14:50
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.

2 participants