ArgMin(f(x), ForElement(x, S)), rendered x∈Sargminf(x), gives the set of values x∈S
such that f(x)=s∈Sminf(s).
ArgMin(f(x), ForElement(x, S), P(x)), rendered x∈S,P(x)argminf(x), gives the set of values x∈S
satisfying P(x)
and such that f(x)=s∈S,P(s)minf(s).
If f(x)
does not attain a minimum value satisfying the conditions, the result is the empty set {}.
ArgMin(f(x, y), For(Tuple(x, y)), P(x, y)), rendered P(x,y)argminf(x,y), gives the set of tuples (x,y)
satisfying P(x,y)
such that f(x,y)=P(s,t)minf(s,t), and similarly for any number n≥2
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 P(x)
must define the domain of x
unambiguously; that is, it must include a statement such as x∈S
where S
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 P(x,y), P(x,y,z), etc.
Definitions:
Fungrim symbol | Notation | Short description |
---|---|---|
ArgMin | x∈Sargminf(x) | Locations of minimum value |
Minimum | x∈Sminf(x) | Minimum value of a set or function |
Source code for this entry:
Entry(ID("0a3e5a"), SymbolDefinition(ArgMin, ArgMin(f(x), ForElement(x, S)), "Locations of minimum value"), Description(SourceForm(ArgMin(f(x), ForElement(x, S))), ", rendered", ArgMin(f(x), ForElement(x, S)), ", gives the set of values", Element(x, S), "such that", Equal(f(x), Minimum(f(s), ForElement(s, S))), "."), Description(SourceForm(ArgMin(f(x), ForElement(x, S), P(x))), ", rendered", ArgMin(f(x), ForElement(x, S), P(x)), ", gives the set of values", Element(x, S), "satisfying", P(x), "and such that", Equal(f(x), Minimum(f(s), ForElement(s, S), P(s))), "."), Description("If", f(x), "does not attain a minimum value satisfying the conditions, the result is the empty set", Set(), "."), Description(SourceForm(ArgMin(f(x, y), For(Tuple(x, y)), P(x, y))), ", rendered", ArgMin(f(x, y), For(Tuple(x, y)), P(x, y)), ", gives the set of tuples", Tuple(x, y), "satisfying", P(x, y), "such that", Equal(f(x, y), Minimum(f(s, t), For(Tuple(s, t)), P(s, t))), ", 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."))