Documentation

LeanPool.LeanModularForms.GeneralizedResidueTheory.PiecewiseCurveAPI

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 #

Definitions #

The sorted partition points as a list.

Equations
Instances For

    Consecutive pairs of partition points: [(p₀,p₁), (p₁,p₂), ...].

    Equations
    Instances For

      Basic properties of sortedPartition #

      @[simp]

      Membership in sortedPartition is equivalent to membership in the original partition.

      The sortedPartition is sorted with respect to .

      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.

      Both components of a consecutive pair lie in [a, b].

      Main theorems #

      theorem PiecewiseC1Curve.forall_Icc_of_forall_consecutive {P : Prop} (γ : PiecewiseC1Curve) (h : pγ.consecutivePairs, tSet.Icc p.1 p.2, P t) (t : ) :
      t Set.Icc γ.a γ.bP t

      Main theorem: to prove a property P on [a, b], it suffices to prove P on each consecutive segment [pᵢ, pᵢ₊₁] of the partition.

      Image variant: if the image of each consecutive segment lies in S, then the image of [a, b] lies in S.