Documentation

Complexitylib.Models.TuringMachine.Subroutines.UnaryLength

Unary input-length transducer #

Public correctness theorem for TM.unaryLengthTM. On input x, the machine emits List.replicate x.length true within the linear bound |x| + 2.

Main result #

The unary input-length transducer computes List.replicate |x| true within the linear time bound m + 2.