A,3)
A‚ÇÉ

julia&gt; w=perm&quot;(1,11)(3,10)(4,9)(5,7)(6,12)&quot;
(1,11)(3,10)(4,9)(5,7)(6,12)

julia&gt; w in W
true

julia&gt; word(W,w)
5-element Vector{Int64}:
 1
 2
 3
 2
 1</code></pre><p>The  result  of  ¬†<code>word</code>  is  the  lexicographically  smallest reduced word for <code>w</code> (for the ordering of the Coxeter generators given by <code>gens(W)</code>).</p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/jmichel7/Chevie.jl/blob/fbddb048572eb9b42fb2c8f80