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

LieAlgebras: Restrict to work over fields only #2901

Merged
merged 4 commits into from
Oct 11, 2023

Conversation

lgoettgens
Copy link
Member

For some functions already defined, I have doubts about the correctness over general rings, in particular in the existence of zero divisors.
So, I would like to restrict everything to work only over fields for now. If someone (maybe @fingolfin ?) with the required knowledge wants to work with Lie rings in the future, after a per-case decision one can widen the signatures again.

@codecov
Copy link

codecov bot commented Oct 9, 2023

Codecov Report

Merging #2901 (d65554f) into master (f8049ce) will increase coverage by 0.00%.
Report is 2 commits behind head on master.
The diff coverage is 92.75%.

@@           Coverage Diff           @@
##           master    #2901   +/-   ##
=======================================
  Coverage   80.39%   80.40%           
=======================================
  Files         456      456           
  Lines       65235    65227    -8     
=======================================
  Hits        52447    52447           
+ Misses      12788    12780    -8     
Files Coverage Δ
experimental/LieAlgebras/src/AbstractLieAlgebra.jl 80.95% <100.00%> (ø)
experimental/LieAlgebras/src/LieAlgebra.jl 86.53% <100.00%> (+2.16%) ⬆️
experimental/LieAlgebras/src/LieAlgebraHom.jl 90.90% <100.00%> (ø)
experimental/LieAlgebras/src/LieAlgebraIdeal.jl 65.00% <100.00%> (ø)
...xperimental/LieAlgebras/src/LieAlgebraModuleHom.jl 85.53% <100.00%> (ø)
experimental/LieAlgebras/src/Util.jl 100.00% <100.00%> (ø)
experimental/LieAlgebras/src/iso_oscar_gap.jl 100.00% <ø> (ø)
...mental/LieAlgebras/test/AbstractLieAlgebra-test.jl 100.00% <100.00%> (ø)
experimental/LieAlgebras/test/LieAlgebra-test.jl 95.77% <ø> (ø)
...rimental/LieAlgebras/test/LieAlgebraModule-test.jl 94.93% <ø> (ø)
... and 5 more

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.

Fine by me.

Copy link
Member

@ThomasBreuer ThomasBreuer left a comment

Choose a reason for hiding this comment

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

Fine.
(I guess that changing the condition from RingElement not to FieldElement but to FieldElem is intended.)

@lgoettgens
Copy link
Member Author

Fine. (I guess that changing the condition from RingElement not to FieldElement but to FieldElem is intended.)

Yes, as I e.g. do not wanna have a LieAlgebra{Int} anyway. For scalar multiplication, integer scalar types are still allowed.

@fingolfin fingolfin merged commit a270a94 into oscar-system:master Oct 11, 2023
@lgoettgens lgoettgens deleted the lg/lie-ring->field branch October 11, 2023 16:12
lgoettgens added a commit to voggesbe/Oscar.jl that referenced this pull request Oct 12, 2023
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.

3 participants