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

Tests.CanonicalRawLocalizationL2

0 named declarations scanned from Tests/CanonicalRawLocalizationL2.lean.

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

Declarations

This aggregator contains no named declarations.

Complete Lean source

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

namespace AutoSamplingTheory.Tests.CanonicalRawLocalizationL2

open MeasureTheory

variable {Omega : Type*} {m : MeasurableSpace Omega}
  {filtration : MeasureTheory.Filtration NNReal m}
  {mu : Measure Omega} {T : NNReal}

#check AutoSamplingTheory.TechnicalLemmas.StochasticProcesses.CanonicalRawLocalizationL2.rawStoppedTimeLintegral_le
#check AutoSamplingTheory.TechnicalLemmas.StochasticProcesses.CanonicalRawLocalizationL2.rawStoppedProductEnergy_lt_top
#check AutoSamplingTheory.TechnicalLemmas.StochasticProcesses.CanonicalRawLocalizationL2.canonicalRaw_isLocalizingSequence

/-- Focused source-contract smoke test for Chewi Proposition 1.1.13.

Unlike a bare `#check`, this applies the production theorem to the literal
localizing-sequence predicate. All ambient stochastic-process types are kept
fully qualified here so this test also documents the exact interface used by
the formalization. -/
example [IsProbabilityMeasure mu]
    (hUsual :
      AutoSamplingTheory.TechnicalLemmas.StochasticProcesses.ProgressiveL2.SatisfiesUsualConditions
        filtration mu)
    (eta :
      AutoSamplingTheory.TechnicalLemmas.StochasticProcesses.LocalProgressiveL2.LocalProgressiveL2Integrand
        filtration mu T) :
    AutoSamplingTheory.TechnicalLemmas.StochasticProcesses.Localization.IsLocalizingSequence
      eta.process filtration mu T
      (fun n omega =>
        (AutoSamplingTheory.TechnicalLemmas.StochasticProcesses.CanonicalRawLocalization.canonicalRawLocalizingTime
          hUsual eta n omega : WithTop NNReal)) :=
  AutoSamplingTheory.TechnicalLemmas.StochasticProcesses.CanonicalRawLocalizationL2.canonicalRaw_isLocalizingSequence
    hUsual eta

end AutoSamplingTheory.Tests.CanonicalRawLocalizationL2