-- -*- M2-comint -*- hash: 14784763369847836525

i1 : R = wordAlgebra(3);

i2 : w = [1]_R

o2 = Lt
       1

o2 : R

i3 : v = [1,2,3]_R

o3 = Lt Lt Lt
       1  2  3

o3 : R

i4 : s = w ** v --shuffle product of w, v

                                   2
o4 = Lt Lt Lt Lt +Lt Lt Lt Lt +2Lt  Lt Lt
       1  2  3  1   1  2  1  3    1   2  3

o4 : R

i5 : hsSymm = (w >> v) + (v >> w)--half-shuffle product symmetrization of w, v

                                   2
o5 = Lt Lt Lt Lt +Lt Lt Lt Lt +2Lt  Lt Lt
       1  2  3  1   1  2  1  3    1   2  3

o5 : R

i6 : s == hsSymm

o6 = true

i7 : 
     
