Sorry for my bad english.
I have all maps from {1,2,3} to {1,2,3}. So I have 27 maps. And it is monoid, with * as superposition and e as map (1->1,2->2,3->3).
- M = FiniteSetMaps([1, 2, 3])
- print(M.category())
- print(M.an_element())
- print(M.cardinality())
Output: Category of finite enumerated monoids; map: 1 -> 4, 2 -> 2, 4 -> 1; 27 How can I list all submonoids of that monoid ? (I know there are 699)