Source/Packages

Runtime.NativeTelemetryPolicy

packages/execution/src/Runtime/NativeTelemetryPolicy.alpha

2,209 lines52 declarations108.2 KiBSHA-256 32a9bdfdc18e

def · lines 328–359

nativeTelemetrySourceScopesWith

Full file
328def nativeTelemetrySourceScopesWith =
329  (lambda unrestricted recipe : (family TelemetryRecordPlan) .
330    (lambda unrestricted values : (family NativeTelemetrySourceValues) .
331      (lambda unrestricted check : (pi unrestricted operand : (family NativePhysicalOperand) . Nat) .
332        (eliminate
333          TelemetryRecordPlan
334          (lambda unrestricted current : (family TelemetryRecordPlan) . Nat)
335          recipe
336          (branch
337            TelemetryRecordReady
338            parts
339            template
340            .
341            (nat-eliminate
342              (lambda unrestricted count : Nat . Nat)
343              1
344              (lambda unrestricted index : Nat .
345                (lambda unrestricted induction : Nat .
346                  (naturalAnd
347                    induction
348                    (aosChoose
349                      Nat
350                      (telemetryRecordWordRequired parts index)
351                      (eliminate
352                        NativeTelemetrySourceWord
353                        (lambda unrestricted current : (family NativeTelemetrySourceWord) . Nat)
354                        (nativeTelemetrySourceAt values index)
355                        (branch NativeTelemetryWordOmitted . 0)
356                        (branch NativeTelemetryWordValue operand . (check operand)))
357                      1))))
358              captureValueWords))
359          (branch TelemetryRecordRefused reason . 0)))))

The compiler supplied declaration spans and resolved links from this source snapshot. This page does not assert that this file belongs to a checked closure.