Convex height sequences #
A height sequence takes real values on an integer interval and the value infinity outside it. Convexity means that its real increments on consecutive finite heights are nondecreasing. The finite domain may be empty, a singleton, a bounded interval, or a half-line; infinity never supplies a genuine edge slope.
This file proves supporting-line and chord inequalities, including existence of
affine minorants through finite heights and separation at infinite heights. It
recovers heights from an anchor and consecutive increments, and characterises convexity by second
differences. A sequence is admissible when it has a real affine lower bound,
which is equivalent to having a convex minorant; a pointwise minimum is admissible exactly when
both sequences are. Convexity and admissibility are
invariant under adding a real affine function, that is, under height translation
and shear, under scaling the heights by a nonnegative real factor, and under translating the
indices. Reflecting the indices in N preserves
convexity; it discards the heights beyond N. These results provide the discrete
geometry used to construct lower convex envelopes without any coefficient data.
The supporting-line and chord arguments are adapted from William Coram's
PhD/TauCeti/Code/NewtonPolygons/ConvexSeq.lean at revision
eefb3d91f34b27d0bc7822140fa85fecae029884,
using real increments on finite edges rather than extended-valued slope sentinels.
A height sequence is convex if its finite domain is order connected and its real increments are nondecreasing on the finite edges. The all-infinite sequence and a sequence with just one finite height are allowed.
Every index between two finite heights has finite height.
- monotoneOn : MonotoneOn (unitSlope h) (finiteEdges h)
Only consecutive pairs of finite heights contribute slopes.
Instances For
Convexity is equivalent to order-connectedness of the finite domain and monotonicity of real increments on finite edges.
Convexity is the second-difference inequality at every three consecutive indices whose outer heights are finite, together with order-connectedness of the finite domain.
Extending a real sequence by infinity outside an integer interval is convex when its increments on that interval are nondecreasing.
The all-infinite height sequence, representing the empty polygon, is convex.
Real affine heights form a convex sequence on the whole natural line.
Real affine heights on an order-connected index set, extended by infinity, are convex.
A sequence lying above an admissible sequence is admissible.
The pointwise minimum of two admissible sequences is admissible: on ℕ, the smaller
intercept and the smaller slope give a common real affine lower bound.
A pointwise minimum is admissible exactly when both sequences are.
Every later secant is bounded below by the slope of a finite edge that precedes it. The length-zero case is included.
Every earlier secant is bounded above by the slope of a finite edge that follows its last edge. The length-zero case is included.
If a convex height sequence passes through two points of a real affine line, then at every intermediate index where it lies on or above that line it lies on the line.
Moving two indices one step towards each other does not increase the sum of their
heights: for i ≤ k, the inner pair i + 1, k + 1 has sum at most that of the outer pair
i, k + 2. If either outer height is infinite, the bound is trivial.
At a finite height of a convex sequence, some real affine minorant passes through that height. This includes isolated finite heights.
Every convex height sequence has a real affine lower bound, including the empty and singleton cases.
Every real number below a convex height is bounded above by the value of some affine minorant there. Infinite heights are recovered by arbitrarily high minorants, including outside the finite domain and for the empty sequence.
Raising an interior height preserves convexity provided the new height stays below the average of its finite neighbors.
Splice two convex sequences where their heights agree, taking the prefix from the sequence lying higher on that prefix. This comparison ensures convexity across the join; no finiteness assumption on the joining height is needed.
Splice two convex sequences where their heights agree, taking the suffix from the sequence lying higher on that suffix. The comparison preserves convexity across the join, including when the joining height is infinite.
A height sequence admits a convex minorant exactly when it is admissible, that is, when it admits a real affine lower bound. No nonempty-support hypothesis is needed.
Changes of height scale #
An ordered additive change of height scale preserves convexity.
Affine covariance #
Adding a real affine function preserves convexity. With m = 0 this is a height
translation; with c = 0 it is a shear.
Adding a real affine function does not change convexity. The affine function is written
with its coercions pushed outward, which is the simp normal form.
Adding a real affine function preserves admissibility.
Adding a real affine function does not change admissibility. The affine function is
written with its coercions pushed outward, which is the simp normal form.
Adding a real affine function does not change the finite unit edges.
Scaling of heights #
Scaling the heights by a nonnegative real factor preserves convexity.
Scaling the heights by a nonnegative real factor preserves admissibility.
Translation of indices #
Dropping the first k heights preserves convexity.
Shifting heights k places to the right, with infinite heights at the first k
indices, preserves convexity.
Shifting heights k places to the right, with infinite heights at the first k indices,
shifts the finite unit edges k places to the right.
Reflection of indices #
Reflecting heights in N, with infinite heights beyond N, preserves convexity. The heights
of h beyond N are discarded.