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

AutoSamplingTheory.TechnicalLemmas.StochasticProcesses.EnergyStoppingBoundaryBridge

2 named declarations scanned from AutoSamplingTheory/TechnicalLemmas/StochasticProcesses/EnergyStoppingBoundaryBridge.lean.

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

Declarations

theorem AutoSamplingTheory.TechnicalLemmas.StochasticProcesses.EnergyStoppingBoundaryBridge.energyStoppedIntegrand_eq_closedStop_larger_of_ne_boundary Compiled Not mapped

- Away from the smaller hitting-time boundary and before the terminal horizon, stopping a larger energy truncation at the smaller canonical hitting time is exactly the smaller energy truncation.

theorem energyStoppedIntegrand_eq_closedStop_larger_of_ne_boundary
    (hUsual : SatisfiesUsualConditions filtration mu)
    (eta : LocalProgressiveL2Integrand filtration mu T)
    {c d : ℝ} (hc : 0 ≤ c) (hcd : c ≤ d)
    (omega : Omega) {s : ℝ≥0} (hsT : s < T)
    (hsne : s ≠ canonicalEnergyLocalizer hUsual eta c omega) :
    energyStoppedIntegrand hUsual eta c s omega =
      stoppedIntegrand
        (energyStoppedIntegrand hUsual eta d)
        (fun w =>
          (canonicalEnergyLocalizer hUsual eta c w : WithTop ℝ≥0))
        s omega := by
  have hiff := completedEnergy_lt_iff_lt_canonicalEnergyLocalizer
    hUsual eta hc omega hsT
  by_cases hsτ : s < canonicalEnergyLocalizer hUsual eta c omega
  · have hEc : completedEnergy hUsual eta s omega < c := hiff.mpr hsτ
    have hEd : completedEnergy hUsual eta s omega < d := hEc.trans_le hcd
    have hsle :
        (s : WithTop ℝ≥0) ≤
          (canonicalEnergyLocalizer hUsual eta c omega : WithTop ℝ≥0) := by
      exact_mod_cast hsτ.le
    rw [energyStoppedIntegrand, if_pos hEc]
    change CompletedIntegrand.completedIntegrand hUsual eta s omega =
      if (s : WithTop ℝ≥0) ≤
          (canonicalEnergyLocalizer hUsual eta c omega : WithTop ℝ≥0) then
        energyStoppedIntegrand hUsual eta d s omega
      else 0
    rw [if_pos hsle, energyStoppedIntegrand, if_pos hEd]
  · have hEc : ¬ completedEnergy hUsual eta s omega < c := by
      intro hbelow
      exact hsτ (hiff.mp hbelow)
    have hτs : canonicalEnergyLocalizer hUsual eta c omega < s := by
      exact lt_of_le_of_ne (le_of_not_gt hsτ) (Ne.symm hsne)
    have hnle :
        ¬ (s : WithTop ℝ≥0) ≤
          (canonicalEnergyLocalizer hUsual eta c omega : WithTop ℝ≥0) := by
      exact_mod_cast (not_le_of_gt hτs)
    rw [energyStoppedIntegrand, if_neg hEc]
    change 0 =
      if (s : WithTop ℝ≥0) ≤
          (canonicalEnergyLocalizer hUsual eta c omega : WithTop ℝ≥0) then
        energyStoppedIntegrand hUsual eta d s omega
      else 0
    rw [if_neg hnle]
-- Source excerpt truncated; follow the exact source link.

Excerpt truncated; the exact source link is authoritative.

theorem AutoSamplingTheory.TechnicalLemmas.StochasticProcesses.EnergyStoppingBoundaryBridge.energyStoppedIntegrand_ae_eq_closedStop_larger Compiled Not mapped

- For every fixed sample path, the strict canonical truncation and the closed stopping of any larger truncation agree for almost every time in `[0,T]`. Only the hitting-time singleton and the terminal singleton are discarded.

theorem energyStoppedIntegrand_ae_eq_closedStop_larger
    (hUsual : SatisfiesUsualConditions filtration mu)
    (eta : LocalProgressiveL2Integrand filtration mu T)
    {c d : ℝ} (hc : 0 ≤ c) (hcd : c ≤ d)
    (omega : Omega) :
    (fun s => energyStoppedIntegrand hUsual eta c s omega) =ᵐ[TimeMeasure.upTo T]
      (fun s =>
        stoppedIntegrand
          (energyStoppedIntegrand hUsual eta d)
          (fun w =>
            (canonicalEnergyLocalizer hUsual eta c w : WithTop ℝ≥0))
          s omega) := by
  have hneTau :
      ∀ᵐ s ∂(TimeMeasure.upTo T),
        s ≠ canonicalEnergyLocalizer hUsual eta c omega := by
    rw [ae_iff]
    simpa using TimeMeasure.upTo_singleton T
      (canonicalEnergyLocalizer hUsual eta c omega)
  have hneT : ∀ᵐ s ∂(TimeMeasure.upTo T), s ≠ T := by
    rw [ae_iff]
    simpa using TimeMeasure.upTo_singleton T T
  filter_upwards [TimeMeasure.ae_le_terminal T, hneTau, hneT]
    with s hsT hsne hsneT
  have hsTlt : s < T := lt_of_le_of_ne hsT hsneT
  exact energyStoppedIntegrand_eq_closedStop_larger_of_ne_boundary
    hUsual eta hc hcd omega hsTlt hsne

end EnergyStoppingBoundaryBridge
end StochasticProcesses
end TechnicalLemmas
end AutoSamplingTheory