Indicator functions #
The indicator function δ(· | s) of a set, which is 0 on s and +∞ off it. It is the device by
which every statement about convex sets becomes an instance of a statement about convex
functions, and it is used that way throughout the library.
Main results #
convexFn_indicatorFn—δ(· | s)is convex iffsis convex.dom_indicatorFn,proper_indicatorFn— the effective domain iss, andδ(· | s)is proper exactly whensis non-empty.indicatorFn_add,indicatorFn_finsetSum— adding indicators intersects the sets.epi_indicatorFn— the epigraph is the half-cylinders ×ˢ Ici 0.
References #
- R. T. Rockafellar, Convex Analysis, Princeton University Press, 1970, §4.
The indicator function δ(· | s) of a set s: 0 on s, ⊤ off it.
Equations
- Tdaf.ConvexAnalysis.indicatorFn s = Tdaf.ConvexAnalysis.restrict s fun (x : E) => 0
Instances For
δ(· | s) is proper exactly when s is non-empty. In particular a constrained problem
h + δ(· | C) has a proper constraint term without C being closed.
Adding indicators intersects the sets. 0 + 0 = 0, and ⊤ absorbs everything an indicator
can be, so there is no side condition. This is why the intersection forms of results about convex
sets are the indicator instances of statements about sums.
The m-ary indicatorFn_add: δ(· | C₁) + ⋯ + δ(· | Cₘ) = δ(· | C₁ ∩ ⋯ ∩ Cₘ), with no
side condition. Over the empty Finset both sides are the zero function, since ⋂ i ∈ ∅, C i is
univ.
The epigraph of an indicator function is a half-cylinder with cross-section s.
δ(· | s) is a convex function exactly when s is a convex set.
Translating the set translates the indicator: δ(x | a + s) = δ(x - a | s).