Internal machine constructions for explicit oracle time #
The quantitative halting contracts ComputesOracleInTimeOn and ComputesOracleInTime are
re-exported by Oracle.Time; their closed/open lifts, buffered sequential machine composition
oComp, halting conversions and joint-state proofs stay in this implementation module.
Private machine-level helpers #
Basic properties of ComputesOracleInTimeOn #
Finiteness of the operation channel type is part of the certificate.
Enlarging the step schedule preserves halting oracle realization unconditionally, without requiring the larger schedule to be computable.
Equality of the complete joint output/state semantics preserves halting oracle realization.
Every supported encoded output has length at most t a, regardless of oracle reply lengths.
Instrumenting the private oracle state with a transcript shows that program a makes at most
t a external queries on every path, each of payload length at most t a.
Every execution path of program a makes at most t a external queries.
Every external query issued by program a has payload length at most t a.
A step-t oracle realization automatically satisfies the (t, t) time-and-query bound.
Sampling one private fair bit takes 1 step and leaves every external oracle untouched.
One bounded-prefix external query (op, q) reading at most limit reply bits runs in
4 * q.length + 2 * limit + 6 steps.
Sequence a closed halting probabilistic computation ProbOracleComp.sample (first a) before
any halting oracle continuation second, in 2 * t₁ a + t₂' a + 4 steps.
Sequence a halting oracle computation first a before a closed halting continuation
ProbOracleComp.sample (second b), in 2 * t₁ a + t₂' a + 4 steps.
A polynomially bounded halting oracle schedule gives a strict IsOraclePPTOn certificate.
A program returning its declared encoding has the same explicit-time halting oracle certificates.
Lift a closed halting realization to an open oracle realization via ProbOracleComp.sample,
preserving the exact step schedule t.
A sampled closed program certified without external channels (Operation := Empty) is a closed
halting realization with the exact same step schedule t.
Lift a plain deterministic time-and-space computation to a halting oracle realization with the
exact same step bound t.
Deterministically prepare the input of a halting oracle program in
2 * tf a + tp (prepare a) + 4 steps.
Deterministically postprocess every result of a halting oracle program in
2 * tp a + tf' a + 4 steps.
Postprocess a halting oracle program with a deterministic length-indexed bound under a monotone
step function, using hprogram.length_le to bound intermediate encoded words by tp a.
Issue one bounded-prefix external query (op, request a) reading at most limit a reply bits,
given a plain deterministic computation preparing (request a, limit a).
Uniform strict oracle PPT is equivalent to halting oracle realization under a polynomially
bounded step schedule. The forward direction normalizes any IsOraclePPTOn witness via
IsOraclePPTOn.oraclePhase; the backward direction pads via ComputesOracleInTimeOn.mono.
Joint (t, q) properties and parameterized API #
Monotonicity in both the step schedule and the query budget.
Deterministic preprocessing updates the step bound while preserving the query budget.
Deterministic postprocessing updates the step bound while preserving the query budget q a.
Closed private sampling followed by an oracle continuation preserves the continuation's query
budget bound q₂' a.
An oracle computation followed by closed private postprocessing preserves the oracle
computation's query budget q₁ a.
Expose the underlying ComputesOracleInTimeOn certificate on encPair encUnary encBits.
Enlarging a parameterized step schedule preserves halting oracle realization unconditionally.
Equality of the complete joint output/state semantics preserves parameterized halting realization.
Every execution path of program n aux makes at most t n aux.length external queries.
Every supported encoded output on (n, aux) has length at most t n aux.length.
A polynomially bounded parameterized halting oracle schedule gives IsOraclePPT.
Parameterized uniform strict oracle PPT is equivalent to ComputesOracleInTime under a
polynomially bounded schedule in n + aux.length.
Parameterized uniform strict oracle PPT is equivalent to ComputesOracleInTimeAndQueries
under polynomially bounded time and query schedules.