Skip to content

Conversation

@cxzhong
Copy link
Contributor

@cxzhong cxzhong commented Dec 8, 2025

fix #40549
I think the better way is to keep hash method is just for the words. and for ==, we use gap to decide it.
Then rewrite Cayley graph function. It will keep the group elements can be a key/dict.

📝 Checklist

  • The title is concise and informative.
  • The description explains in detail what this PR is about.
  • I have linked a relevant issue or discussion.
  • I have created tests covering the changes.
  • I have updated the documentation and checked the documentation preview.

⌛ Dependencies

Removed example code from the documentation.
@github-actions
Copy link

github-actions bot commented Dec 8, 2025

Documentation preview for this PR (built with commit 76db9ce; changes) is ready! 🎉
This preview will update shortly after each push to this PR.

@cxzhong
Copy link
Contributor Author

cxzhong commented Dec 8, 2025

And _hash_ can not return NotImplemented Error. Because some methods regards it as a key in dict

@cxzhong cxzhong closed this Dec 8, 2025
@cxzhong cxzhong deleted the fix-free-group branch December 9, 2025 06:30
@cxzhong cxzhong restored the fix-free-group branch December 9, 2025 08:50
Added error handling for as_permutation_group method to support subclasses without limit parameter.
Added a method to return the Cayley graph of Artin groups, requiring elements to be specified due to their infinite nature.
Added a method to return the Cayley graph for braid groups, requiring elements to be specified due to their infinite nature.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cayley graphs of free groups have wrong number of vertices.

1 participant