This operator can be called with 1 or 3 arguments.
Called with 1 argument, Maximum(S), rendered , represents the maximum element of the set . This operator is only defined if
is a subset of
and the maximum exists.
Called with 3 arguments, Maximum(f(x), x, P(x)), rendered , represents .
The argument x to this operator defines a locally bound variable. The corresponding predicate
must define the domain of
unambiguously; that is, it must include a statement such as
where
is a known set. More generally, x can be a collection of variables
all of which become locally bound, with a corresponding predicate .
Definitions:
Fungrim symbol | Notation | Short description |
---|---|---|
Maximum | Maximum value of a set or function | |
RR | Real numbers | |
Infinity | Positive infinity | |
SetBuilder | Set comprehension |
Source code for this entry:
Entry(ID("65ccf2"), SymbolDefinition(Maximum, Maximum(f(x), x, P(x)), "Maximum value of a set or function"), Description("This operator can be called with 1 or 3 arguments."), Description("Called with 1 argument, ", SourceForm(Maximum(S)), ", rendered", Maximum(S), ", represents the maximum element of the set", S, ".", "This operator is only defined if", S, "is a subset of", Union(RR, Set(Neg(Infinity), Pos(Infinity))), " and the maximum exists."), Description("Called with 3 arguments, ", SourceForm(Maximum(f(x), x, P(x))), ", rendered", Maximum(f(x), x, P(x)), ", represents", Maximum(SetBuilder(f(x), x, P(x))), "."), Description("The argument", SourceForm(x), "to this operator defines a locally bound variable.", "The corresponding predicate", P(x), "must define the domain of", x, "unambiguously; that is, it must include a statement such as", Element(x, S), "where", S, "is a known set.", "More generally,", SourceForm(x), "can be a collection of variables", Tuple(x, y, Ellipsis), "all of which become locally bound, with a corresponding predicate", P(x, y, Ellipsis), "."))