def
definition
apply
show as:
view math explainer →
open explainer
Generate a durable explainer page for this declaration.
open lean source
IndisputableMonolith.Measurement.RSNative.Alignment on GitHub at line 42.
browse module
All declarations in this module, on Recognition.
explainer page
depends on
formal source
39namespace Alignment
40
41/-- Apply an alignment map to a measurement value, keeping window/uncertainty, and appending an audit note. -/
42noncomputable def apply {α β : Type} (A : Alignment α β) (m : Measurement α) : Measurement β :=
43 { value := A.map m.value
44 window := m.window
45 protocol := A.protocol.protocol
46 uncertainty := m.uncertainty
47 notes := m.notes ++ [s!"Aligned via {A.protocol.name}"]
48 }
49
50end Alignment
51
52end RSNative
53end Measurement
54end IndisputableMonolith