`coxeter/text/presentation` := TEXT(`    `,
`FUNCTION:  presentation - generators and relations for a Coxeter group`,`    `
,`CALLING SEQUENCE:  presentation(R);`,
`                   presentation(R,'gap');`,`    `,
`PARAMETERS:  R = a root system data structure`,`   `,`SYNOPSIS:   `,
`  presentation(R) returns the Coxeter presentation of W(R). The output is`,
`  a "grelgroup" (see group[grelgroup]). More specifically, the result`,
`  returned is an unevaluated procedure call`,
`               grelgroup({s1,s2,...}, {<rel1>, <rel2>,...})`,
`  where s1,s2,... are names for the simple reflections, and each expression`,
`  <rel_i> is a relation (i.e., a sequence of generators and inverses of`,
`  generators whose product in W(R) is the identity element).`,`   `,
`  If 'gap' is specified as a second argument, then a sequence of commands`,
`  that specify the Coxeter presentation of W(R) in the GAP language is`,
`  output via lprint(). These commands may be pasted into a GAP session.`,
`  For more on GAP, see <http://www.ccs.neu.edu/mirrors/GAP/NEU/>.`,`   `,
`  For a description of root system data structures, see coxeter[structure].`,
`   `,`EXAMPLES:   `,`  presentation(A2);                     yields  `,
`                   grelgroup({s1,s2},{[s1,s1],[s2,s2],[s1,s2,s1,s2,s1,s2]})`,
`  #Is W(H3) generated by s1 and s2*s3 ?`,
`  g:=presentation(H3); with(group,cosets);`,
`  sg:=subgrel({t1=[s1],t2=[s2,s3]},g);`,
`  cosets(sg);                           yields         {[]}`,`   `,
`SEE ALSO:  base, cox_matrix, perm_rep, structure, group[grelgroup]`):

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