Hedberg’s theorem in dependent type theory says that given a type with untruncated decidable equality, then it is an h-set. This was first proven in (Hedberg)
Suppose that is a type which has untruncated decidable equality. In other words, the projection
(where is the path type of , “+” forms the sum type, and on the right we have the -dependent function type into the empty type), has a section.
Then is a h-set.
Let be the given section. Thus, for any , is either a path from to or a function from to the empty type (implying that is also empty).
It suffices to exhibit an operation connecting any endo-path to the identity path . Given such a path, define . If lies in the second case, then is empty, a contradiction since we know it contains ; hence we may assume as well.
Let be the image of under the section . This is a path in the total space lying over the path in . Equivalently, it is a path in the fiber over from to , where denotes transport in the fibration along the path . However, we have defined , and transport in a path-space is just composition, so may be regarded as a path from to . Canceling , we obtain a path from to .
Michael Hedberg, A coherence theorem for Martin-Löf’s type theory, J. Functional Programming, (1998)
Nicolai Kraus, A direct proof of Hedberg’s theorem, blog post
Nicolai Kraus, Martin Escardo, Thierry Coquand , Thorsten Altenkirch, Generalizations of Hedberg’s theorem, in M. Hasegawa (Ed.): TLCA 2013, LNCS 7941, pp. 173-188. Springer, Heidelberg 2013. (pdf)
Homotopy Type Theory: Univalent Foundations of Mathematics, The Univalent Foundations Project, Institute for Advanced Study, 2013. (web, pdf)
Created on December 8, 2022 at 19:51:19. See the history of this page for a list of all contributions to it.