Implement SmallAntimagmasInformation function similar to SmallGroupInformation#178
Draft
Implement SmallAntimagmasInformation function similar to SmallGroupInformation#178
Conversation
…morphism functions Co-authored-by: limakzi <50334623+limakzi@users.noreply.github.com>
Co-authored-by: limakzi <50334623+limakzi@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] In
Implement SmallAntimagmasInformation function similar to SmallGroupInformation
Aug 21, 2025
smallgrp package we have SmallGroupInformation global method. We want to implement something similar in smallantimagmas. Here you are the issue:
@gap-packages/smallantimagmas/issues/112
For now it is suffient to present number of all antiasso...
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.
This PR implements a
SmallAntimagmasInformationfunction similar to theSmallGroupInformationfunction from thesmallgrppackage, addressing issue #112.New Functions
SmallAntimagmasInformation(n)Returns a record with comprehensive information about antiassociative magmas of order
n:total: Total number of antiassociative magmas (including isomorphic copies)upToIsomorphism: Number of antiassociative magmas up to isomorphismupToIsomorphismAndAntiisomorphism: Number of antiassociative magmas up to isomorphism and anti-isomorphismNrSmallAntimagmasUpToAntiisomorphism(n)Returns the count of antiassociative magmas of order
nup to isomorphism and anti-isomorphism.Usage Example
Implementation Details
The implementation leverages existing anti-isomorphism functionality (
IsMagmaAntiisomorphic) to identify equivalence classes under both isomorphism and anti-isomorphism. The algorithm:AllSmallAntimagmas)upToIsomorphismAndAntiisomorphism ≤ upToIsomorphism ≤ totalFiles Changed
lib/smallantimagmas.gd: Added function declarations with documentationlib/smallantimagmas.gi: Added function implementationstst/test_smallantimagmas_information.tst: Added comprehensive tests verifying mathematical propertiesThe implementation follows existing code patterns and maintains compatibility with all existing functionality.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
esm.ubuntu.com/usr/lib/apt/methods/https(dns block)If you need me to access, download, or install something from one of these locations, you can either:
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.