Direct primitives for plain degree bounds #
These rules retain independent cost and encoded-output degrees. Constants have cost degree one and output degree zero; encoded equality uses the upstream copy machine. Output and input encoding transports reuse the same realizing machine and preserve both degrees, including zero. No higher computability calculus is used in their proofs.
Main results #
Turing.MultiTapeTM.ComputableInDegree.const: a constant encoded result.Turing.MultiTapeTM.ComputableInDegree.of_finite: a function on any finite input type.Turing.MultiTapeTM.ComputableInDegree.of_eq: copy an unchanged encoded word.Turing.MultiTapeTM.ComputableInDegree.of_enc_eq,.of_encIn_eq: transport encoded equality.
References #
Uses cslib's constant and copy machines and the independent degree bounds of this library.
A function on a finite input type has linear cost and constant output growth. The machine has constant time and zero workspace; no inhabitedness assumption is needed.
Equal output words retain the realizing machine and both independent degrees.
An input map preserving the complete encoded word retains the same machine and degrees. The semantic map needs no separate computational assumption: the machine sees the same word.
Restricting inputs preserves the same machine and both degrees.