The framed encoding of dependent pairs #
encSigma encI enc encodes ⟨i, b⟩ : Σ i, β i as the framed index encI i followed by
enc i b, the encoding of the second component chosen by the index. It is the dependent version of
Turing.MultiTapeTM.encPair, with the same layout.
A family of encodings is usually uniform: each enc i is a fixed encoding e of a common type
after an index-dependent map code i. Then encSigma encI enc ⟨i, b⟩ is the word of the plain
pair (i, code i b) under encPair encI e (encSigma_eq_encPair), so the polynomial-time
certificates for pairs apply to its view as a pair
(Turing.MultiTapeTM.ComputableInPolyTime.sigmaView). Conversely, a plain pair is a dependent
pair with a constant family (encPair_eq_encSigma).
The layout is that of Cslib.Encoding.encSigma in leanprover/cslib#1213, which frames the index
with delimit, the same map as frame.
Main definitions #
Turing.MultiTapeTM.encSigma: the framed encoding of dependent pairs.
Main results #
Turing.MultiTapeTM.encSigma_eq_encPair: a uniform family encodes a dependent pair as the plain pair of its index and code.Turing.MultiTapeTM.encPair_eq_encSigma: a plain pair is a dependent pair with a constant family.
A uniform family of encodings, enc i = e ∘ code i, encodes a dependent pair as the plain pair
of its index and code.