Documentation

Determinize.Proof.FiniteModel.Sampling

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    theorem Determinize.Proof.FiniteModel.outcomeMeasure_univ (outcomes : List (ℚ × ℚ)) (nonnegative : ∀ outcome ∈ outcomes, 0 ≤ outcome.1) :

    Exact probabilities and the entire paper sampling law, not just its mean.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      theorem Determinize.Proof.FiniteModel.finiteLaw_sound (op : Spec.Paper.Op) (kind : Spec.Paper.DistributionAction) (arguments : List ℚ) (outcomes : List (ℚ × ℚ)) (success : Finite.finiteLaw op kind arguments = Except.ok outcomes) :
      FiniteLawMatches op kind arguments outcomes

      Successful executable finite laws preserve exact mass and the complete real sampling measure. Unsupported or invalid calls cannot satisfy the premise.

      theorem Determinize.Proof.FiniteModel.step_deliver_draw (site : Spec.Paper.DistributionAction × Spec.Paper.Op) (arguments : List ℚ) (x : ℚ) (environment : List Finite.Value) (stack : List Finite.Frame) (outcomes : List (ℚ × ℚ)) (success : Finite.finiteLaw site.2 site.1 (arguments ++ [x]) = Except.ok outcomes) :
      Finite.step (Finite.State.deliver (Finite.Value.number x) (Finite.Frame.draw site [] environment arguments :: stack)) = Except.ok (Finite.Step.next (Finite.Evidence.sample site (arguments ++ [x])) (List.map (fun (x : ℚ × ℚ) => match x with | (p, y) => (p, Finite.State.deliver (Finite.Value.number y) stack)) outcomes))
      theorem Determinize.Proof.FiniteModel.reduce_stateExpr_draw (site : Spec.Paper.DistributionAction × Spec.Paper.Op) (arguments : List ℚ) (x : ℚ) (environment : List Finite.Value) (stack : List Finite.Frame) (outcomes : List (ℚ × ℚ)) (success : Finite.finiteLaw site.2 site.1 (arguments ++ [x]) = Except.ok outcomes) (shape : ∀ frame ∈ stack, FrameShape frame) :