Documentation

Complexitylib.Models.RandomAccessMachine.Classes

Random-access-machine complexity classes #

This surface exposes the logarithmic-cost RAM time and space classes and their elementary monotonicity properties.

theorem Complexity.RAM.Program.DecidesInTime.mono {P : Program} {L : Language} {T T' : } (hle : ∀ (m : ), T m T' m) (h : P.DecidesInTime L T) :

Deciding in logarithmic time is monotone in the time bound.

theorem Complexity.RAM.Program.DecidesInSpace.mono {P : Program} {L : Language} {S S' : } (hle : ∀ (m : ), S m S' m) (h : P.DecidesInSpace L S) :

Deciding in logarithmic space is monotone in the space bound.