`weyl/text/weight_sys` := TEXT(`    `,
`FUNCTION:  weight_sys - dominant weights below a given dominant weight`,`    `
,`CALLING SEQUENCE:  weight_sys(v,R);`,
`                   weight_sys(v,R,'wc');`,`    `,
`PARAMETERS:  R = a crystallographic root system data structure`,
`             v = a dominant integral weight (linear combin. of e1,e2,...)`,
`            wc = (optional) a name`,`   `,`SYNOPSIS:   `,
`  In a crystallographic root system R, weights are represented as rational`,
`  linear combinations of the standard orthonormal basis e1,e2,... A weight`,
`  v is integral if it is in the integer span of the fundamental weights`,
`  (i.e., weight_coords(v,R) is integral), and it is dominant if it is in`,
`  the nonnegative span of the fundamental weights. The irreducible finite-`,
`  dimensional representations ("irreps") of LieAlg(R) are indexed by`,
`  dominant integral weights.`,`   `,
`  If v is a dominant integral weight, weight_sys(v,R) returns the list of`,
`  all dominant integral weights that are less than or equal to v in the`,
`  partial ordering for which v1 < v2 whenever v2-v1 is an integral sum of`,
`  positive roots. These are the dominant weights that occur with nonzero`,
`  multiplicity in the irrep of LieAlg(R) indexed by v.`,`   `,
`  The output is sorted in order of decreasing height (the height of u is`,
`  defined to be iprod(u,co_rho(R)). In particular, the first listed weight`,
`  will be v, and the last weight will be minuscule or 0.`,`   `,
`  If a third argument is present, it is assigned a list consisting of `,
`  weight_coords(u,R) for each weight u appearing in weight_sys(v,R).`,`   `,
`  For a description of root system data structures, see coxeter[structure].`,
`   `,`EXAMPLES:   `,`  w:=weights(C3); v:=w[1]+w[3];`,
`  weight_sys(v,C3);               yields    [e1+e2+2*e3, 2*e3, e2+e3, 0]`,
`  w:=weights(G2); v:=3*w[1];`,`  weight_sys(v,G2,'wc'): wc;      yields`,
`                                      [[3,0],[1,1],[2,0],[0,1],[1,0],[0,0]]`,
`    `,`SEE ALSO:  minuscule, weight_coords, weight_mults, weights, weyl_dim,`,
`           coxeter[pos_roots], coxeter[structure]`):

if `+`(0)=0 then # Maple V.4 or later
  print(INTERFACE_HELP(insert, topic=`weyl/weight_sys`,
  helpfile=HomeLib, text=`weyl/text/weight_sys`))
elif ceil(0)=0 then # Maple V.2 or V.3
  `help/weyl/text/weight_sys`:=`weyl/text/weight_sys`:
  save `help/weyl/text/weight_sys`, cat(HomeLib,`/help/weyl/text/weight_sys.m`);
fi:
