Calculating the Fundamental Group of the Circle in Homotopy Type Theory

Recent work on homotopy type theory exploits an exciting new correspondence between Martin-Lof's dependent type theory and the mathematical disciplines of category theory and homotopy theory. The mathematics suggests new principles to add to type theory, while the type theory can be used in novel ways to do computer-checked proofs in a proof assistant. In this paper, we formalize a basic result in algebraic topology, that the fundamental group of the circle is the integers. Our proof illustrates the new features of homotopy type theory, such as higher inductive types and Voevodsky's univalence axiom. It also introduces a new method for calculating the path space of a type, which has proved useful in many other examples.

[1]  Richard Garner,et al.  The identity type weak factorisation system , 2008, Theor. Comput. Sci..

[2]  Christine C. Paulin Extraction de programmes dans le calcul des constructions , 1989 .

[3]  M. Warren Homotopy Theoretic Aspects of Constructive Type Theory , 2008 .

[4]  S. Awodey,et al.  Homotopy theoretic models of identity types , 2007, Mathematical Proceedings of the Cambridge Philosophical Society.

[5]  Thorsten Altenkirch,et al.  Observational equality, now! , 2007, PLPV.

[6]  U. Norell,et al.  Towards a practical programming language based on dependent type theory , 2007 .

[7]  Conor McBride,et al.  A Few Constructions on Constructors , 2004, TYPES.

[8]  Richard Garner,et al.  Two-dimensional models of type theory , 2008, Mathematical Structures in Computer Science.

[9]  Benno van den Berg,et al.  Types are weak ω‐groupoids , 2008, 0812.0298.

[10]  Giovanni Sambin,et al.  Twenty-five years of constructive type theory. , 1998 .

[11]  Vladimir Voevodsky,et al.  Univalent Foundations of Mathematics , 2011, WoLLIC.

[12]  P. Lumsdaine WEAK ω-CATEGORIES FROM INTENSIONAL TYPE THEORY , 2008 .

[13]  M. Hofmann,et al.  The groupoid interpretation of type theory , 1998 .

[14]  Robert Harper,et al.  Canonicity for 2-dimensional type theory , 2012, POPL '12.

[15]  P. Lumsdaine,et al.  THE SIMPLICIAL MODEL OF UNIVALENT FOUNDATIONS , 2014 .

[16]  Christine Paulin-Mohring,et al.  The coq proof assistant reference manual , 2000 .

[17]  Ulf Norell Dependently typed programming in Agda , 2009, TLDI '09.

[18]  Michael Hedberg,et al.  A coherence theorem for Martin-Löf's type theory , 1998, Journal of Functional Programming.