Documentation

CslibFrontier.Computability.Probabilistic.Oracle.Time.Basic

Explicit halting time and query contracts for oracle programs #

These numerical contracts describe one finite machine, its supported halting configurations, and the complete joint output/external-state law. They contain no clean-phase compiler witness. The Oracle.Time facade exports their machine-construction and quantitative closure theorems.

Main definitions #

def Cslib.Probability.ComputesOracleInTimeOn {Operation α β : Type} [DecidableEq Operation] (input : α ↪ List Bool) (output : β ↪ List Bool) (t : α → ℕ) (program : α → WordOracleComp Operation β) :

One finite-control oracle machine realizes the joint output and external-state distribution of program within t a steps across all shared stateful handlers, and has halted on every supported execution at step t a.

def Cslib.Probability.ComputesOracleInTime {Operation β : Type} [DecidableEq Operation] (output : β ↪ List Bool) (t : ℕ → ℕ → ℕ) (program : ℕ → List Bool → WordOracleComp Operation β) :

Uniform halting oracle realization on a unary security parameter and auxiliary word, indexed by (n, aux.length).

def Cslib.Probability.ComputesOracleInTimeAndQueriesOn {Operation α β : Type} [DecidableEq Operation] (input : α ↪ List Bool) (output : β ↪ List Bool) (t q : α → ℕ) (program : α → WordOracleComp Operation β) :

Joint explicit (t, q) realization: program is realized by a halting oracle machine within t a steps and makes at most q a external queries on every execution path.

def Cslib.Probability.ComputesOracleInTimeAndQueries {Operation β : Type} [DecidableEq Operation] (output : β ↪ List Bool) (t q : ℕ → ℕ → ℕ) (program : ℕ → List Bool → WordOracleComp Operation β) :

Parameterized joint (t, q) time-and-query realization on a unary security parameter and auxiliary word.