NLA-lib Explorer

Measurability with respect to the past of the tape, for fun_prop

Library · Source module

Measurability with respect to the past of the tape, for fun_prop

A law-level proof needs Measurable[Tape.past ξ q] X for a random variable X built from the entries of the tape before q (the window lemma, integral_window). fun_prop cannot prove it in that form: the σ-algebra on Ω is not an instance, so the composition lemmas of Mathlib, which take the measurable space of the domain as an instance, do not unify with it.

The fix is a type synonym: NLAlib.Ops.Tape.PastAt ξ q is Ω with the instance past ξ q. Measurability with respect to the past is measurability on the synonym (NLAlib.Ops.Tape.measurable_past_iff, by Iff.rfl), and the entries and windows of the tape before q are registered with fun_prop on the synonym, with the position condition as a side goal (discharged by omega). So fun_prop (disch := omega) proves the measurability of any measurable function of the entries before q.

Main results

* NLAlib.Ops.Tape.PastAt, NLAlib.Ops.Tape.measurable_past_iff. * NLAlib.Ops.Tape.measurable_pastEntry, NLAlib.Ops.Tape.measurable_pastWindow: the fun_prop leaves.

Declarations