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.