A Category Theoretic Formulation for Engeler-style Models of the Untyped λ-Calculus

We give a category-theoretic formulation of Engeler-style models for the untyped λ-calculus. In order to do so, we exhibit an equivalence between distributive laws and extensions of one monad to the Kleisli category of another and explore the example of an arbitrary commutative monad together with the monad for commutative monoids. On Set as base category, the latter is the finite multiset monad. We exploit the self-duality of the category Rel, i.e., the Kleisli category for the powerset monad, and the category theoretic structures on it that allow us to build models of the untyped λ-calculus, yielding a variant of the Engeler model. We replace the monad for commutative monoids by that for idempotent commutative monoids, which, on Set, is the finite powerset monad. This does not quite yield a distributive law, so requires a little more subtlety, but, subject to that subtlety, it yields exactly the original Engeler construction.

[1]  John Power,et al.  Pseudo-commutative monads and pseudo-closed 2-categories , 2002 .

[2]  E. Engeler Algebras and combinators , 1981 .

[3]  Raymond Hoofman,et al.  The theory of semi-functors , 1993, Mathematical Structures in Computer Science.

[4]  M. Dezani-Ciancaglini,et al.  Extended Type Structures and Filter Lambda Models , 1984 .

[5]  John Power,et al.  Pseudo-distributive Laws , 2003, MFPS.

[6]  P. T. Johnstone,et al.  TOPOSES, TRIPLES AND THEORIES (Grundlehren der mathematischen Wissenschaften 278) , 1986 .

[7]  G. Plotkin Set-theoretical and Other Elementary Models of the -calculus Part 1: a Set-theoretical Deenition of Applica- Tion 1 Introduction , 2007 .

[8]  Edmund Robinson,et al.  Premonoidal categories and notions of computation , 1997, Mathematical Structures in Computer Science.

[9]  Glynn Winskel,et al.  Profunctors, open maps and bisimulation , 2004, Mathematical Structures in Computer Science.

[10]  Giuseppe Longo,et al.  Set-theoretical models of λ-calculus: theories, expansions, isomorphisms , 1983, Ann. Pure Appl. Log..

[11]  G. M. Kelly,et al.  Two-dimensional monad theory , 1989 .

[12]  Ieke Moerdijk,et al.  A Remark on the Theory of Semi-Functors , 1995, Math. Struct. Comput. Sci..

[13]  John Power,et al.  Distributivity for endofunctors, pointed and co-pointed endofunctors, monads and comonads , 2000, CMCS.

[14]  G. Kelly A unified treatment of transfinite constructions for free algebras, free monoids, colimits, associated sheaves, and so on , 1980, Bulletin of the Australian Mathematical Society.

[15]  Miki Tanaka,et al.  Pseudo-Distributive Laws and a Unified Framework for Variable Binding , 2004 .

[16]  Anders Kock,et al.  Closed categories generated by commutative monads , 1971, Journal of the Australian Mathematical Society.