Documentation

CslibFrontier.Computability.Machines.Turing.MultiTape.Complexity.Degree.Sum

Degree-one bounds for tagged sum constructors #

Prepending the fixed Boolean tag bit to the payload encoding has a direct degree-one certificate, without any finite-domain or inhabitance assumption on either summand.

Main results #

References #

Uses Christian Reitwiessner's native degree/resource calculus (ComputableInDegree.append).

theorem Turing.MultiTapeTM.ComputableInDegree.inl {α : Type u} {β : Type v} (left : α ↪ List Bool) (right : β ↪ List Bool) :
ComputableInDegree Sum.inl left (encSum left right) 1 1

A left sum tag has a direct degree-one implementation.

theorem Turing.MultiTapeTM.ComputableInDegree.inr {α : Type u} {β : Type v} (left : α ↪ List Bool) (right : β ↪ List Bool) :
ComputableInDegree Sum.inr right (encSum left right) 1 1

A right sum tag has a direct degree-one implementation.