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

Tests.ExponentialKernelInterpolation

0 named declarations scanned from Tests/ExponentialKernelInterpolation.lean.

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

Declarations

This aggregator contains no named declarations.

Complete Lean source

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

open Set
open AutoSamplingTheory.TechnicalLemmas.FunctionalInequalities

example {H H' : ℝ → ℝ} {rate source t energy : ℝ}
    (hrate : 0 < rate) (ht : 0 ≤ t)
    (hH : ∀ s ∈ Icc (0 : ℝ) t, HasDerivAt H (H' s) s)
    (hzero : H 0 = 0)
    (hderiv : ∀ s ∈ Ioo (0 : ℝ) t,
      H' s ≤ source * Real.exp (-rate * (t - s)) * energy) :
    H t ≤ (source / rate) * (1 - Real.exp (-rate * t)) * energy :=
  endpoint_le_of_deriv_le_exponential_kernel
    hrate ht hH hzero hderiv