Documentation

Determinize.Proof.Symbolic.TraceGeneration

The exact-depth law of the source after a G-affinity draw at op is supplied: the continuation runs under the history's actual law and the draw is recorded in front of the trace.

Equations
  • One or more equations did not get rendered due to their size.
Instances For

    The exact-depth law of the target after a G-affinity draw at op is supplied: the determinized continuation runs at the history's mean environment and the draw is recorded in front of the trace.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      theorem Determinize.Proof.StepTraces.generatedSourceKernel_apply {n : ℕ} {ty : Spec.Paper.Ty} {site : Spec.Paper.DistributionAction × Spec.Paper.Op} {fiber : MeasureTheory.Measure ℝ} {continuation : ℝ → Paper.Symbolic.AffineExpr n} (depth : ℕ) (history : Paper.Symbolic.SampleEnv Paper.primitiveLaws n) (safe : Paper.Symbolic.SampleEnv.DomainSafe Paper.primitiveLaws history) (expression : Paper.Symbolic.AffineExpr n) (typed : Paper.Symbolic.AffineExpr.WellTyped [] expression ty) (actionEq : expression.symbolicReduce = Paper.Symbolic.AffineExpr.SymbolicAction.sampleG site fiber continuation) (op : Spec.Paper.Op) (value : ℝ) :
      (generatedSourceKernel depth history safe expression op).kernel value = MeasureTheory.Measure.map (prepend (entry (some op) value)) (actualTraceLaw depth history (continuation value))
      theorem Determinize.Proof.StepTraces.generatedTargetKernel_apply {n : ℕ} {ty : Spec.Paper.Ty} {site : Spec.Paper.DistributionAction × Spec.Paper.Op} {fiber : MeasureTheory.Measure ℝ} {continuation : ℝ → Paper.Symbolic.AffineExpr n} (depth : ℕ) (history : Paper.Symbolic.SampleEnv Paper.primitiveLaws n) (expression : Paper.Symbolic.AffineExpr n) (typed : Paper.Symbolic.AffineExpr.WellTyped [] expression ty) (actionEq : expression.symbolicReduce = Paper.Symbolic.AffineExpr.SymbolicAction.sampleG site fiber continuation) (op : Spec.Paper.Op) (value : ℝ) :
      (generatedTargetKernel depth history expression op).kernel value = MeasureTheory.Measure.map (prepend (entry (some op) value)) (targetTraceLaw depth history (continuation value))
      theorem Determinize.Proof.StepTraces.actualTraceLaw_sampleG {n : ℕ} {ty : Spec.Paper.Ty} {site : Spec.Paper.DistributionAction × Spec.Paper.Op} (depth : ℕ) (history : Paper.Symbolic.SampleEnv Paper.primitiveLaws n) (safe : Paper.Symbolic.SampleEnv.DomainSafe Paper.primitiveLaws history) (expression : Paper.Symbolic.AffineExpr n) (typed : Paper.Symbolic.AffineExpr.WellTyped [] expression ty) (notValue : expression.isValue ≠ true) (fiber : MeasureTheory.Measure ℝ) (continuation : ℝ → Paper.Symbolic.AffineExpr n) (fiberMass : fiber Set.univ = 1) (actionEq : expression.symbolicReduce = Paper.Symbolic.AffineExpr.SymbolicAction.sampleG site fiber continuation) (op : Spec.Paper.Op) (opEq : generationOp expression.skeleton = some op) :
      actualTraceLaw (depth + 1) history expression = fiber.bind ⇑(generatedSourceKernel depth history safe expression op).kernel
      theorem Determinize.Proof.StepTraces.targetTraceLaw_sampleG {n : ℕ} {ty : Spec.Paper.Ty} {site : Spec.Paper.DistributionAction × Spec.Paper.Op} (depth : ℕ) (history : Paper.Symbolic.SampleEnv Paper.primitiveLaws n) (expression : Paper.Symbolic.AffineExpr n) (typed : Paper.Symbolic.AffineExpr.WellTyped [] expression ty) (notValue : expression.isValue ≠ true) (fiber : MeasureTheory.Measure ℝ) (continuation : ℝ → Paper.Symbolic.AffineExpr n) (actionEq : expression.symbolicReduce = Paper.Symbolic.AffineExpr.SymbolicAction.sampleG site fiber continuation) (op : Spec.Paper.Op) (opEq : generationOp expression.skeleton = some op) :
      targetTraceLaw (depth + 1) history expression = fiber.bind ⇑(generatedTargetKernel depth history expression op).kernel