Documentation

LeanPool.ParameterFreeGradient.V7.Proofs.Stage6StrictDeterministic.ScalarHard

Calculus, convexity, minimizers, and growth of the scalar affine-quadratic-affine hard objective.

noncomputable def V7.Stage6StrictDeterministic.hardValue (eps H z : ℝ) :

The piecewise linear-quadratic hard objective in displacement coordinates.

Equations
Instances For
    noncomputable def V7.Stage6StrictDeterministic.hardSlope (eps H z : ℝ) :

    The continuous piecewise affine slope of the hard objective.

    Equations
    Instances For
      theorem V7.Stage6StrictDeterministic.hardValue_of_le {eps H z : ℝ} (hz : z ≤ H) :
      hardValue eps H z = -(2 * eps) * z
      theorem V7.Stage6StrictDeterministic.hardValue_of_middle {eps H z : ℝ} (hzH : H < z) (hz3 : z ≤ 3 * H) :
      hardValue eps H z = -(2 * eps) * z + 2 * eps / (2 * H) * (z - H) ^ 2
      theorem V7.Stage6StrictDeterministic.hardValue_of_right {eps H z : ℝ} (hH : 0 ≤ H) (hz3 : 3 * H < z) :
      hardValue eps H z = 2 * eps * z - 4 * (2 * eps) * H
      theorem V7.Stage6StrictDeterministic.hardSlope_of_le {eps H z : ℝ} (hz : z ≤ H) :
      hardSlope eps H z = -(2 * eps)
      theorem V7.Stage6StrictDeterministic.hardSlope_of_middle {eps H z : ℝ} (hzH : H < z) (hz3 : z ≤ 3 * H) :
      hardSlope eps H z = 2 * eps * (z / H - 2)
      theorem V7.Stage6StrictDeterministic.hardSlope_of_right {eps H z : ℝ} (hH : 0 ≤ H) (hz3 : 3 * H < z) :
      hardSlope eps H z = 2 * eps
      theorem V7.Stage6StrictDeterministic.hardValue_hasDerivAt {eps H : ℝ} (hH : 0 < H) (z : ℝ) :
      HasDerivAt (hardValue eps H) (hardSlope eps H z) z

      The literal frozen affine--quadratic--affine value has the literal frozen piecewise derivative, including both seams.

      theorem V7.Stage6StrictDeterministic.deriv_hardValue {eps H : ℝ} (hH : 0 < H) (z : ℝ) :
      deriv (hardValue eps H) z = hardSlope eps H z

      The scaled displacement clipped to the interval from minus one to one.

      Equations
      Instances For
        theorem V7.Stage6StrictDeterministic.hardSlope_monotone {eps H : ℝ} (heps : 0 < eps) (hH : 0 < H) :
        theorem V7.Stage6StrictDeterministic.hardValue_convex {eps H : ℝ} (heps : 0 < eps) (hH : 0 < H) :

        Scalar convexity follows from the globally monotone literal derivative.

        theorem V7.Stage6StrictDeterministic.hardSlope_lipschitz {eps H : ℝ} (heps : 0 < eps) (hH : 0 < H) (x y : ℝ) :
        |hardSlope eps H x - hardSlope eps H y| ≤ 2 * eps / H * |x - y|
        theorem V7.Stage6StrictDeterministic.hardValue_at_minimizer {eps H : ℝ} (hH : 0 < H) :
        hardValue eps H (2 * H) = -3 * eps * H
        theorem V7.Stage6StrictDeterministic.hardValue_minimum {eps H : ℝ} (heps : 0 < eps) (hH : 0 < H) (z : ℝ) :
        hardValue eps H (2 * H) ≤ hardValue eps H z
        theorem V7.Stage6StrictDeterministic.hardValue_eq_minimizer_iff {eps H : ℝ} (heps : 0 < eps) (hH : 0 < H) (z : ℝ) :
        hardValue eps H z = hardValue eps H (2 * H) ↔ z = 2 * H
        theorem V7.Stage6StrictDeterministic.hardValue_linear_lower {eps H : ℝ} (heps : 0 < eps) (hH : 0 < H) (z : ℝ) :
        2 * eps * |z| - 4 * (2 * eps) * H ≤ hardValue eps H z

        A global linear lower bound exposing both affine tails.