feat(math): add finite semigroup operations (#1858) - #2046
Conversation
Add semigroup domain with 4 operations: element power, idempotents, generated subsemigroup, and principal ideals. Uses exact multiplication table operations over bounded finite semigroups. Closes #1858
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Deep review summaryVerdict: REQUEST CHANGES — the request accepts arbitrary magmas as semigroups, exponent zero escapes as an exception, and the principal-ideal formula is not a principal two-sided ideal. 1. Associativity is never validatedThe table is checked only for shape and closure. Every operation is therefore exposed under semigroup semantics for nonassociative magmas. Power notation, generated subsemigroups, and ideal identities all rely on associativity. Exhaustively validate This PR also duplicates the existing/open finite-semigroup owner and the operation ID 2. Exponent zero is accepted and then raises
3.
|
Summary
Implements the domain with 4 atomic operations for finite semigroup theory using multiplication tables.
Closes #1858
Operations
semigroup.element.power.computesemigroup.idempotents.computesemigroup.generated_subsemigroup.computesemigroup.principal_ideals.computeDesign
Continue this on Linzumi