Aggregation of finite coordinates #
This file develops aggregation of a function along the fibers of a map between finite types.
For Mathlib's intrinsic Convexity.StdSimplex, this operation is the finite-coordinate
realization of Convexity.StdSimplex.map.
The fiber-cardinality results are included because they describe the exponents and normalization constants that occur when coordinate measures on standard simplices are pushed forward.
Main definitions and results #
stdSimplexAggregate: aggregation of coordinates along a finite map.Convexity.StdSimplex.weights_map_eq_stdSimplexAggregate: compatibility with the intrinsic standard-simplex map.stdSimplexAggregateFiberCard: cardinality of a fiber of the aggregation map.
Coordinate aggregation sends u : ι → R to its block sums under a map f : ι → κ.
This is an application-oriented functional name for FunOnFinite.linearMap.
Equations
- stdSimplexAggregate f = ⇑(FunOnFinite.linearMap R R f)
Instances For
Aggregation is continuous whenever addition in the coefficient semiring is continuous.
Mapping an intrinsic standard-simplex point and then reading its weights agrees with aggregation of its finite coordinate function.
Aggregating positive parameters along a surjective partition gives positive parameters.
Cardinality of a fiber of an aggregation map. The codomain need not be finite because every
fiber is a subtype of the finite domain ι.
Equations
- stdSimplexAggregateFiberCard f k = Fintype.card { i : ι // f i = k }
Instances For
Every fiber of a surjective aggregation map has positive cardinality.
The cardinalities of all fibers of a map from a finite type sum to the cardinality of its domain.