Translating a set so that its lexicographic minimum is the origin #
Order ℝ^D lexicographically. The translate normalize S of a nonempty finite set S by minus
its least element contains 0, and its other elements are positive. Cardinalities of sets and
sumsets and the affine dimension of a sumset do not change under this translation.
noncomputable def
SumOfSetsInSeveralDimensions.normalize
{D : ℕ}
(S : Finset (Fin D → ℝ))
(hS : S.Nonempty)
:
The translate of a nonempty finite set S ⊆ ℝ^D by minus its lexicographically least
element.
Equations
- SumOfSetsInSeveralDimensions.normalize S hS = Finset.image (fun (x : Fin D → ℝ) => x - SumOfSetsInSeveralDimensions.lexMin✝ S hS) S