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

Tests.MarkovSemigroup

0 named declarations scanned from Tests/MarkovSemigroup.lean.

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

Declarations

This aggregator contains no named declarations.

Complete Lean source

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

namespace AutoSamplingTheory.Tests.MarkovSemigroup

open ProbabilityTheory
open scoped ProbabilityTheory ENNReal NNReal

open AutoSamplingTheory.TechnicalLemmas.StochasticProcesses.MarkovSemigroup

noncomputable section

#check AutoSamplingTheory.TechnicalLemmas.StochasticProcesses.MarkovSemigroup.chewi_lemma_1_2_2
#check AutoSamplingTheory.TechnicalLemmas.StochasticProcesses.MarkovSemigroup.markovOperator

example {E : Type*} [MeasurableSpace E] :
    TransitionKernelContract
      (fun _ : ℝ≥0 => (Kernel.id : Kernel E E)) := by
  refine
    { isMarkov := ?_
      initial := rfl
      chapmanKolmogorov := ?_ }
  · intro t
    infer_instance
  · intro s t
    simp

example {E : Type*} [MeasurableSpace E]
    {K : ℝ≥0 → Kernel E E} (hK : TransitionKernelContract K)
    (t : ℝ≥0) (c : ℝ≥0∞) :
    markovOperator hK t (MeasurableENNReal.const c) =
      MeasurableENNReal.const c :=
  markovOperator_const hK t c

example {E : Type*} [MeasurableSpace E]
    {K : ℝ≥0 → Kernel E E} (hK : TransitionKernelContract K)
    (t : ℝ≥0) {f g : MeasurableENNReal E}
    (hfg : ∀ y, f y ≤ g y) (x : E) :
    markovOperator hK t f x ≤ markovOperator hK t g x :=
  markovOperator_apply_mono hK t hfg x

example {E : Type*} [MeasurableSpace E]
    {K : ℝ≥0 → Kernel E E} (hK : TransitionKernelContract K) :
    markovOperator hK 0 = id :=
  markovOperator_zero hK

example {E : Type*} [MeasurableSpace E]
    {K : ℝ≥0 → Kernel E E} (hK : TransitionKernelContract K)
    (s t : ℝ≥0) :
    markovOperator hK s ∘ markovOperator hK t =
      markovOperator hK (s + t) :=
  markovOperator_comp hK s t

example {E : Type*} [MeasurableSpace E]
    {K : ℝ≥0 → Kernel E E} (hK : TransitionKernelContract K)
    (s t : ℝ≥0) :
    markovOperator hK s ∘ markovOperator hK t =
      markovOperator hK t ∘ markovOperator hK s :=
  markovOperator_comm hK s t

example {E : Type*} [MeasurableSpace E]
    {K : ℝ≥0 → Kernel E E} (hK : TransitionKernelContract K) :
    markovOperator hK 0 = id ∧
      ∀ s t : ℝ≥0,
        markovOperator hK s ∘ markovOperator hK t =
            markovOperator hK (s + t) ∧
          markovOperator hK t ∘ markovOperator hK s =
            markovOperator hK (s + t) :=
  chewi_lemma_1_2_2 hK

end

end AutoSamplingTheory.Tests.MarkovSemigroup