Documentation

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

Degree-one views of dependent pairs #

An encSigma word under a uniform family enc i = e ∘ code i is the encPair word of the plain pair (i, code i b), so reading it as that pair copies the input (sigmaView), and the pair projections then read the index and the code. The index can be read under any family (sigmaFst).

Main results #

theorem Turing.MultiTapeTM.ComputableInDegree.sigmaView {ι γ : Type} {β : ι → Type} {enc : (i : ι) → β i ↪ List Bool} (encI : ι ↪ List Bool) (e : γ ↪ List Bool) (code : (i : ι) → β i → γ) (h : ∀ (i : ι) (b : β i), (enc i) b = e (code i b)) :
ComputableInDegree (fun (x : (i : ι) × β i) => (x.fst, code x.fst x.snd)) (encSigma encI enc) (encPair encI e) 1 1

Read a dependent pair, encoded by a uniform family enc i = e ∘ code i, as the plain pair of its index and code. The encoded words are the same.

theorem Turing.MultiTapeTM.ComputableInDegree.sigmaFst {ι : Type} {β : ι → Type} (encI : ι ↪ List Bool) (enc : (i : ι) → β i ↪ List Bool) :

The index of a dependent pair, under any family of encodings, has degree one.