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 #
Turing.MultiTapeTM.ComputableInDegree.sigmaView: a dependent pair as the plain pair of its index and code.Turing.MultiTapeTM.ComputableInDegree.sigmaFst: the index of a dependent pair.
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)) :
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.