Called with 3 arguments SetBuilder(f(x), x, P(x)), rendered as , represents the set of values
for all
satisfying the predicate .
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 |
---|---|---|
SetBuilder | Set comprehension |
Source code for this entry:
Entry(ID("66ca58"), SymbolDefinition(SetBuilder, SetBuilder(f(x), x, P(x)), "Set comprehension"), Description("Called with 3 arguments", SourceForm(SetBuilder(f(x), x, P(x))), ", rendered as", SetBuilder(f(x), x, P(x)), ", represents the set of values", f(x), "for all", x, "satisfying the predicate", 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), "."))