Runs within a powered monomial #
PRuns W X K c m e p x r: the program p runs from x to r at a cost below
(c (W + 1)^m X^e)^{K + 1} (MIPRE.Pipeline.PDom). The combinators follow the program
constructors the pipeline's routines are built from — a polynomial-time function's code
(ptf), sequencing (seq), a stage keeping a context (stage), hardcoding (hardcode), the
universal machine (univ), and the two unary loops (toUnary, pow) — and each returns its
constants from those of its arguments, so that a chain of them has constants uniform in W, X,
K and the data.
The explicit running times of the unary loops are toUnaryProg_time and powProg_time: they are
polynomial in the values involved.
The unary loops #
The initialization of toUnaryProg.
Equations
Instances For
The running time of toUnaryProg, polynomial in the value x.
The initialization of powProg.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The running time of powProg, polynomial in e, |b| and |b|^e.
The size of a hardcoded program.
Sizes #
Runs within a powered monomial #
p runs from x to r at a cost below (c (W + 1)^m X^e)^{K + 1}.
Equations
- MIPRE.Pipeline.PRuns W X K c m e p x r = ∃ (t : ℕ), MIPRE.Pipeline.PDom W X K c m e t ∧ p.Runs x r t
Instances For
A polynomial-time function's code, on an input of dominated size.
A polynomial-time function's value, of dominated size.
A stage keeping a context: stageProg pre p post on x, with pre x = (a, ctx).
The universal machine, simulating a run of dominated cost.
Writing a dominated number in unary.
A unary power |b|^e, all three of |b|, e and |b|^e dominated.
A routed call: routeOneCall route p post on x, when the router calls p on a with the
context ctx.
A direct answer of a router.