定理 先解码后编码恢复整数编码 [090H]
定理 先解码后编码恢复整数编码 [090H]
要比较编码与解码的另一个复合,基点情形可由传输计算验证。编码纤维是集合,且命题对依赖积封闭,故整个比较可用命题值圆周归纳延拓。
设 \(\mathsf {Code}:S^1\to \mathcal U\) 为整数编码族,\(\mathsf {encode}\) 和 \(\mathsf {decode}\) 为相应编码与解码函数。
对 \(x:S^1\) 和 \(n:\mathsf {Code}(x)\),有
\[\mathsf {encode}_x(\mathsf {decode}_x(n))=n.\]证明。在基点处,由整数覆盖族的传输计算,
\[\mathsf {encode}_b(\mathsf {decode}_b(n)) =\operatorname {tr}^{\mathsf {Code}}_{\ell ^n}(0)=n.\]令
\[P(x)=\prod _{n:\mathsf {Code}(x)} \bigl (\mathsf {encode}_x(\mathsf {decode}_x(n))=n\bigr ).\]因为 \(\mathsf {Code}(x)\) 是集合,括号中的同一性类型为命题;命题的依赖积仍是命题。因此 \(P\) 是命题值族。刚证明的基点情形通过圆周归纳延拓到全部 \(x\)。