NLA-lib Explorer

NLAlib.Ops.IsTapeLaw.integral_hidden

Library · theorem

Random tape

Given the history, the output of a hidden-randomness operation has its conditional law. The operation is called at the position p on an input X that is any function of the past; its output is N X w with w its own window. Then the expectation of φ(X, output) is the expectation of ∫ φ(X, y) d(condLaw μ N X)(y): nothing in the past changes the law of the output given the input.

NLAlib.Ops.IsTapeLaw.integral_hidden {K Ω : Type} [MeasurableSpace K] {mΩ : MeasurableSpace Ω}
  {law : ℕ → Measure K} {P : Measure Ω} {ξ : Ω → Ops.Tape K} {α β : Type} [MeasurableSpace α]
  [MeasurableSpace β] {X : Ω → α} {p : ℕ} {φ : α → β → ℝ} (h : Ops.IsTapeLaw law P ξ)
  (hX : Measurable X) (s : ℕ) {k : ℕ} {N : α → (Fin k → K) → β}
  (hN : Measurable (Function.uncurry N)) (hφ : Measurable (Function.uncurry φ))
  (hint : Integrable (fun ω ↦ φ (X ω) (N (X ω) ((ξ ω).windowFn s p k))) P) :
  ∫ (ω : Ω), φ (X ω) (N (X ω) ((ξ ω).windowFn s p k)) ∂P =
    ∫ (ω : Ω), ∫ (y : β), φ (X ω) y ∂Ops.condLaw (law s) N (X ω) ∂P

Full source on GitHub

Import NLAlib.Ops.TapeLaw.