Samplinglib
Lean gate passed 2026-08-19T06:32:39.895922+00:00 · 7bcd37294df1
production module

AutoSamplingTheory.TechnicalLemmas.StochasticProcesses.DyadicGlobalHorizon

13 named declarations scanned from AutoSamplingTheory/TechnicalLemmas/StochasticProcesses/DyadicGlobalHorizon.lean.

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

Declarations

def AutoSamplingTheory.TechnicalLemmas.StochasticProcesses.DyadicGlobalHorizon.dyadicGlobalIndex Compiled Not mapped

- Index in the original integer-horizon ladder corresponding to horizon `2^k`.

def dyadicGlobalIndex (k : ℕ) : ℕ := 2 ^ k - 1

/-- The corresponding positive dyadic horizon. -/
def AutoSamplingTheory.TechnicalLemmas.StochasticProcesses.DyadicGlobalHorizon.dyadicHorizon Compiled Not mapped

- The corresponding positive dyadic horizon.

def dyadicHorizon (k : ℕ) : ℝ≥0 := (2 ^ k : ℕ)
theorem AutoSamplingTheory.TechnicalLemmas.StochasticProcesses.DyadicGlobalHorizon.dyadicGlobalIndex_add_one Compiled Not mapped

No declaration docstring.

@[simp] theorem dyadicGlobalIndex_add_one (k : ℕ) :
    dyadicGlobalIndex k + 1 = 2 ^ k := by
  have hpos : 0 < 2 ^ k := by positivity
  simp only [dyadicGlobalIndex]
  omega
theorem AutoSamplingTheory.TechnicalLemmas.StochasticProcesses.DyadicGlobalHorizon.integerHorizon_dyadicGlobalIndex Compiled Not mapped

No declaration docstring.

@[simp] theorem integerHorizon_dyadicGlobalIndex (k : ℕ) :
    integerHorizon (dyadicGlobalIndex k) = dyadicHorizon k := by
  simp [integerHorizon, dyadicHorizon, dyadicGlobalIndex_add_one]
theorem AutoSamplingTheory.TechnicalLemmas.StochasticProcesses.DyadicGlobalHorizon.dyadicHorizon_pos Compiled Not mapped

No declaration docstring.

@[simp] theorem dyadicHorizon_pos (k : ℕ) : 0 < dyadicHorizon k := by
  simp [dyadicHorizon]

/-- The dyadic subsequence indices are monotone. -/
theorem AutoSamplingTheory.TechnicalLemmas.StochasticProcesses.DyadicGlobalHorizon.dyadicGlobalIndex_mono Compiled Not mapped

- The dyadic subsequence indices are monotone.

theorem dyadicGlobalIndex_mono : Monotone dyadicGlobalIndex := by
  intro k l hkl
  have hp : 2 ^ k ≤ 2 ^ l := Nat.pow_le_pow_right (by decide) hkl
  exact Nat.sub_le_sub_right hp 1

/-- The dyadic subsequence is cofinal in the natural-number index set. -/
theorem AutoSamplingTheory.TechnicalLemmas.StochasticProcesses.DyadicGlobalHorizon.dyadicGlobalIndex_ge_self Compiled Not mapped

- The dyadic subsequence is cofinal in the natural-number index set.

theorem dyadicGlobalIndex_ge_self (k : ℕ) : k ≤ dyadicGlobalIndex k := by
  have hpow : k < 2 ^ k := Nat.lt_two_pow_self
  simp only [dyadicGlobalIndex]
  omega

/-- Topological cofinality of `k ↦ 2^k - 1`. -/
theorem AutoSamplingTheory.TechnicalLemmas.StochasticProcesses.DyadicGlobalHorizon.tendsto_dyadicGlobalIndex_atTop Compiled Not mapped

- Topological cofinality of `k ↦ 2^k - 1`.

theorem tendsto_dyadicGlobalIndex_atTop :
    Tendsto dyadicGlobalIndex atTop atTop := by
  apply tendsto_atTop.2
  intro N
  filter_upwards [eventually_ge_atTop N] with k hk
  exact hk.trans (dyadicGlobalIndex_ge_self k)

