Segments in vector spaces #
In a 𝕜-vector space, we define the following objects and properties.
segment 𝕜 x y: Closed segment joiningxandy.openSegment 𝕜 x y: Open segment joiningxandy.
Notation #
We provide the following notation:
TODO #
Generalize all this file to affine spaces.
Should we rename segment and openSegment to convex.Icc and convex.Ioo? Should we also
define clopenSegment/convex.Ico/convex.Ioc?
Segments in a vector space.
Equations
Instances For
Open segment in a vector space. Note that openSegment 𝕜 x x = {x} instead of being ∅ when
the base semiring has some element between 0 and 1.
Denoted as [x -[𝕜] y] within the Convex namespace.
Equations
Instances For
Segments in a vector space.
Equations
Instances For
If z = lineMap x y c is a point on the line passing through x and y, then the open
segment openSegment 𝕜 x y is included in the union of the open segments openSegment 𝕜 x z,
openSegment 𝕜 z y, and the point z. Informally, (x, y) ⊆ {z} ∪ (x, z) ∪ (z, y).
A point is in an Ioo iff it can be expressed as a strict convex combination of the endpoints.
A point is in an Ioc iff it can be expressed as a semistrict convex combination of the
endpoints.
A point is in an Ico iff it can be expressed as a semistrict convex combination of the
endpoints.