Ask Your Question

Dmitry2321's profile - activity

2022-01-26 10:38:12 +0200 commented answer submonoids of the monoid of all maps from one set to itself.

Many thanks. I got the idea. I was afraid that I missed "a method for generating all submonoids" in Sage documentation.

2022-01-26 10:34:11 +0200 marked best answer submonoids of the monoid of all maps from one set to itself.

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).

  1. M = FiniteSetMaps([1, 2, 3])
  2. print(M.category())
  3. print(M.an_element())
  4. 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)

2022-01-26 10:34:11 +0200 received badge  Scholar (source)
2022-01-26 08:48:48 +0200 received badge  Nice Question (source)
2022-01-26 00:01:59 +0200 received badge  Student (source)
2022-01-25 19:45:29 +0200 asked a question submonoids of the monoid of all maps from one set to itself.

submonoids of the monoid of all maps from one set to itself. Sorry for my bad english. I have all maps from {1,2,3} to