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

Tests.LeftLebesgueAverage

0 named declarations scanned from Tests/LeftLebesgueAverage.lean.

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

Declarations

This aggregator contains no named declarations.

Complete Lean source

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

open AutoSamplingTheory TechnicalLemmas Analysis MeasureTheory Filter
open scoped NNReal Topology

#check LeftLebesgueAverage.leftAverageError
#check LeftLebesgueAverage.ae_tendsto_leftAverageError
#check LeftLebesgueAverage.ae_tendsto_leftAverageError_two_mul
#check LeftLebesgueAverage.abs_normalized_setIntegral_sub_le_two_mul_leftAverageError

example :
    ∀ᵐ t ∂volume,
      Tendsto
        (fun h : ℝ≥0 ↦ LeftLebesgueAverage.leftAverageError (fun _ ↦ (3 : ℝ)) t h)
        (𝓝[>] 0) (𝓝 0) := by
  apply LeftLebesgueAverage.ae_tendsto_leftAverageError
  exact MeasureTheory.locallyIntegrable_const (μ := (volume : Measure ℝ)) (3 : ℝ)

example :
    ∀ᵐ t ∂volume,
      Tendsto
        (fun n ↦ LeftLebesgueAverage.leftAverageError (fun _ ↦ (3 : ℝ)) t
          ⟨2 * ((1 / 2 : ℝ) ^ n), by positivity⟩)
        atTop (𝓝 0) := by
  apply LeftLebesgueAverage.ae_tendsto_leftAverageError_two_mul
    (f := fun _ : ℝ ↦ (3 : ℝ))
    (mesh := fun n ↦ (1 / 2 : ℝ) ^ n)
    (MeasureTheory.locallyIntegrable_const (μ := (volume : Measure ℝ)) (3 : ℝ))
  · exact tendsto_pow_atTop_nhds_zero_of_lt_one (by norm_num) (by norm_num)
  · intro n
    positivity