Documentation

CslibFrontier.Computability.TreeEval.Reader.Size

The space of the Tree Evaluation read machine #

On the encoding of an instance of value length ℓ and height H, the space budget of every state that Cslib.TreeEval.Reader.machine reaches is O((ℓ + H + 1) · log (ℓ + 2)): residues below the prime p ≤ 4ℓ + 2 have O(log (ℓ + 2)) bits. The registers and the sums hold ℓ of them, the stack holds at most H frames with a residue each, and the counters have O(ℓ + H + 1) bits.

Main definitions #

Main results #

References #

The space bound (ℓ + H + 1) · (|ℓ| + 1).

structure Cslib.TreeEval.Reader.Bounds (ℓ H : ℕ) (s : State) :

The bounds on the components of a state that satisfies the invariant.

theorem Cslib.TreeEval.Reader.bounds_of_inv {ℓ H : ℕ} {s : State} (hs : Inv ℓ H s) :
Bounds ℓ H s
theorem Cslib.TreeEval.Reader.stateBudget_le {ℓ H : ℕ} {s : State} (hb : Bounds ℓ H s) :

The budget of a state within the space bound.