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

Lie algebras: Add root system detection #4084

Merged

Conversation

lgoettgens
Copy link
Member

@lgoettgens lgoettgens commented Sep 12, 2024

Add root_system(L::LieAlgebra) that either returns a cached root system or tries to compute the root system of L.
The remaining changes are either subroutines needed to implement the former, or some few places where using this new functionality made the code a lot cleaner.

For my convenience and to limit potential conflicts, this currently contains #4053. Once #4053 is merged, I'll rebase this PR.

@lgoettgens lgoettgens added topic: LieAlgebras experimental Only changes experimental parts of the code labels Sep 12, 2024
Copy link

codecov bot commented Sep 12, 2024

Codecov Report

Attention: Patch coverage is 84.48276% with 45 lines in your changes missing coverage. Please review.

Project coverage is 84.67%. Comparing base (0b52e65) to head (5c289ad).
Report is 16 commits behind head on master.

Files with missing lines Patch % Lines
experimental/LieAlgebras/src/LieAlgebraIdeal.jl 10.52% 17 Missing ⚠️
experimental/LieAlgebras/src/LieAlgebra.jl 94.02% 11 Missing ⚠️
...xperimental/LieAlgebras/src/DirectSumLieAlgebra.jl 10.00% 9 Missing ⚠️
experimental/LieAlgebras/src/LieSubalgebra.jl 65.21% 8 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4084      +/-   ##
==========================================
- Coverage   84.69%   84.67%   -0.02%     
==========================================
  Files         614      626      +12     
  Lines       83568    84208     +640     
==========================================
+ Hits        70780    71307     +527     
- Misses      12788    12901     +113     
Files with missing lines Coverage Δ
experimental/LieAlgebras/src/AbstractLieAlgebra.jl 98.91% <100.00%> (+7.71%) ⬆️
experimental/LieAlgebras/src/LieAlgebraModule.jl 90.67% <100.00%> (-0.40%) ⬇️
experimental/LieAlgebras/src/LinearLieAlgebra.jl 95.85% <100.00%> (+0.26%) ⬆️
experimental/LieAlgebras/src/Types.jl 97.04% <ø> (+0.59%) ⬆️
experimental/LieAlgebras/src/serialization.jl 100.00% <100.00%> (ø)
experimental/LieAlgebras/test/LieAlgebra-test.jl 100.00% <ø> (ø)
...rimental/LieAlgebras/test/LieAlgebraModule-test.jl 100.00% <ø> (ø)
experimental/LieAlgebras/test/setup_tests.jl 95.31% <100.00%> (+0.23%) ⬆️
experimental/LieAlgebras/src/LieSubalgebra.jl 58.71% <65.21%> (+1.24%) ⬆️
...xperimental/LieAlgebras/src/DirectSumLieAlgebra.jl 77.63% <10.00%> (-10.25%) ⬇️
... and 2 more

... and 56 files with indirect coverage changes

@lgoettgens lgoettgens marked this pull request as ready for review September 16, 2024 14:19
Copy link
Member

@fingolfin fingolfin left a comment

Choose a reason for hiding this comment

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

Had a cursory looks. Seems sensible (I am not surprised). No objections from me.

@lgoettgens
Copy link
Member Author

Let's wait for another few days with merging for @felix-roehrich to have the chance to have a look as well

Co-authored-by: Felix Röhrich <47457568+felix-roehrich@users.noreply.github.com>
Co-authored-by: Felix Röhrich <47457568+felix-roehrich@users.noreply.github.com>
Co-authored-by: Felix Röhrich <47457568+felix-roehrich@users.noreply.github.com>
@lgoettgens lgoettgens merged commit 7deb725 into oscar-system:master Sep 19, 2024
28 checks passed
@lgoettgens lgoettgens deleted the lg/Lie-root-system-detection branch September 19, 2024 06:43
HechtiDerLachs pushed a commit to HechtiDerLachs/Oscar.jl that referenced this pull request Sep 20, 2024
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 topic: LieAlgebras
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants