add and integrate a SL2 in natural rep. recognition algorithm by Frank Lübeck #389
Open
Till-Eisen wants to merge 6 commits intogap-packages:Include_ConstructiveRecognition_SLfrom
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## Include_ConstructiveRecognition_SL #389 +/- ##
=====================================================================
Coverage ? 64.67%
=====================================================================
Files ? 49
Lines ? 20678
Branches ? 0
=====================================================================
Hits ? 13373
Misses ? 7305
Partials ? 0
🚀 New features to boost your workflow:
|
022da70 to
7abb134
Compare
7abb134 to
84ff4f1
Compare
fingolfin
reviewed
Feb 17, 2026
| ## RECOG.RecogniseSL2NaturalOddCharUsingBSGS. | ||
| ## G must be SL(2,q) generated by 2x2 matrices over GF(q). | ||
| ## Note: does not work for q = 2, 3, 5. | ||
| ConRecogNaturalSL2 := function(G, f) |
Member
There was a problem hiding this comment.
Suggested change
| ConRecogNaturalSL2 := function(G, f) | |
| RECOG.ConRecogNaturalSL2 := function(G, f) |
| for i in [1..Length(res.all)] do | ||
| if res.all[i]^res.basi <> res_old.all[i]^res_old.basi then | ||
| Print("Test failed for q = ", q, ", index i = ", i, " in the list \"all\" failed\n"); | ||
| valid := false; |
Collaborator
There was a problem hiding this comment.
Suggested change
| valid := false; | |
| valid := false; |
I think the indentation is still wrong here.
15c6c86 to
894600f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added Frank Lübeck's RecogNaturalSL2 algorithm as well as ConRecogNaturalSL2, which calls it and converts the output to the same format as RECOG.RecogniseSL2NaturalEvenChar / RECOG.RecogniseSL2NaturalOddCharUsingBSGS. ConRecogNaturalSL2 retries up to 100 times until the correct generators are found (usually takes very few attempts, i.e. 100 is a very high bound).
Also added test_ConRecogNaturalSL2 for testing: it accepts either a list of prime powers or an empty list — in the latter case a preset list of prime powers is tested automatically.
Note RecogNaturalSL2 does not work for q=2,3,5. In this case the old functions are called.