/-- The global canonical localizer restricted to dyadic horizons. -/
def AutoSamplingTheory.TechnicalLemmas.StochasticProcesses.DyadicGlobalHorizon.dyadicGlobalLocalizingTime Compiled Not mapped

- The global canonical localizer restricted to dyadic horizons.

noncomputable def dyadicGlobalLocalizingTime
    (hUsual : SatisfiesUsualConditions filtration mu)
    (eta : GlobalLocalProgressiveL2Integrand filtration mu)
    (k : ℕ) (omega : Omega) : ℝ≥0 :=
  globalLocalizingTime hUsual eta (dyadicGlobalIndex k) omega

/-- Every member of the dyadic subsequence remains a Chewi stopping time. -/
theorem AutoSamplingTheory.TechnicalLemmas.StochasticProcesses.DyadicGlobalHorizon.dyadicGlobalLocalizingTime_isChewiStoppingTime Compiled Not mapped

- Every member of the dyadic subsequence remains a Chewi stopping time.

theorem dyadicGlobalLocalizingTime_isChewiStoppingTime
    (hUsual : SatisfiesUsualConditions filtration mu)
    (eta : GlobalLocalProgressiveL2Integrand filtration mu) (k : ℕ) :
    IsChewiStoppingTime filtration
      (fun omega =>
        (dyadicGlobalLocalizingTime hUsual eta k omega : WithTop ℝ≥0)) := by
  exact globalLocalizingTime_isChewiStoppingTime hUsual eta (dyadicGlobalIndex k)

/-- The dyadic global localizers are pointwise increasing. -/
theorem AutoSamplingTheory.TechnicalLemmas.StochasticProcesses.DyadicGlobalHorizon.dyadicGlobalLocalizingTime_mono Compiled Not mapped

- The dyadic global localizers are pointwise increasing.

theorem dyadicGlobalLocalizingTime_mono
    (hUsual : SatisfiesUsualConditions filtration mu)
    (eta : GlobalLocalProgressiveL2Integrand filtration mu) :
    Monotone (fun k => dyadicGlobalLocalizingTime hUsual eta k) := by
  intro k l hkl
  exact globalLocalizingTime_mono hUsual eta (dyadicGlobalIndex_mono hkl)

/-- The `k`-th dyadic global localizer is bounded by the matching horizon
`2^k`. -/
theorem AutoSamplingTheory.TechnicalLemmas.StochasticProcesses.DyadicGlobalHorizon.dyadicGlobalLocalizingTime_le_horizon Compiled Not mapped

- The `k`-th dyadic global localizer is bounded by the matching horizon `2^k`.

theorem dyadicGlobalLocalizingTime_le_horizon
    (hUsual : SatisfiesUsualConditions filtration mu)
    (eta : GlobalLocalProgressiveL2Integrand filtration mu)
    (k : ℕ) (omega : Omega) :
    dyadicGlobalLocalizingTime hUsual eta k omega ≤ dyadicHorizon k := by
  simpa only [dyadicGlobalLocalizingTime, integerHorizon_dyadicGlobalIndex] using
    globalLocalizingTime_le_horizon hUsual eta (dyadicGlobalIndex k) omega

/-- The cofinal dyadic subsequence still tends to infinity almost surely. -/
theorem AutoSamplingTheory.TechnicalLemmas.StochasticProcesses.DyadicGlobalHorizon.dyadicGlobalLocalizingTime_tendsto_top_ae Compiled Not mapped

- The cofinal dyadic subsequence still tends to infinity almost surely.

theorem dyadicGlobalLocalizingTime_tendsto_top_ae
    (hUsual : SatisfiesUsualConditions filtration mu)
    (eta : GlobalLocalProgressiveL2Integrand filtration mu) :
    ∀ᵐ omega ∂mu,
      Tendsto
        (fun k =>
          (dyadicGlobalLocalizingTime hUsual eta k omega : WithTop ℝ≥0))
        atTop (𝓝 (⊤ : WithTop ℝ≥0)) := by
  filter_upwards [globalLocalizingTime_tendsto_top_ae hUsual eta]
    with omega homega
  exact homega.comp tendsto_dyadicGlobalIndex_atTop

end DyadicGlobalHorizon
end StochasticProcesses
end TechnicalLemmas
end AutoSamplingTheory