The adjacent transposition $\alpha_i = (i, i+1) \in S_{n+1}$.
Instances For
Two swaps sharing a common first index multiply to a $3$-cycle, hence $(\sigma\tau)^3 = 1$.
Adjacent swaps (sharing the middle element) satisfy $(\operatorname{swap}(a,b) \operatorname{swap}(b,c))^3 = 1$.
Adjacent transpositions satisfy the Coxeter relation $(\alpha_i \alpha_j)^{m_{ij}} = 1$ for the type-$A$ Coxeter matrix.
The free-group lift of adjTransposition sends every type-$A$ relation to the identity.
Canonical homomorphism $W(A_{n-1}) \to S_{n+1}$ from the type-$A$ Coxeter group to the symmetric group, sending generators to adjacent transpositions.
Instances For
coxeterToPermHom sends the $i$-th simple generator to the $i$-th adjacent transposition.
coxeterToPermHom is surjective: adjacent transpositions generate $S_{n+1}$.
coxeterToPermHom is injective, completing the isomorphism $W(A_{n-1}) \cong S_{n+1}$.
Group isomorphism $S_{n+1} \cong W(A_{n-1})$, the inverse of coxeterToPermHom.
Instances For
The inverse isomorphism sends the $i$-th adjacent transposition to the $i$-th simple generator.
The type-$A_{n-1}$ Coxeter system on the symmetric group $S_{n+1}$.