Documentation

Determinize.Proof.Symbolic.Environment

Environments of E-affinity draws #

Env n = Fin n → ℝ is a vector of the first n E-affinity draws, indexed by de Bruijn index, and Env.cons prepends the newest draw (cons_zero, cons_succ are its simp lemmas). The symbolic proof evaluates affine forms Symbolic.Affine n in such environments (Proof/Semantics/Internal.lean), and the actual law of a sample history is a measure on Env n.

@[reducible, inline]

An environment of real values indexed by de Bruijn index.

Equations
Instances For
    def Determinize.Proof.Paper.Env.cons {n : ℕ} (head : ℝ) (tail : Env n) :
    Env (n + 1)

    Add the most recently sampled value at index zero.

    Equations
    Instances For
      @[simp]
      theorem Determinize.Proof.Paper.Env.cons_zero {n : ℕ} (head : ℝ) (tail : Env n) :
      cons head tail 0 = head
      @[simp]
      theorem Determinize.Proof.Paper.Env.cons_succ {n : ℕ} (head : ℝ) (tail : Env n) (i : Fin n) :
      cons head tail i.succ = tail i