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

let right_cosets return a G-set #3223

Merged
merged 3 commits into from
Jan 26, 2024

Conversation

ThomasBreuer
Copy link
Member

  • add GSetByRightTransversal
  • change right_cosets to return a GSetByRightTransversal object
  • change show methods for GSetByElements and GroupCoset

resolves #3221,
addresses the comment about right_cosets in the discussion of #3216

Copy link

codecov bot commented Jan 24, 2024

Codecov Report

Merging #3223 (40158e7) into master (5b325bd) will increase coverage by 0.00%.
Report is 2 commits behind head on master.
The diff coverage is 81.05%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3223   +/-   ##
=======================================
  Coverage   81.63%   81.63%           
=======================================
  Files         546      546           
  Lines       72887    72960   +73     
=======================================
+ Hits        59499    59559   +60     
- Misses      13388    13401   +13     
Files Coverage Δ
src/Groups/cosets.jl 87.75% <95.00%> (+4.18%) ⬆️
src/Groups/gsets.jl 88.23% <77.33%> (-5.42%) ⬇️

src/Groups/cosets.jl Outdated Show resolved Hide resolved
src/Groups/cosets.jl Outdated Show resolved Hide resolved
src/Groups/cosets.jl Outdated Show resolved Hide resolved
src/Groups/cosets.jl Outdated Show resolved Hide resolved
src/Groups/gsets.jl Outdated Show resolved Hide resolved
src/Groups/cosets.jl Outdated Show resolved Hide resolved
@@ -258,12 +288,12 @@ Permutation group of degree 4 and order 24
julia> H = symmetric_group(3)
Permutation group of degree 3 and order 6

julia> left_cosets(G,H)
julia> left_cosets(G, H)
Copy link
Member

Choose a reason for hiding this comment

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

Now left_cosets behaves quite different from right_cosets... We should either warn about this; or else turn that into a G-set, too (I guess by letting $g \in G$ act via $(aU).g := g^{-1}aU$ ?)

Copy link
Member Author

Choose a reason for hiding this comment

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

Do we want to support left cosets at all?
In GAP, there is no function LeftTransversal. The GAP function LeftCosets belongs to the utils package (without documentation, the documentation belongs to the groupoids package). I would recommend not to use left cosets.

- add `GSetByRightTransversal`
- change `right_cosets` to return a `GSetByRightTransversal` object
- change `show` methods for `GSetByElements` and `GroupCoset`
@fieker fieker merged commit 1c1fb76 into oscar-system:master Jan 26, 2024
21 of 22 checks passed
@ThomasBreuer ThomasBreuer deleted the TB_right_cosets branch January 26, 2024 09:05
HechtiDerLachs pushed a commit to HechtiDerLachs/Oscar.jl that referenced this pull request Jan 26, 2024
* let `right_cosets` return a G-set

- add `GSetByRightTransversal`
- change `right_cosets` to return a `GSetByRightTransversal` object
- change `show` methods for `GSetByElements` and `GroupCoset`

* address comments

* adjust `show` values
ooinaruhugh pushed a commit to ooinaruhugh/Oscar.jl that referenced this pull request Feb 15, 2024
* let `right_cosets` return a G-set

- add `GSetByRightTransversal`
- change `right_cosets` to return a `GSetByRightTransversal` object
- change `show` methods for `GSetByElements` and `GroupCoset`

* address comments

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

Successfully merging this pull request may close these issues.

Nicer printing for orbit G-sets
3 participants