Faces of the standard simplex #
Complements to Mathlib's Convexity.StdSimplex about the maps StdSimplex.map f. An arbitrary
map adds weights over its fibres. An injective map embeds a standard simplex as a face of a larger
one and keeps the weights of a point, so it is injective; a point supported on its range comes from
the smaller simplex (StdSimplex.comap). For f = j.succAbove its image is the
facet on which the j-th weight vanishes; for the last vertex this facet is the smaller simplex
with a zero last weight appended. A function taking a constant value on every facet
takes that value wherever some weight vanishes. Two facets, opposite j < k, meet in the
codimension-two face opposite both: a common point of the two facets comes from that face through
both composites of face maps, the two sides of the simplicial identity
SimplexCategory.δ_comp_δ.
The prefix sums TauCeti.prefixSum N x.weights of the weights of a point x of
StdSimplex R (Fin n) lie between 0 and 1.
A point of the triangle StdSimplex R (Fin 3) is determined by its three weights.
The three weights of a point of the standard 2-simplex add up to 1.
The weights of the last two vertices of a point of the standard 2-simplex add up to at
most 1.
Mapping a standard simplex adds the weights over each fibre of the map.
Along an injective map, the weight at the image of a point is the weight at that point.
The map of standard simplices along an injective map is injective.
Sums of the weights of a mapped standard simplex over a set are sums of the weights over its preimage.
A point of StdSimplex R Y whose weights are supported on the range of an injective map
f : X → Y, pulled back to StdSimplex R X: a right inverse of StdSimplex.map f on its range
(StdSimplex.map_comap), and a left inverse of it (StdSimplex.comap_map).
Instances For
The weights of a pulled back point are the pulled back weights.
The weight of a pulled back point at a is the weight of the point at f a.
Pulling back a point along an injective map whose range contains its support, and then mapping forward again, recovers the point.
Mapping a point forward along an injective map and pulling it back again recovers the point.
A point of a standard simplex lies on the facet opposite j exactly when its j-th weight
vanishes.
The j-th weight vanishes on the facet opposite j.
On the facet opposite j, the weight at j.succAbove i is the i-th weight of the facet.
The facet of the standard simplex on Fin (n + 1) opposite its last vertex, the points with
vanishing last weight, is the standard simplex on Fin n with a zero last weight appended.
A function on a standard simplex which takes the value z on every facet takes the value z
at every point with a vanishing weight.
The facets of a standard simplex opposite j < k meet in the codimension-two face opposite
both: a common point is the image of a point w of that face, and the corresponding points of
the two facets are the images of w under the face maps given by the simplicial identity.
The prefix sums of the weights of a point of a standard simplex on Fin n are
nonnegative.
The prefix sums of the weights of a point of a standard simplex on Fin n are at most 1.