Samplinglib
Lean gate not recorded for this source state main · ed709a7f320d
test module

Tests.GeodesicConvexity

0 named declarations scanned from Tests/GeodesicConvexity.lean.

Imports
Imported by
Placeholder scan
0 declaration(s) flagged
Gate status
Partial

Declarations

This aggregator contains no named declarations.

Complete Lean source

Tests/GeodesicConvexity.lean — full module with imports and context
Download module (.lean)
import AutoSamplingTheory.TechnicalLemmas.Geometry.GeodesicConvexity

namespace AutoSamplingTheory.Tests.GeodesicConvexity

#check AutoSamplingTheory.TechnicalLemmas.Geometry.GeodesicConvexity.IsAlphaGeodesicallyConvex
#check AutoSamplingTheory.TechnicalLemmas.Geometry.GeodesicConvexity.firstOrder_geodesicConvexity

open AutoSamplingTheory.TechnicalLemmas.Geometry.GeodesicConvexity

example {M : Type*} [MetricSpace M]
    {isGeodesic : (ℝ → M) → Prop} {F : M → ℝ} {alpha : ℝ}
    (hconvex : IsAlphaGeodesicallyConvex isGeodesic F alpha)
    {path : ℝ → M} (hpath : isGeodesic path)
    {gradientPairing : ℝ}
    (hderiv : HasDerivAt (fun t => F (path t)) gradientPairing 0) :
    F (path 1) ≥ F (path 0) + gradientPairing +
      alpha / 2 * dist (path 0) (path 1) ^ 2 :=
  firstOrder_geodesicConvexity hconvex hpath hderiv

end AutoSamplingTheory.Tests.GeodesicConvexity