Documentation

LeanPool.ViscositySolutionTheory.AleksandrovDifferentiability.Analysis.OneDimSecondDerivative.Basic

Ported for Lean Pool: imports relocated and code adapted to Lean/Mathlib v4.34.0.

One-dimensional convex second-derivative measure interfaces #

This file records the source-proof interface for the distributional second derivative measure of a bounded convex function on (-3,3). The actual construction of this measure is still future work; the statements here isolate exactly the mass and endpoint-control facts needed by the localized maximal argument.

Stieltjes-measure candidate #

The Stieltjes function associated to a monotone real function.

For the source proof, g will be a one-sided derivative of a one-dimensional convex function. Mathlib's construction replaces g by its right-continuous representative rightLim g, which is the usual convention for the Stieltjes measure assigning mass G(b) - G(a) to (a,b].

Equations
Instances For

    The Stieltjes measure associated to a monotone real function.

    This is the concrete candidate for the distributional derivative measure of a monotone one-sided derivative.

    Equations
    Instances For

      The Stieltjes function associated to the project-local right derivative, assuming that right derivative has already been extended or localized as a globally monotone function.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For

        The Stieltjes second-derivative measure associated to the project-local right derivative, under a global monotonicity hypothesis.

        The convex source proof will eventually supply this by applying the construction to a monotone extension of the right derivative from (-3,3).

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For

          Source-local right-derivative extension #

          Clamp a real parameter to the closed source interval [-2,2].

          This is used to turn the right derivative, known to be monotone only on the source line interval, into a globally monotone function to which Mathlib's Stieltjes construction applies.

          Equations
          Instances For

            The source-local right derivative extended to all of ℝ by clamping the line parameter to [-2,2].

            Equations
            Instances For

              To the left of a point strictly inside the source interval, the clamp is eventually the identity.

              To the right of a point strictly inside the source interval, the clamp is eventually the identity.

              To the left of a point strictly inside the source interval, the clamped right-derivative extension is eventually the ordinary right derivative.

              To the right of a point strictly inside the source interval, the clamped right-derivative extension is eventually the ordinary right derivative.

              A left limit of the ordinary right derivative transfers to the clamped source extension at points strictly inside the source interval.

              A right limit of the ordinary right derivative transfers to the clamped source extension at points strictly inside the source interval.

              A right derivative monotone on the source interval [-2,2] gives a globally monotone clamped extension.

              Stieltjes function of the source-local right-derivative extension.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For

                Stieltjes measure of the source-local right-derivative extension.

                This is the source-local concrete candidate for the distributional second derivative measure used by the localized maximal argument.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For

                  The source-local Stieltjes measure has finite mass on every bounded open interval.

                  The left limit of the right-continuous Stieltjes representative agrees with the left limit of the clamped right-derivative extension that generated it.

                  The real jump of the clamped right-derivative Stieltjes function across the source maximal domain (-2,2). By the Stieltjes interval formula this is the real mass of (-2,2).

                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For

                    Real-valued Ioo formula for the source-local clamped right-derivative Stieltjes measure.

                    Convexity on (-3,3) supplies the monotonicity of the project-local right derivative on the clamped source interval [-2,2].

                    theorem AleksandrovDifferentiability.exists_right_secant_two_le_add_of_pairwise_sub_le {v : ℝ → ℝ} {osc ε : ℝ} (hosc : 0 ≤ osc) (hε : 0 < ε) (hbound : ∀ ⦃x y : ℝ⦄, x ∈ Set.Ioo (-3) 3 → y ∈ Set.Ioo (-3) 3 → v y - v x ≤ osc) :
                    ∃ y ∈ Set.Ioo 2 3, slope v 2 y ≤ osc + ε

                    If all value differences on (-3,3) are bounded above by osc, then a forward secant from 2 to a point near 3 has slope at most osc + ε.

                    This is the elementary endpoint step used in the source proof to turn bounded oscillation into right-derivative control.

                    theorem AleksandrovDifferentiability.exists_neg_add_le_left_secant_neg_two_of_pairwise_sub_le {v : ℝ → ℝ} {osc ε : ℝ} (hosc : 0 ≤ osc) (hε : 0 < ε) (hbound : ∀ ⦃x y : ℝ⦄, x ∈ Set.Ioo (-3) 3 → y ∈ Set.Ioo (-3) 3 → v y - v x ≤ osc) :
                    ∃ y ∈ Set.Ioo (-3) (-2), -osc - ε ≤ slope v y (-2)

                    If all value differences on (-3,3) are bounded above by osc, then a backward secant from a point near -3 to -2 has slope at least -osc - ε.

                    theorem AleksandrovDifferentiability.ConvexOn.rightDeriv_two_le_of_forall_exists_secant_le_add {v : ℝ → ℝ} {osc : ℝ} (hv : ConvexOn ℝ (Set.Ioo (-3) 3) v) (hsec : ∀ (ε : ℝ), 0 < ε → ∃ y ∈ Set.Ioo 2 3, slope v 2 y ≤ osc + ε) :
                    rightDeriv v 2 ≤ osc

                    Forward secants approaching the right source endpoint control the right derivative at 2.

                    This is the source-proof shape needed because the ambient interval is open at 3.

                    theorem AleksandrovDifferentiability.ConvexOn.neg_osc_le_rightDeriv_neg_two_of_forall_exists_secant_add_le {v : ℝ → ℝ} {osc : ℝ} (hv : ConvexOn ℝ (Set.Ioo (-3) 3) v) (hsec : ∀ (ε : ℝ), 0 < ε → ∃ y ∈ Set.Ioo (-3) (-2), -osc - ε ≤ slope v y (-2)) :
                    -osc ≤ rightDeriv v (-2)

                    Backward secants approaching the left source endpoint control the right derivative at -2 from below.

                    theorem AleksandrovDifferentiability.SubgradientOn.affineRemainder_add_le_mul_rightDeriv_sub {S : Set ℝ} {v : ℝ → ℝ} {x p h : ℝ} (_hp : SubgradientOn S v x p) (hv : ConvexOn ℝ S v) (hx : x ∈ interior S) (hxh : x + h ∈ interior S) (hh : 0 ≤ h) :
                    affineRemainder v x p (x + h) ≤ h * (rightDeriv v (x + h) - p)

                    Forward affine remainders of a one-dimensional convex function are controlled by the gap between the right derivative at the endpoint and the chosen subgradient.

                    theorem AleksandrovDifferentiability.SubgradientOn.affineRemainder_add_le_mul_leftDeriv_sub {S : Set ℝ} {v : ℝ → ℝ} {x p h : ℝ} (_hp : SubgradientOn S v x p) (hv : ConvexOn ℝ S v) (hx : x ∈ interior S) (hxh : x + h ∈ interior S) (hh : 0 ≤ h) :
                    affineRemainder v x p (x + h) ≤ h * (leftDeriv v (x + h) - p)

                    Forward affine remainders of a one-dimensional convex function are controlled by the gap between the left derivative at the endpoint and the chosen subgradient.

                    This variant is better suited to open-interval Stieltjes masses, which see the left limit at the right endpoint.

                    theorem AleksandrovDifferentiability.SubgradientOn.affineRemainder_sub_le_mul_sub_rightDeriv {S : Set ℝ} {v : ℝ → ℝ} {x p h : ℝ} (_hp : SubgradientOn S v x p) (hv : ConvexOn ℝ S v) (hx : x ∈ interior S) (hxmh : x - h ∈ interior S) (hh : 0 ≤ h) :
                    affineRemainder v x p (x - h) ≤ h * (p - rightDeriv v (x - h))

                    Backward affine remainders of a one-dimensional convex function are controlled by the gap between the chosen subgradient and the right derivative at the left endpoint.

                    theorem AleksandrovDifferentiability.SubgradientOn.affineRemainder_pm_le_mul_rightDeriv_sub {S : Set ℝ} {v : ℝ → ℝ} {x p h : ℝ} (hp : SubgradientOn S v x p) (hv : ConvexOn ℝ S v) (hx : x ∈ interior S) (hxmh : x - h ∈ interior S) (hxph : x + h ∈ interior S) (hh : 0 ≤ h) :
                    affineRemainder v x p (x + h) ≤ h * (rightDeriv v (x + h) - rightDeriv v (x - h)) ∧ affineRemainder v x p (x - h) ≤ h * (rightDeriv v (x + h) - rightDeriv v (x - h))

                    Two-sided affine remainders of a one-dimensional convex function are controlled by the right-derivative variation across the symmetric interval.

                    theorem AleksandrovDifferentiability.SubgradientOn.affineRemainder_pm_le_mul_leftDeriv_sub_rightDeriv {S : Set ℝ} {v : ℝ → ℝ} {x p h : ℝ} (hp : SubgradientOn S v x p) (hv : ConvexOn ℝ S v) (hx : x ∈ interior S) (hxmh : x - h ∈ interior S) (hxph : x + h ∈ interior S) (hh : 0 ≤ h) :
                    affineRemainder v x p (x + h) ≤ h * (leftDeriv v (x + h) - rightDeriv v (x - h)) ∧ affineRemainder v x p (x - h) ≤ h * (leftDeriv v (x + h) - rightDeriv v (x - h))

                    Two-sided affine remainders of a one-dimensional convex function are controlled by the open-interval derivative variation from the right derivative at the left endpoint to the left derivative at the right endpoint.