Constant-resource branches of the introspection decider #
At zero parameter or index, the sampler has dimension zero. These branches inspect the answer payload without copying the index or source metadata.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Ignore the index in place and inspect only the payload.
Equations
Instances For
Test the encoded index before entering a program containing source metadata.
Equations
- One or more equations did not get rendered due to their size.
Instances For
theorem
MIPRE.Introspection.DecisionCompiler.zeroWrap_closed
{p : Cost.Prog}
(hp : Cost.Prog.WellScoped 1 p)
:
Cost.Prog.WellScoped 1 (zeroWrap p)
theorem
MIPRE.Introspection.DecisionCompiler.zeroWrap_runs_zero
(p : Cost.Prog)
(d : Cost.Data)
:
∃ t ≤ Polynomial.eval d.size zeroTest.timeBound + d.size + 4,
(zeroWrap p).Runs ((Cost.encode 0).cons d) (Cost.encode (zeroTest.toFun d)) t
theorem
MIPRE.Introspection.DecisionCompiler.zeroWrap_runs_pos
{p : Cost.Prog}
(hp : Cost.Prog.WellScoped 1 p)
{n : ℕ}
(hn : 1 ≤ n)
(d r : Cost.Data)
(t : ℕ)
(hr : p.Runs ((Cost.encode n).cons d) r t)
:
(zeroWrap p).Runs ((Cost.encode n).cons d) r (t + ((Cost.encode n).cons d).size + 4)
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[simp]