Valleys #
A valley is a function f : ℤ → ℤ tending to positive infinity on both sides. This
terminology is not used in
An extended Demazure product; it is introduced here in order
to package some elementary arguments that are needed about such functions. In particular, we need
to keep track of the set where the minimum value is achieved, and some facts about how this set
changes when the valley is modified in simple ways.
Minima and rightmost minimizers #
This namespace develops the basic API for working with a Valley: its minimum
value, the rightmost index where that minimum is attained, and behavior under
vertical shifts.
theorem
Valley.floor_image_nonempty
(v : Valley)
(n : ℤ)
:
(Finset.image v.f (v.floor (v.f n))).Nonempty
Shifting a valley downward does not change its rightmost minimizer.
Shifting a valley downward subtracts k from its minimum value.