Documentation

Determinize.Proof.Traces.SamplingContinuation

Sampling continuations #

sampleContinuation feeds a recorded value to the sampling step of an expression; the compact replay (Proof/Traces/CompactReplay.lean) and the symbolic trace generation use it to read a G-affinity draw from a trace, and measurable_sampleContinuation makes that step a measurable function of the expression and the value.

Supply a retained draw directly; other reduction actions have no sampling continuation.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    theorem Determinize.Proof.StepTraces.measurable_actionContinuation {α : Type u_1} [MeasurableSpace α] {action : α → Spec.Paper.Action} (family : Paper.MeasurableActionFamily α action) :
    Measurable fun (pair : α × ℝ) => match action pair.1 with | Spec.Paper.Action.sample site fiber continuation => continuation pair.2 | x => Spec.Paper.Expr.unit