Documentation

CslibFrontier.Computability.Circuit.Arithmetic.Separation.Uni.Bounds

The universal automaton: bounds for the time #

The number of steps of the universal machine on a plain instance (Uni.runLength), and bounds for the length Uni.tU of the tapes of the automaton that simulates a machine: it is monotone and at most quadratic in the number of bits of an address. The bounds (m * n).size ≤ m.size + n.size and n.size ≤ lg n that the source proves here are Nat.size_mul_le and Nat.size_le_log_two_add_one.

Main definitions #

Main results #

References #

The number of steps of the universal machine on a τ-plain instance of size s.

theorem Cslib.Circuits.Arithmetic.Separation.Uni.natCast_runLength (supp : Finset (List Bool)) (τ s : ℕ) :
↑(runLength supp τ s) = 3 * ↑s + codeCost supp * ↑τ + 10
theorem Cslib.Circuits.Arithmetic.Separation.Uni.tU_mono {b T T' L L' : ℕ} (hT : T ≤ T') (hL : L ≤ L') :
tU b T L ≤ tU b T' L'
theorem Cslib.Circuits.Arithmetic.Separation.Uni.tU_le (b T L : ℕ) :
tU b T L ≤ (50 + b) * ((T + 1) * (L + 1) ^ 2)