Documentation

TauCeti.Analysis.Convex.Sequence.FiniteSlopeMultiset

Finite slope multisets #

The finite slopes of a convex height sequence are the slopes of all of its unit edges, counted with multiplicity. This file packages that invariant on FiniteSlopeData, the canonical presentation of a nonempty convex height sequence with finite domain.

The multiset has cardinality equal to the horizontal length of the polygon. Its sum is the difference between the endpoint heights. The multiplicity of a real slope σ is the width of the finite face of slope σ, so a singleton face contributes multiplicity zero.

Main results #

References #

The multiset of the slopes of the unit edges of finite slope data.

Each i : Fin length contributes one copy of slope i, so repeated slopes retain their multiplicity. In particular, slope data of length zero has the empty slope multiset.

Instances For

    The slope multiset lists the slopes of the unit edges from left to right.

    A nondecreasing unit-slope presentation is determined by its anchor and slope multiset. In particular, different subdivisions of equal slopes do not give different unit data.

    @[simp]
    theorem TauCeti.FiniteSlopeData.mem_slopeMultiset {Γ : Type u_1} [Preorder Γ] {d : FiniteSlopeData Γ} {m : Γ} :
    m ∈ d.slopeMultiset ↔ ∃ (i : Fin d.length), d.slope i = m

    A value occurs in the slope multiset exactly when it is the slope of a unit edge.

    @[simp]

    The slope multiset is empty exactly when the represented polygon is a singleton.

    @[simp]

    The number of finite unit slopes is the horizontal length of the polygon.

    @[simp]

    The multiplicity of a value in the slope multiset is the number of unit edges with that slope.

    @[simp]
    theorem TauCeti.FiniteSlopeData.slopeMultiset_map {Γ : Type u_1} [Preorder Γ] {Γ' : Type u_2} [Preorder Γ'] [AddCommMonoid Γ] [AddCommMonoid Γ'] (d : FiniteSlopeData Γ) (f : Γ →+o Γ') :

    The slope multiset of transported slope data is the image of the slope multiset.

    The sum of the finite slopes is the sum over the unit edges.

    The sum of the finite slopes is the difference between the endpoint heights.

    A polygon represented by real finite slope data has a finite face at every real slope.

    The multiplicity of a real slope σ in the slope multiset is the width u - l of the finite face of slope σ. The endpoints l and u are absolute indices.