Module docstring
{"# The monotone sequence of partial supremums of a sequence
For ι a preorder in which all bounded-above intervals are finite (such as ℕ), and α a
⊔-semilattice, we define partialSups : (ι → α) → ι →o α by the formula
partialSups f i = (Finset.Iic i).sup' ⋯ f, where the ⋯ denotes a proof that Finset.Iic i is
nonempty. This is a way of spelling ⊔ k ≤ i, f k which does not require a α to have a bottom
element, and makes sense in conditionally-complete lattices (where indexed suprema over sets are
badly-behaved).
Under stronger hypotheses on α and ι, we show that this coincides with other candidate
definitions, see e.g. partialSups_eq_biSup, partialSups_eq_sup_range,
and partialSups_eq_sup'_range.
We show this construction gives a Galois insertion between functions ι → α and monotone functions
ι →o α, see partialSups.gi.
Notes
One might dispute whether this sequence should start at f 0 or ⊥. We choose the former because:
* Starting at ⊥ requires... having a bottom element.
* fun f i ↦ (Finset.Iio i).sup f is already effectively the sequence starting at ⊥.
* If we started at ⊥ we wouldn't have the Galois insertion. See partialSups.gi.
","### Functions out of ℕ
","### Functions valued in a distributive lattice
These lemmas require the target to be a distributive lattice, so they are not useful (or true) in situations such as submodules. ","### Lemmas about the supremum over the whole domain
These lemmas require some completeness assumptions on the target space.
","### Functions into Set α
"}