`posets/text/meet` := TEXT(
` `,
`FUNCTION:  meet - compute meets in lattices, maximal lower bounds in posets`,
` `,
`CALLING SEQUENCE:  meet(P);    meet(P,V);`,
`                   meet(P,X);  meet(P,X,V);`,
`                   meet(P,n);  meet(P,n,V);`,
` `,
`PARAMETERS:  P = a poset`,
`             X = a set (the vertex set)`,
`             n = a positive integer (the number of vertices)`,
`             V = a list of vertices of P (optional)`,
`   `,
`SYNOPSIS:`,
`  Given elements a,b,... of a poset P, their meet is defined to be the`,
`  greatest lower bound of a,b,..., if one exists. Otherwise, the meet is`,
`  undefined. `,
`   `,
`  If P is a poset with vertex set X, meet(P,X) returns a symmetric table as`,
`  follows. For each pair of vertices i,j of P that possess a lower bound`,
`  (not necessarily a *greatest* lower bound), there is a table index (i,j)`,
`  whose corresponding entry is *some* maximal lower bound for i and j. The `,
`  procedure does not determine if there is only one maximal lower bound--`,
`  i.e., a true meet.`,
`   `,
`  meet(P,n) does the same, if the vertex set of P is {1,...,n}.`,
`  meet(P) does the same, assuming that P has no isolated vertices.`,
`   `,
`  In the second form, if the final argument is a list V of vertices of P,`,
`  the procedure returns a maximal lower bound for the vertices in V, if one`,
`  exists. If V has no lower bounds in P, then the value NULL is returned.`,
`   `,
`  Use the dual of P to compute joins or minimal upper bounds in P.`,
` `,
`EXAMPLES:`,
`  M:=meet(J({},3));`,
`  M[4,6], M[3,6];                     yields             2, 1`,
`  P:={[a,b],[c,b],[d,c]};`,
`  meet(P,[a,c,d]);                    yields             NULL`,
`  P:=({},2) &+ ({},2);`,
`  M:=meet(P,5);`,
`  M[1,5], M[3,4];                     yields          M[1, 5], 2`,
` `,
`SEE ALSO:  distributive, dual, lattice, modular`,
NULL):

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