NLA-lib Explorer

NLAlib.Ops.Mem.measurable_readBlocks_one_map

Library · theorem

A Boolean of one cell read from the memory, measurable on the cell: measurable.

NLAlib.Ops.Mem.measurable_readBlocks_one_map {K : Type} [Inhabited K] [MeasurableSpace K]
  {x : ℕ × ℕ} {φ : List (List K) → Bool} (hφ : MeasurableSet {a | φ [[a]] = true}) :
  (Measurable fun m ↦ (Option.map φ (m.readBlocks [x] [1])).isSome) ∧
    Measurable fun m ↦ (Option.map φ (m.readBlocks [x] [1])).getD false

Full source on GitHub

Import NLAlib.Ops.Catalog.ScalarMeasurable.