Skip to content

Comments

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
Till-Eisen:Include_ConstructiveRecognition_SL
Open

add and integrate a SL2 in natural rep. recognition algorithm by Frank Lübeck #389
Till-Eisen wants to merge 6 commits intogap-packages:Include_ConstructiveRecognition_SLfrom
Till-Eisen:Include_ConstructiveRecognition_SL

Conversation

@Till-Eisen
Copy link
Collaborator

@Till-Eisen Till-Eisen commented Feb 17, 2026

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.

@codecov
Copy link

codecov bot commented Feb 17, 2026

Codecov Report

❌ Patch coverage is 2.71493% with 215 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (Include_ConstructiveRecognition_SL@5120658). Learn more about missing BASE report.

Files with missing lines Patch % Lines
...projective/constructive_recognition/SL/BaseCase.gi 2.71% 215 Missing ⚠️
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           
Files with missing lines Coverage Δ
...projective/constructive_recognition/SL/BaseCase.gi 11.24% <2.71%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Till-Eisen Till-Eisen force-pushed the Include_ConstructiveRecognition_SL branch from 022da70 to 7abb134 Compare February 17, 2026 10:28
@Till-Eisen Till-Eisen force-pushed the Include_ConstructiveRecognition_SL branch from 7abb134 to 84ff4f1 Compare February 17, 2026 10:29
## 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)
Copy link
Member

Choose a reason for hiding this comment

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

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;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
valid := false;
valid := false;

I think the indentation is still wrong here.

@Till-Eisen Till-Eisen changed the title add and integrate Frank Lübeck SL2 recognition algorithm add and integrate Frank Lübeck SL2 in natural rep. recognition algorithm Feb 17, 2026
@Till-Eisen Till-Eisen changed the title add and integrate Frank Lübeck SL2 in natural rep. recognition algorithm add and integrate a SL2 in natural rep. recognition algorithm by Frank Lübeck Feb 17, 2026
@Till-Eisen Till-Eisen force-pushed the Include_ConstructiveRecognition_SL branch 2 times, most recently from 15c6c86 to 894600f Compare February 17, 2026 12:48
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.

3 participants