Algebraic models of simple type theories: A polynomial approach

We develop algebraic models of simple type theories, laying out a framework that extends universal algebra to incorporate both algebraic sorting and variable binding. Examples of simple type theories include the unityped and simply-typed λ-calculi, the computational λ-calculus, and predicate logic. Simple type theories are given models in presheaf categories, with structure specified by algebras of polynomial endofunctors that correspond to natural deduction rules. Initial models, which we construct, abstractly describe the syntax of simple type theories. Taking substitution structure into consideration, we further provide sound and complete semantics in structured cartesian multicategories. This development generalises Lambek's correspondence between the simply-typed λ-calculus and cartesian-closed categories, to arbitrary simple type theories.

[1]  Steve Awodey,et al.  Polynomial pseudomonads and dependent type theory , 2018, 1802.00997.

[2]  Thorsten Altenkirch,et al.  Foundations of Software Science and Computation Structures: 6th International Conference, FOSSACS 2003 Held as Part of the Joint European Conferences on Theory and Practice of Software, ETAPS 2003 Warsaw, Poland, April 7–11, 2003 Proceedings , 2003, Lecture Notes in Computer Science.

[3]  Eugenio Moggi,et al.  Computational lambda-calculus and monads , 1989, [1989] Proceedings. Fourth Annual Symposium on Logic in Computer Science.

[4]  N. Gambino,et al.  Polynomial functors and polynomial monads , 2009, Mathematical Proceedings of the Cambridge Philosophical Society.

[5]  Peter Dybjer,et al.  Categories with Families: Unityped, Simply Typed, and Dependently Typed , 2019, ArXiv.

[6]  F. W. Lawvere,et al.  FUNCTORIAL SEMANTICS OF ALGEBRAIC THEORIES. , 1963, Proceedings of the National Academy of Sciences of the United States of America.

[7]  Marcelo P. Fiore,et al.  Semantic analysis of normalisation by evaluation for typed lambda calculus , 2002, PPDP '02.

[8]  Roy L. Crole,et al.  Algebraic Type Theory , 1994 .

[9]  Roy L. Crole,et al.  Categories for Types , 1994, Cambridge mathematical textbooks.

[10]  Marcelo P. Fiore,et al.  Second-Order and Dependently-Sorted Abstract Syntax , 2008, 2008 23rd Annual IEEE Symposium on Logic in Computer Science.

[11]  Steven Awodey,et al.  Natural models of homotopy type theory , 2014, Mathematical Structures in Computer Science.

[12]  Chung-Kil Hur,et al.  Second-order equational logic , 2010, CSL 2010.

[13]  Makoto Hamana Free S-Monoids: A Higher-Order Syntax with Metavariables , 2004, APLAS.

[14]  Eugenio Moggi,et al.  Notions of Computation and Monads , 1991, Inf. Comput..

[15]  Jirí Adámek,et al.  Algebraic Theories: A Categorical Introduction to General Algebra , 2010 .

[16]  Clive Newstead,et al.  Algebraic Models of Dependent Type Theory , 2018, 2103.06155.

[17]  Law Fw FUNCTORIAL SEMANTICS OF ALGEBRAIC THEORIES. , 1963 .

[18]  Peter Dybjer,et al.  Internal Type Theory , 1995, TYPES.

[19]  Chung-Kil Hur,et al.  On the construction of free algebras for equational systems , 2009, Theor. Comput. Sci..

[20]  Peter Dybjer,et al.  Intuitionistic Type Theory , 2016 .

[21]  Gordon D. Plotkin,et al.  Abstract syntax and variable binding , 1999, Proceedings. 14th Symposium on Logic in Computer Science (Cat. No. PR00158).

[22]  Makoto Hamana,et al.  Multiversal Polymorphic Algebraic Theories: Syntax, Semantics, Translations, and Equational Logic , 2013, 2013 28th Annual ACM/IEEE Symposium on Logic in Computer Science.

[23]  Sam Staton,et al.  Substitution, jumps, and algebraic effects , 2014, CSL-LICS.

[24]  Mark Weber,et al.  Polynomials in categories with pullbacks , 2011, 1106.1983.