`posets/text/product` := TEXT(
` `,
`FUNCTION:  &*  - direct product of posets`,
` `,
`CALLING SEQUENCE:  S1 &* S2 &* S3 ...;`,
`                   &*(S1,S2,S3,...);`,
` `,
`PARAMETERS:  S1, S2, ... = a sequence of two or more poset "structures"`,
`   `,
`  A poset structure S is any one of the following:`,
`     P     where P is a poset--i.e., a set of covering relations`,
`    (P,X)  where P is a poset with vertex set X`,
`    (P,n)  where P is a poset with vertex set {1,2,...,n}`,
`   `,
`SYNOPSIS:`,
`  If P and Q are posets with vertex sets X and Y, their direct product is`,
`  defined to be the poset with vertex set X x Y (Cartesian product), with`,
`  (x1,y1) <= (x2,y2) if and only if x1 <= x2 in P and y1 <= y2 in Q.`,
`   `,
`  Whenever the posets package is loaded via the 'with' command, a neutral`,
`  operator  &*  for constructing direct products is defined. If P and Q`,
`  are posets without isolated vertices, the operation  P &* Q (and more`,
`  generally, P &* Q &* R, etc) will compute the direct product of P and Q`,
`  (and R ...). The output of this computation will be a poset that is`,
`  *isomorphic* to the direct product of P and Q, but not necessarily`,
`  *equal* to the product of P and Q. In particular, the vertex set of the`,
`  result will be {1,2,...,p*q} if P has p vertices and Q has q vertices.`,
`   `,
`  To allow for posets with isolated vertices, the operator &* also`,
`  accepts poset structures of the form (P,X) or (P,n). The former is used`,
`  to indicate that the vertex set of P is X, and the latter to indicate`,
`  that the vertex set is {1,...,n}. If all of the arguments passed to &*`,
`  are of this form, then the result returned will also be of this form.`,
`   `,
`EXAMPLES:`,
`  Q:=chain(2); P:=Q &* Q &* Q;`,
`  isom(P,J({},3));            yields                true`,
`  Q &* ({[a,b]},{a,b,c});     yields   {[1,2],[1,3],[2,4],[3,4],[5,6]}`,
`  (Q,3) &* (Q,3);             yields`,
`                                  {[1,2],[1,4],[2,5],[3,6],[4,5],[7,8]}, 9`,
` `,
`SEE ALSO:  disj_union, ord_sum`,
NULL):

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