A Categorical Interpretation of Landin's Correspondence Principle
نویسندگان
چکیده
Many programming languages can be studied by desugaring them into an intermediate language, namely, the simply-typed-calculus. In this manner Landin and Tennent discovered a \correspondence" between the semantics of deenition bindings and parameter bindings such that the semantics of free identiiers becomes independent of their mode of deenition. In this paper we consider programming languages with modules and we desugar modules into records. A categorical model for the simply-typed-calculus with records is then freely generated. The record construction becomes a tensor product, the lambda abstraction construction becomes a function space, and if the language satisses the correspondence principle, then the categorical exponentiation diagram commutes. A converse result is also proved. The framework for deening the model is of interest because it deenes a hierarchy of call-by-value-calculi, of which call-by-name is the weakest form of call-by-value calculus. Applications to compiling are given.
منابع مشابه
Three Puzzles about Bohr’s Correspondence Principle
Niels Bohr’s “correspondence principle” is typically believed to be the requirement that in the limit of large quantum numbers (n→∞) there is a statistical agreement between the quantum and classical frequencies. A closer reading of Bohr’s writings on the correspondence principle, however, reveals that this interpretation is mistaken. Specifically, Bohr makes the following three puzzling claims...
متن کاملMultiple Correspondence Analysis
Multiple correspondence analysis (MCA) is an extension of correspondence analysis (CA) which allows one to analyze the pattern of relationships of several categorical dependent variables. As such, it can also be seen as a generalization of principal component analysis when the variables to be analyzed are categorical instead of quantitative. Because MCA has been (re)discovered many times, equiv...
متن کاملCorrespondence Principle in Quantum Gravity
The problem of consistent formulation of the correspondence principle in quantum gravity is considered. The usual approach based on the use of the two-particle scattering amplitudes is shown to be in disagreement with the classical result of General Relativity given by the Schwarzschild solution. It is shown also that this approach fails to describe whatever non-Newtonian interactions of macros...
متن کاملCorrect Looping Arrows from Cyclic Terms - Traced Categorical Interpretation in Haskell
Arrows involving a loop operator provide an interesting programming methodology for looping computation. On the other hand, Haskell can define cyclic data structures by recursive definitions. This paper shows that there exists a common principle underlying both cyclic data and cyclic computations of arrow programs. We examine three concrete examples of constructing looping arrows from a syntact...
متن کاملOperational Theories of Physics as Categories
We introduce a new approach to the study of operational theories of physics using category theory. We define a generalisation of the (causal) operational-probabilistic theories of Chiribella et al. and establish their correspondence with our new notion of an operational category. Our work is based on effectus theory, a recently developed area of categorical logic, to which we give an operationa...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1993