-
Notifications
You must be signed in to change notification settings - Fork 182
Magma/Group confusion #2400
Copy link
Copy link
Closed
Labels
kind: bugIssues describing general bugs, and PRs fixing themIssues describing general bugs, and PRs fixing themkind: bug: wrong resultIssues describing bugs that result in mathematically or otherwise wrong results, and PRs fixing themIssues describing bugs that result in mathematically or otherwise wrong results, and PRs fixing them
Metadata
Metadata
Assignees
Labels
kind: bugIssues describing general bugs, and PRs fixing themIssues describing general bugs, and PRs fixing themkind: bug: wrong resultIssues describing bugs that result in mathematically or otherwise wrong results, and PRs fixing themIssues describing bugs that result in mathematically or otherwise wrong results, and PRs fixing them
This is something that came up in the context of #2387, but really is an earlier problem that has nothing to do with these changes:
Start the master branch (from scratch and with -A to minimize complications) and add the following function (which makes some basic deductions from an objects order):
Now call (this is tested in one of the test files...)
and get an error message:
Error, Value property is already set the other way
The reason is that the calculation defines the empty submagma of the magma defined by [(1,2)].
Properties and implication make this submagma a group and thus it contains the trivial permutation, so is not empty (and has Size 1) but GAP has set before that it is empty. The new setter method just makes this visible.
What is at issue here? Code for Magmas? The implication that they could be groups? Or is it the test for AsGroup?
An easy fix would be to take the test out, but there might be some bug being hidden in the current master branch already.
Puzzled...