Hostname: page-component-78c5997874-mlc7c Total loading time: 0 Render date: 2024-11-10T14:16:12.356Z Has data issue: false hasContentIssue false

Traced Premonoidal Categories

Published online by Cambridge University Press:  15 January 2004

Nick Benton
Affiliation:
Microsoft Research, Roger Needham Building, 7 J J Thomson Avenue, Cambridge CB3 0FB, UK; nick@microsoft.com.
Martin Hyland
Affiliation:
University of Cambridge, Department of Pure Mathematics and Mathematical Statistics, Wilberforce Road, Cambridge CB3 0WB, UK; M.Hyland@dpmms.cam.ac.uk.
Get access

Abstract

Motivated by some examples from functional programming, we propose a generalization of the notion of trace to symmetric premonoidal categories and of Conway operators to Freyd categories. We show that in a Freyd category, these notions are equivalent, generalizing a well-known theorem relating traces and Conway operators in Cartesian categories.

Type
Research Article
Copyright
© EDP Sciences, 2003

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

References

Bird, R.S., Using circular programs to eliminate multiple traversals of data. Acta Informatica 21 (1984) 239-250. CrossRef
P. Bjesse, K. Claessen, M. Sheeran and S. Singh, Lava: Hardware design in Haskell, in International Conference on Functional Programming (1998).
Bloom, S.L. and Ésik, Z., Axiomatizing schemes and their behaviors. J. Comput. Syst. Sci. 31 (1985) 375-393. CrossRef
S.L. Bloom and Z. Ésik, Iteration Theories. EATCS Monographs on Theoretical Computer Science, Springer-Verlag (1993).
Cazanescu, V.E. and Stefanescu, Gh., A general result on abstract flowchart schemes with applications to the study of accessibility, reduction and minimization. Theor. Comput. Sci. 99 (1992) 1-63 . CrossRef
K. Claessen and D. Sands, Observable sharing for functional circuit description, in Asian Computing Science Conference (1999).
J.H. Conway, Regular Algebra and Finite Machines. Chapman Hall (1971).
Crole, R.L. and Pitts, A.M., New foundations for fixpoint computations: FIX-hyperdoctrines and the FIX-logic. Inf. Comput. 98 (1992) 171-210. CrossRef
L. Erkök, Value Recursion in Monadic Computations. Ph.D. thesis, Oregon Graduate Institute, OHSU (October 2002).
Erkök, L., Launchbury, J. and Moran, A., Semantics of value recursion for monadic input/output. RAIRO Theoret. Informatics Appl. 36 (2002) 155-180. CrossRef
Z. Ésik, Axiomatizing iteration categories. Acta Cybernet. 14 (1999).
Ésik, Z., Group axioms for iteration. Inf. Comput. 148 (1999) 131-180 CrossRef
D.P. Friedman and A. Sabry, Recursion is a computational effect. Technical Report 546, Computer Science Department, Indiana University (December 2000).
Fuhrmann, C., Bucalo, A. and Simpson, A., An equational notion of lifting monad. Theor. Comput. Sci. 294 (2003) 31-60 .
Girard, J.-Y., Towards a geometry of interaction, in Categories in Computer Science and Logic, edited by J.W. Gray and A. Scedrov. Contemp. Math. 92 (1989) 69-108. CrossRef
M. Hasegawa, Models of Sharing Graphs (A Categorical Semantics of Let and Letrec). Distinguished Dissertations in Computer Science, Springer-Verlag (1999).
M. Hasegawa, The uniformity principle on traced monoidal categories, edited by R. Blute and P. Selinger. Elsevier, Electronic Notes in Theor. Comput. Sci. (2003).
Hughes, J., Generalising monads to arrows. Sci. Comput. Program. 37 (2000) 67-112 . CrossRef
M. Hyland and A.J. Power, Symmetric monoidal sketches, in Proc. of the 2nd Conference on Principles and Practice of declarative Programming (2000) 280-288.
A. Jeffrey, Premondoidal categories and a graphical view of programs. http://www.cogs.susx.ac.uk/users/alanje/premon/ (June 1998).
A. Joyal, R. Street and D. Verity, Traced monoidal categories. Math. Proc. Cambridge Philoso. Soc. 119 (1996).
J. Launchbury and L. Erkök, Recursive monadic bindings, in International Conference on Functional Programming (2000).
J. Launchbury, J.R. Lewis and B. Cook, On embedding a microarchitectural design language within Haskell. International Conference on Functional Programming (1999).
Launchbury, J. and Peyton Jones, S.L., State in Haskell. Lisp and Symbolic Computation 8 (1995) 293-341. CrossRef
Moggi, E., Notions of computation and monads. Inf. Comput. 93 (1991) 55-92. CrossRef
E. Moggi and A. Sabry, An abstract monadic semantics for value recursion, in Proc. of the 2003 Workshop on Fixed Points in Computer Science (April 2003).
Mulry, P.S., Strong monads, algebras and fixed points, in Applications of Categories in Computer Science, edited by M.P. Fourman, P.T. Johnstone and A.M. Pitts. LMS Lecture Notes 177 (1992) 202-216.
R. Paterson, A new notation for arrows, in Proc. of the International Conference on Functional Programming. ACM Press (September 2001).
R. Paterson, Arrows and computation, in The Fun of Programming, edited by J. Gibbons and O. de Moor. Palgrave (2003) 201-222.
Power, A.J. and Robinson, E.P., Premonoidal categories and notions of computation. Math. Struct. Comput. Sci. 7 (1997) 453-468. CrossRef
A.J. Power and H. Thielecke, Closed Freyd and $\kappa$ -categories. International Conference on Automata, Languages and Programming (1999).
A.K. Simpson and G.D. Plotkin, Complete axioms for categorical fixed-point operators, in Proc. of 15th Annual Symposium on Logic in Computer Science. IEEE Computer Society (2000).
P. Wadler, The essence of functional programming, in Proc. of the 19th Symposium on Principles of Programming Languages. ACM (1992).