Piecewise C¹ Curve API #
General-purpose API for proving properties of piecewise C¹ curves by checking each consecutive segment defined by the partition.
Main results #
PiecewiseC1Curve.sortedPartition- the partition points as a sorted listPiecewiseC1Curve.consecutivePairs- consecutive pairs (pᵢ, pᵢ₊₁) from the sorted partitionPiecewiseC1Curve.sortedPartition_head- the first element of the sorted partition isγ.aPiecewiseC1Curve.sortedPartition_last- the last element of the sorted partition isγ.bPiecewiseC1Curve.consecutivePairs_cover- union of [pᵢ, pᵢ₊₁] covers [a,b]PiecewiseC1Curve.forall_Icc_of_forall_consecutive- prove a property on [a,b] from each consecutive interval [pᵢ, pᵢ₊₁]
Definitions #
The sorted partition points as a list.
Instances For
Consecutive pairs of partition points: [(p₀,p₁), (p₁,p₂), ...].
Equations
Instances For
Basic properties of sortedPartition #
Membership in sortedPartition is equivalent to membership in the original partition.
The sortedPartition is sorted with respect to ≤.
The sortedPartition has no duplicates.
The sortedPartition is nonempty (contains at least a and b).
Every element of the sortedPartition lies in [a, b].
Head and last of sortedPartition #
The first element of the sorted partition equals γ.a.
Proof sketch: head ∈ [a,b] so a ≤ head; all elements ≥ head from sorted, and
a ∈ sortedPartition, so head ≤ a. Together: head = a.
The last element of the sorted partition equals γ.b.
Proof sketch: getLast ∈ [a,b] so getLast ≤ b; all elements ≤ getLast from sorted,
and b ∈ sortedPartition, so b ≤ getLast. Together: getLast = b.
Consecutive pairs cover [a, b] #
The sorted partition has at least two elements (since a ≠ b are both in the partition).
The union of Icc p.1 p.2 over all p ∈ consecutivePairs γ covers [a, b].
Properties of consecutive pairs #
For each consecutive pair (p, q), we have p ≤ q.
Main theorems #
Main theorem: to prove a property P on [a, b], it suffices to prove P on each
consecutive segment [pᵢ, pᵢ₊₁] of the partition.