Skip to content

Use NC variants of PreImages operations - #58

Open
fingolfin wants to merge 1 commit into
masterfrom
mh/preimages-nc
Open

fingolfin wants to merge 1 commit into
masterfrom
mh/preimages-nc

Conversation

@fingolfin

Copy link
Copy Markdown
Member

GAP 4.17 splits PreImagesSet and PreImagesRepresentative into checked operations and unchecked NC variants, and its library calls only the NC variants. Install the geometry morphism method for PreImagesSetNC, so that library calls find it, and keep a PreImagesSet method delegating to it: the generic checked method fails its IsSubset test on geometry morphisms.

Call the NC variants internally where the argument is known to lie in the image (stabiliser generators under action homomorphisms, the BLT-set under the duality), avoiding the range and image membership tests.

For GAP < 4.17, init.g binds the NC names to the checked operations.

Assisted-by: Claude Code (Opus 5)

CC @ThomasBreuer @cdwensley

GAP 4.17 splits PreImagesSet and PreImagesRepresentative into checked
operations and unchecked NC variants, and its library calls only the
NC variants. Install the geometry morphism method for PreImagesSetNC,
so that library calls find it, and keep a PreImagesSet method
delegating to it: the generic checked method fails its IsSubset test
on geometry morphisms.

Call the NC variants internally where the argument is known to lie in
the image (stabiliser generators under action homomorphisms, the
BLT-set under the duality), avoiding the range and image membership
tests.

For GAP < 4.17, init.g binds the NC names to the checked operations.

Assisted-by: Claude Code (Opus 5)
@codecov

codecov Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 86.95652% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 53.55%. Comparing base (2f2c0fa) to head (089f0bd).

Files with missing lines Patch % Lines
lib/orbits-stabilisers.gi 0.00% 2 Missing ⚠️
lib/gpolygons.gi 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #58      +/-   ##
==========================================
+ Coverage   53.25%   53.55%   +0.30%     
==========================================
  Files          34       34              
  Lines       17041    17059      +18     
==========================================
+ Hits         9075     9136      +61     
+ Misses       7966     7923      -43     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

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

This branch has not been deployed

No deployments
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.

1 participant