Repository navigation
Conversation
Install methods that construct the conformal orthogonal and unitary groups preserving a prescribed form, given as a matrix, a form object or a group storing an invariant form. GAP provides the constructors from 4.17 on, so the code is read only if they exist. Requested in gap-packages/ClassicalMaximals#1. Assisted-by: Generative AI
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #92 +/- ##
==========================================
+ Coverage 80.40% 81.35% +0.94%
==========================================
Files 8 10 +2
Lines 3670 3931 +261
==========================================
+ Hits 2951 3198 +247
- Misses 719 733 +14
🚀 New features to boost your workflow:
|
ThomasBreuer
left a comment
There was a problem hiding this comment.
(same remarks as for the corresponding pull request for the GAP library)
| function( filt, mat ) | ||
| local q, form; | ||
|
|
||
| # Guess the intended field. |
There was a problem hiding this comment.
"Guess" sounds dangerous, but this is o.k. since we have a method where the form itself is given as the argument.
I regard the method with a given matrix just as a convenience method.
| # Guess the intended field. | ||
| q:= Size( BaseDomain( mat ) ); | ||
| if q = RootInt( q, 2 )^2 then | ||
| form:= HermitianFormByMatrix( mat, GF(q) ); |
There was a problem hiding this comment.
Here we switch from BaseDomain( mat ) to GF(q).
Should we perhaps signal an error if mat is written over a non-FFE field?
| "IsQuadraticForm" ], | ||
| { filt, e, d, q, form } -> Forms_ConformalOrthogonalGroup( | ||
| ConformalOrthogonalGroupCons( filt, e, d, q ), | ||
| form ) ); |
There was a problem hiding this comment.
As in the corresponding pull request for the GAP library:
The method that (calls the function that) does the work should take a field, not a field size,
and the delegations should be from methods that take a field size to methods that take a field, not the other way round.
The methods of ConformalOrthogonalGroupCons for a prescribed form now do their work in the variants for a field, and those for a field size pass GF(q) on, as for ConformalSymplecticGroup. This matches GAP, where the field determines the representation of the matrix entries. Assisted-by: Generative AI
Add ConformalOrthogonalGroup (CO) and ConformalUnitaryGroup (CU), the groups of matrices that respect a quadratic or hermitian form up to scalars, alongside ConformalSymplecticGroup. They take the arguments of GO and GU and use the same default forms, so they contain GO and GU. CO also accepts a field in place of q; for now its elements must be internal finite field elements, since GO ignores other representations. Methods for a prescribed form are in the Forms package (gap-packages/forms#92). Add ProjectiveConformalSymplecticGroup (PCSp) and ProjectiveConformalOrthogonalGroup (PCO), the actions on lines, like PSp and PGO. The new attributes InvariantQuadraticFormUpToScalars and InvariantSesquilinearFormUpToScalars give form-based membership tests. ConjugateGroup now carries forms up to scalars over to the conjugate, so conjugates of CSp keep theirs. ConformalSymplecticGroup is now in the reference manual. Assisted-by: Generative AI
Install methods that construct the conformal orthogonal and unitary groups preserving a prescribed form, given as a matrix, a form object or a group storing an invariant form. GAP provides the constructors from 4.17 on, so the code is read only if they exist.
Requested in gap-packages/ClassicalMaximals#1.
Assisted-by: Generative AI