Abstract
We consider a call-by-value language, with higher-order functions, records, references to values of arbitrary type, and subtyping. We adapt an intrinsic denotational model for a similar language based on a possible-world semantics, recently given by Levy [14], and relate it to an untyped model by a logical relation. Following the methodology of Reynolds [22], this relation is used to establish coherence of the typed semantics, with a coercion interpretation of subtyping. We obtain a typed denotational semantics of (imperative) object-based languages.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Abadi, M., Cardelli, L.: A Theory of Objects. Springer, Heidelberg (1996)
Abadi, M., Cardelli, L., Viswanathan, R.: An interpretation of objects and object types. In: Proc. POPL 1996, pp. 396–409 (1996)
Abadi, M., Leino, K.R.M.: A logic of object-oriented programs. In: Verification: Theory and Practice. Essays Dedicated to Zohar Manna on the Occasion of His 64th Birthday. LNCS, pp. 11–41. Springer, Heidelberg (2004)
Abramsky, S., Honda, K., McCusker, G.: A fully abstract game semantics for general references. In: Proc. LICS 1998, pp. 334–344 (1998)
Ahmed, J., Appel, A.W., Virga, R.: A stratified semantics of general references embeddable in higher-order logic. In: Proc. LICS 2002, pp. 75–86 (2002)
Benton, N., Leperchey, B.: Relational reasoning in a nominal semantics for storage. In: Urzyczyn, P. (ed.) TLCA 2005. LNCS, vol. 3461, pp. 86–101. Springer, Heidelberg (2005)
Breazu-Tannen, V., Coquand, T., Gunter, G., Scedrov, A.: Inheritance as implicit coercion. Information and Computation 93(1), 172–221 (1991)
Bruce, K.B., Cardelli, L., Pierce, B.C.: Comparing object encodings. Information and Computation 155(1/2), 108–133 (1999)
Honda, K., Berger, M., Yoshida, N.: An observationally complete program logic for imperative higher-order functions. To appear in Proc. LICS 2005 (2005)
Jeffrey, A., Rathke, J.: A fully abstract may testing semantics for concurrent objects. In: Proc. LICS 2002, pp. 101–112 (2002)
Kamin, S.N., Reddy, U.S.: Two semantic models of object-oriented languages. In: Theoretical Aspects of Object-Oriented Programming: Types, Semantics, and Language Design, pp. 464–495. MIT Press, Cambridge (1994)
Laird, J.: A categorical semantics of higher-order store. In: Proc. CTCS 2002. ENTCS, vol. 69, pp. 1–18 (2003)
Landin, P.J.: The mechanical evaluation of expressions. Computer Journal 6(4), 308–320 (1964)
Levy, P.B.: Possible world semantics for general storage in call-by-value. In: Bradfield, J.C. (ed.) CSL 2002 and EACSL 2002. LNCS, vol. 2471, p. 232. Springer, Heidelberg (2002)
Levy, P.B.: Call-By-Push-Value. A Functional/Imperative Synthesis. Semantic Structures in Computation, vol. 2. Kluwer, Dordrecht (2004)
Mitchell, J.C., Moggi, E.: Kripke-style models for typed lambda calculus. Annals of Pure and Applied Logic 51(1–2), 99–124 (1991)
Oles, F.J.: A Category-theoretic approach to the semantics of programming languages. PhD thesis, Syracuse University (1982)
Pitts, A.M.: Relational properties of domains. Information and Computation 127, 66–90 (1996)
Reddy, U.S., Yang, H.: Correctness of data representations involving heap data structures. Science of Computer Programming 50(1–3), 129–160 (2004)
Reus, B., Schwinghammer, J.: Denotational semantics for Abadi and Leino’s logic of objects. In: Sagiv, M. (ed.) ESOP 2005. LNCS, vol. 3444, pp. 264–279. Springer, Heidelberg (2005)
Reus, B., Streicher, T.: Semantics and logic of object calculi. Theoretical Computer Science 316, 191–213 (2004)
Reynolds, J.C.: What do types mean? — From intrinsic to extrinsic semantics. In: Essays on Programming Methodology. Springer, Heidelberg (2002)
Schwinghammer, J.: A typed semantics for languages with higher-order store and subtyping.Technical Report 2005:05, Informatics, University of Sussex (2005)
Smyth, M.B., Plotkin, G.D.: The category-theoretic solution of recursive domain equations. SIAM Journal on Computing 11(4), 761–783 (1982)
Stark, I.: Names, equations, relations: Practical ways to reason about new. Fundamenta Informaticae 33(4), 369–396 (1998)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2005 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Schwinghammer, J. (2005). A Typed Semantics of Higher-Order Store and Subtyping. In: Coppo, M., Lodi, E., Pinna, G.M. (eds) Theoretical Computer Science. ICTCS 2005. Lecture Notes in Computer Science, vol 3701. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11560586_31
Download citation
DOI: https://doi.org/10.1007/11560586_31
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-29106-0
Online ISBN: 978-3-540-32024-1
eBook Packages: Computer ScienceComputer Science (R0)