NLA-lib Explorer

NLAlib.Ops.Mem.measurable_cell

Library · theorem

A cell of a memory, as a flag and a value, is measurable.

NLAlib.Ops.Mem.measurable_cell {K : Type} [Inhabited K] [MeasurableSpace K] (z : ℕ × ℕ) :
  Measurable fun m ↦ ((m.store.get z.1 z.2).isSome, (m.store.get z.1 z.2).getD default)

Full source on GitHub

Import NLAlib.Ops.RunMeasurable.