def
definition
def or abbrev
mapWithProtocol
show as:
view Lean formalization →
formal statement (Lean)
136def mapWithProtocol {α β : Type} (f : α → β) (p : Protocol) (m : Measurement α) : Measurement β :=
proof body
Definition body.
137 { value := f m.value
138 window := m.window
139 protocol := p
140 uncertainty := m.uncertainty
141 notes := m.notes
142 }
143
144/-- Transform the uncertainty record (when present). -/