Documentation

Complexity.Computability.Machines.Turing.MultiTape.Internal.DegreeUnaryPrimitives

Direct unary degree primitives #

Streaming machines implement successor and saturating predecessor with linear cost and output growth. No higher tidy computability calculus is used.

Successor on unary natural numbers, including the empty encoding of zero.

Saturating predecessor on unary natural numbers.

The unary zero test preserves the original linear cost and output-degree contract.