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

Fix bracket for LieSubalgebras (the return value had the wrong type) #4676

Merged
merged 2 commits into from
Feb 28, 2025

Conversation

lgoettgens
Copy link
Member

@lgoettgens lgoettgens commented Feb 28, 2025

Reported by @willemdegraaf on slack.

  1. In the file LieSubalgebra.jl there is a function "bracket" for subalgebras.
    However, what is returned is an ideal of the base_lie_algebra, which in general
    is wrong. (Take a subalgebra K of a simple Lie algebra L, this function
    will return L as the value of [K,K].)

@lgoettgens lgoettgens added topic: lie theory release notes: use title For PRs: the title of this PR is suitable for direct use in the release notes labels Feb 28, 2025
@lgoettgens lgoettgens requested a review from fingolfin February 28, 2025 12:26
@fingolfin fingolfin changed the title Fix bracket for LieSubalgebras Fix bracket for LieSubalgebras (it sometimes returned the wrong result) Feb 28, 2025
@fingolfin fingolfin enabled auto-merge (squash) February 28, 2025 12:59
@fingolfin fingolfin merged commit 94230fd into oscar-system:master Feb 28, 2025
27 of 32 checks passed
@lgoettgens lgoettgens deleted the lg/LieSub-bracket branch February 28, 2025 15:17
@thofma
Copy link
Collaborator

thofma commented Feb 28, 2025

This failed the job "check-consistent-formatting"

@lgoettgens
Copy link
Member Author

I also noticed after merge. IMO this job should either be marked as required (so that automerge doesn't merge things like this) or be removed completely. I think Triage at some point last summer deferred this decision to the PIs.

For this current problem, @thofma could you (or literally anybody else) please provide a PR with the fix? The failing log tells the exact things that need to get copy pasted into a REPL. I could probably only do it myself on Tuesday, since I am traveling right now with very limited internet and computer access.

@thofma
Copy link
Collaborator

thofma commented Feb 28, 2025

will do

@thofma
Copy link
Collaborator

thofma commented Feb 28, 2025

#4680

@lgoettgens lgoettgens added the backport 1.3.x backport for release branch 1.3 label Mar 5, 2025
aaruni96 pushed a commit that referenced this pull request Mar 7, 2025
…esult) (#4676)

(cherry picked from commit 94230fd)
Signed-off-by: Aaruni Kaushik <[email protected]>
@aaruni96 aaruni96 mentioned this pull request Mar 7, 2025
10 tasks
@lgoettgens lgoettgens changed the title Fix bracket for LieSubalgebras (it sometimes returned the wrong result) Fix bracket for LieSubalgebras (the return value had the wrong type) Mar 7, 2025
fieker pushed a commit that referenced this pull request Mar 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 1.3.x backport for release branch 1.3 bug: wrong result release notes: use title For PRs: the title of this PR is suitable for direct use in the release notes topic: lie theory
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants