Solutions(Q(x), ForElement(x, S)), rendered , represents the set of values
satisfying .
Solutions(Q(x), ForElement(x, S), P(x)), rendered , represents the set of values
satisfying
and .
Solutions(Q(x), For(x), P(x)), rendered , represents the set of values
satisfying
and .
Solutions(Q(x, y), For(Tuple(x, y)), P(x, y)), rendered , represents the set of tuples
satisfying
and , and similarly for any number
of variables.
The special expression For(x) or ForElement(x, S) declares x as a locally bound variable within the scope of the arguments to this operator. If For(x) is used instead of ForElement(x, S), the corresponding predicate
must define the domain of
unambiguously; that is, it must include a statement such as
where
is a known set. Similarly, For(Tuple(x, y)), For(Tuple(x, y, z)), etc. defines multiple locally bound variables which must be accompanied by a multivariate predicate , , etc.
Definitions:
Fungrim symbol | Notation | Short description |
---|---|---|
Solutions | Solution set |
Source code for this entry:
Entry(ID("5862bb"), SymbolDefinition(Solutions, Solutions(Q(x), ForElement(x, S)), "Solution set"), Description(SourceForm(Solutions(Q(x), ForElement(x, S))), ", rendered", Solutions(Q(x), ForElement(x, S)), ", represents the set of values", Element(x, S), "satisfying", Q(x), "."), Description(SourceForm(Solutions(Q(x), ForElement(x, S), P(x))), ", rendered", Solutions(Q(x), ForElement(x, S), P(x)), ", represents the set of values", Element(x, S), "satisfying", P(x), "and", Q(x), "."), Description(SourceForm(Solutions(Q(x), For(x), P(x))), ", rendered", Solutions(Q(x), For(x), P(x)), ", represents the set of values", x, "satisfying", P(x), "and", Q(x), "."), Description(SourceForm(Solutions(Q(x, y), For(Tuple(x, y)), P(x, y))), ", rendered", Solutions(Q(x, y), For(Tuple(x, y)), P(x, y)), ", represents the set of tuples", Tuple(x, y), "satisfying", P(x, y), "and", Q(x, y), ", and similarly for any number", GreaterEqual(n, 2), "of variables."), Description("The special expression", SourceForm(For(x)), "or", SourceForm(ForElement(x, S)), "declares", SourceForm(x), "as a locally bound variable within the scope of the arguments to this operator. ", "If", SourceForm(For(x)), "is used instead of", SourceForm(ForElement(x, S)), ", 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. Similarly,", SourceForm(For(Tuple(x, y))), ", ", SourceForm(For(Tuple(x, y, z))), ", etc.", "defines multiple locally bound variables which must be accompanied by a multivariate predicate", P(x, y), ", ", P(x, y, z), ", etc."))