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

[FTheoryTools] Compute all well-quantized and vertical G4-fluxes #4286

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

HereAround
Copy link
Member

@HereAround HereAround commented Nov 7, 2024

Sadly still WIP.

cc @apturner @emikelsons

@HereAround HereAround added topic: FTheoryTools WIP NOT ready for merging labels Nov 7, 2024
@HereAround HereAround force-pushed the QuantizationForG4Fluxes branch 2 times, most recently from 20d1445 to fd4ec6a Compare November 7, 2024 13:34
@HereAround HereAround changed the title For out all well-quantized G4-fluxes Compute all well-quantized G4-fluxes Nov 7, 2024
@HereAround HereAround changed the title Compute all well-quantized G4-fluxes [FTheoryTools] Compute all well-quantized G4-fluxes Nov 7, 2024
@HereAround HereAround force-pushed the QuantizationForG4Fluxes branch 9 times, most recently from 68baa1a to 936114f Compare November 14, 2024 14:08
@HereAround HereAround added the enhancement New feature or request label Nov 14, 2024
@HereAround
Copy link
Member Author

HereAround commented Nov 14, 2024

Ok - this master piece (hopefully?) is finally getting ready. "What is in this PR?" is hear you ask:

  • It implements the methods necessary to compute all well-quantized G4-fluxes. In particular, it adds specialized intersection theory, so we can handle the big model in a timely-fashion.
  • I have serialized most of the computed data, so that we can save those fluxes in the .mrdi file of the big model. As such, once this big-model file is loaded, the data will be available almost instantly. Downside is that said .mrdi file is now almost 1GB in size.

I am waiting for the tests to pass now/will make adjustments so that they do.

Beyond this, there are the following improvements that are possible:

  1. We could of course profile more to see if we get more performance. I have done some effort in this regard already, so this may not be the most pressing concern.
  2. I wish to add a new type FamilyOfG4Fluxes which we can use to wrap the return value of the new method well_quantized_g4_fluxes. Currently, it returns a tuple of two matrices and I added documentation to explain what this means. But then, this is not super cool for the end user. So it would be good to improve on this.

@apturner @emikelsons maybe we can discuss more shortly. If you find the time, take a (brief) look and let me know your thoughts.

@HereAround HereAround force-pushed the QuantizationForG4Fluxes branch 2 times, most recently from d36f44d to 2d85cf3 Compare November 14, 2024 16:02
@HereAround HereAround marked this pull request as ready for review November 14, 2024 16:03
@HereAround
Copy link
Member Author

This is ready for your reviews @apturner and @emikelsons .

@HereAround HereAround removed the WIP NOT ready for merging label Nov 17, 2024
@HereAround HereAround changed the title [FTheoryTools] Compute all well-quantized G4-fluxes [FTheoryTools] Compute all well-quantized and verticalG4-fluxes Nov 19, 2024
@HereAround HereAround changed the title [FTheoryTools] Compute all well-quantized and verticalG4-fluxes [FTheoryTools] Compute all well-quantized and vertical G4-fluxes Nov 19, 2024
@HereAround HereAround force-pushed the QuantizationForG4Fluxes branch 2 times, most recently from 271681c to d1a2bf6 Compare November 19, 2024 16:02
Copy link

codecov bot commented Nov 19, 2024

Codecov Report

Attention: Patch coverage is 50.40258% with 308 lines in your changes missing coverage. Please review.

Project coverage is 84.24%. Comparing base (25d1dd6) to head (866d5cb).
Report is 19 commits behind head on master.

Files with missing lines Patch % Lines
...yTools/src/G4Fluxes/special-intersection-theory.jl 0.00% 143 Missing ⚠️
...al/FTheoryTools/src/G4Fluxes/special_attributes.jl 69.84% 60 Missing ⚠️
...eoryTools/src/Serialization/hypersurface_models.jl 31.91% 32 Missing ⚠️
...ntal/FTheoryTools/src/Serialization/tate_models.jl 31.91% 32 Missing ⚠️
...heoryTools/src/Serialization/weierstrass_models.jl 31.91% 32 Missing ⚠️
...xperimental/FTheoryTools/src/G4Fluxes/auxiliary.jl 93.47% 9 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4286      +/-   ##
==========================================
- Coverage   84.54%   84.24%   -0.30%     
==========================================
  Files         641      646       +5     
  Lines       85561    86152     +591     
==========================================
+ Hits        72334    72581     +247     
- Misses      13227    13571     +344     
Files with missing lines Coverage Δ
...xperimental/FTheoryTools/src/G4Fluxes/auxiliary.jl 93.47% <93.47%> (ø)
...eoryTools/src/Serialization/hypersurface_models.jl 58.16% <31.91%> (-24.53%) ⬇️
...ntal/FTheoryTools/src/Serialization/tate_models.jl 66.32% <31.91%> (-31.76%) ⬇️
...heoryTools/src/Serialization/weierstrass_models.jl 57.14% <31.91%> (-23.63%) ⬇️
...al/FTheoryTools/src/G4Fluxes/special_attributes.jl 74.35% <69.84%> (-21.91%) ⬇️
...yTools/src/G4Fluxes/special-intersection-theory.jl 0.00% <0.00%> (ø)

... and 53 files with indirect coverage changes

---- 🚨 Try these New Features:

@HereAround HereAround marked this pull request as draft November 20, 2024 15:20
@HereAround HereAround force-pushed the QuantizationForG4Fluxes branch 9 times, most recently from 28d81e4 to 16d7dd6 Compare November 21, 2024 13:45
@HereAround
Copy link
Member Author

@emikelsons and I found a bug in this PR yesterday, which we fixed yesterday. I have squashed all of those changes into one (hopefully) working commit. To verify that indeed things are working as intended, the tests have been extended accordingly. Also, I have extended on the documentation.

@HereAround HereAround marked this pull request as ready for review November 21, 2024 13:47
@HereAround HereAround force-pushed the QuantizationForG4Fluxes branch 7 times, most recently from 8498baf to 3bcd844 Compare November 22, 2024 13:23
@HereAround
Copy link
Member Author

I am confident that the tests pass once #4341 is resolved. @apturner and @emikelsons , could you please review this PR and tell me if it is good to go as is?

Certainly, this PR/change is not perfect. Among others, we could look for better performance. Add an attribute like base_divisors, base_divisor_positions, zero_section_index etc. Or we could have a check to tell if c2 is even for a given FTheory models. Or we could also compute all G4-fluxes that do not break non-Abelian gauge groups. Or the names of these functions might change (I am very happy for suggestions).

Still - I have postponed these improvements to a point in the future.

@HereAround
Copy link
Member Author

Maybe we could add these points to our to-do list in #2699. And of course, we should gauge at some point, which of these tasks have been completed/need attention (and if so how urgent) etc...

Copy link
Collaborator

@emikelsons emikelsons left a comment

Choose a reason for hiding this comment

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

Looks good and this has been extensively tested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants