Polynomial-time views of dependent pairs #
The polynomial-time forms of the degree-one views in
CslibFrontier.Computability.Machines.Turing.MultiTape.Complexity.Degree.Sigma: a dependent
pair under a uniform family enc i = e ∘ code i read as the plain pair of its index and code
(sigmaView), after which the pair projections read either part, and the index under any family
(sigmaFst).
Main results #
Turing.MultiTapeTM.ComputableInPolyTime.sigmaView: a dependent pair as the plain pair of its index and code.Turing.MultiTapeTM.ComputableInPolyTime.sigmaFst: the index of a dependent pair.
theorem Turing.MultiTapeTM.ComputableInPolyTime.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)) :
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.