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

Tell Sylow subgroups of natural An or Sn their size when we make them #529

Merged
merged 1 commit into from
Jan 31, 2016

Conversation

stevelinton
Copy link
Contributor

Saves a stab chain verification, which is relatively expensive. This removes the calculation being considered in #499 almost completely, but the issue there probably applies to many other stab chain verifications.

The same thing could probably be done in a lot of other methods in the same file, and possibly even more generally, although beware the issue we once had in GL where computing the order even using the formula took longer than writing down the group, just because of the integer arithmetic.

In this case the order was being computed anyway in the SylowSubgroup methods.

Add another pre-computed Size (centralizers) and fix a test.
@stevelinton
Copy link
Contributor Author

I have now checked gpprmsya.gi and there are no more obvious places where a Size was easily calculated but not set.

@ChrisJefferson
Copy link
Contributor

Looks good for merging

hulpke added a commit that referenced this pull request Jan 31, 2016
Tell Sylow subgroups of natural An or Sn their size when they are created.

This will save on a stab chain verification that can be costly for larger degrees.
@hulpke hulpke merged commit 08d4294 into gap-system:master Jan 31, 2016
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.

None yet

3 participants