Skip to content

Adjust ConformalSymplecticGroup to matrix object changes#86

Merged
fingolfin merged 2 commits into
gap-packages:masterfrom
ThomasBreuer:TB_matobj_news
May 17, 2026
Merged

Adjust ConformalSymplecticGroup to matrix object changes#86
fingolfin merged 2 commits into
gap-packages:masterfrom
ThomasBreuer:TB_matobj_news

Conversation

@ThomasBreuer
Copy link
Copy Markdown
Contributor

Now we make sure that all matrix multiplications happen w. r. t. the same representation.

Note that issue #6221 of GAP describes possible problems, and pull request #6240 of GAP provides a fix, which causes in our situation that some multiplications are no longer allowed.

Thus we turn all matrices stored in forms objects into matrices that fit to the representation of the given group generators.
Also, we use Matrix only in the variant that prescribes ConstructingFilter and BaseDomain, the variant that prescribes
just an example matrix object is dangerous in the situation that we are dealing with IsGF2MAtrixRep or Is8BitMatrixRep
matrices.

(Eventually it will be desirable to admit matrix objects of the right representation also in as data of the forms objects, but this is nothing we can force now.)

And revisit the ConformalSymplecticGroup tests:

  • test more filters (we have learned that IsGF2MatrixRep and Is8BitMatrixRep need explicit checks)
  • add some tests that were commented out but now work due to improvements in the GAP library
  • test equality of groups with \= not with an artificial is_equal function, which is possible (and in fact faster) due to improvements in the GAP library

Now we make sure that all matrix multiplications happen
w.r.t. the same representation.

Note that issue #6221 of GAP describes possible problems,
and pull request #6240 of GAP provides a fix, which causes
in our situation that some multiplications are no longer allowed.

Thus we turn all matrices stored in forms objects into matrices
that fit to the representation of the given group generators.
Also, we use `Matrix` only in the variant that prescribes
`ConstructingFilter` and `BaseDomain`, the variant that prescribes
just an example matrix object is dangerous in the situation
that we are dealing with `IsGF2MAtrixRep` or `Is8BitMatrixRep`
matrices.

(Eventually it will be desirable to admit matrix objects of the
right representation also in as data of the forms objects,
but this is nothing we can force now.)
- test more filters (we have learned that `IsGF2MatrixRep` and
  `Is8BitMatrixRep` need explicit checks)
- add some tests that were commented out but now work,
  due to improvements in the GAP library
- test equality of groups with `\=` not with an artificial
  `is_equal` function, which is possible (and in fact faster)
  due to improvements in the GAP library
@codecov
Copy link
Copy Markdown

codecov Bot commented May 15, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.49%. Comparing base (87b3163) to head (a1107dd).

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #86      +/-   ##
==========================================
+ Coverage   80.97%   81.49%   +0.51%     
==========================================
  Files           6        8       +2     
  Lines        3690     3831     +141     
==========================================
+ Hits         2988     3122     +134     
- Misses        702      709       +7     
Files with missing lines Coverage Δ
lib/conformal.gi 94.02% <100.00%> (ø)

... and 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@fingolfin fingolfin merged commit cd68a70 into gap-packages:master May 17, 2026
9 checks passed
@ThomasBreuer ThomasBreuer deleted the TB_matobj_news branch May 18, 2026 07:56
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.

2 participants