A STEP-INDEXED SEMANTICS OF IMPERATIVE OBJECTS

被引:0
|
作者
Hritcu, Catalin [1 ]
Schwinghammer, Jan [2 ]
机构
[1] Univ Saarland, Dept Comp Sci, D-6600 Saarbrucken, Germany
[2] Univ Saarland, Programming Syst Lab, D-6600 Saarbrucken, Germany
关键词
Formal calculi; objects; type systems; programming language semantics; RECURSIVE TYPES; INFERENCE; LOGIC;
D O I
10.2168/LMCS-5(4:2)2009
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Step-indexed semantic interpretations of types were proposed as an alternative to purely syntactic proofs of type safety using subject reduction. The types are interpreted as sets of values indexed by the number of computation steps for which these values are guaranteed to behave like proper elements of the type. Building on work by Ahmed, Appel and others, we introduce a step-indexed semantics for the imperative object calculus of Abadi and Cardelli. Providing a semantic account of this calculus using more 'traditional', domain-theoretic approaches has proved challenging due to the combination of dynamically allocated objects, higher-order store, and an expressive type system. Here we show that, using step-indexing, one can interpret a rich type discipline with object types, subtyping, recursive and bounded quantified types in the presence of state.
引用
收藏
页码:1 / 48
页数:48
相关论文
共 50 条
  • [1] Semantics under Step-indexed Model and Formalization
    Guo, Hao
    Cao, Qin-Xiang
    [J]. Ruan Jian Xue Bao/Journal of Software, 2022, 33 (06): : 2127 - 2149
  • [2] A step-indexed model of substructural state
    Ahmed, A
    Fluet, M
    Morrisett, G
    [J]. ACM SIGPLAN NOTICES, 2005, 40 (09) : 78 - 91
  • [3] Step-Indexed Logical Relations for Probability
    Bizjak, Ales
    Birkedal, Lars
    [J]. FOUNDATIONS OF SOFTWARE SCIENCE AND COMPUTATION STRUCTURES (FOSSACS 2015), 2015, 9034 : 279 - 294
  • [4] Logical Step-Indexed Logical Relations
    Dreyer, Derek
    Ahmed, Amal
    Birkedal, Lars
    [J]. 24TH ANNUAL IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE, PROCEEDINGS, 2009, : 71 - 80
  • [5] LOGICAL STEP-INDEXED LOGICAL RELATIONS
    Dreyer, Derek
    Ahmed, Amal
    Birkedal, Lars
    [J]. LOGICAL METHODS IN COMPUTER SCIENCE, 2011, 7 (02)
  • [6] STEP-INDEXED RELATIONAL REASONING FOR COUNTABLE NONDETERMINISM
    Birkedal, Lars
    Bizjak, Ales
    Schwinghammer, Jan
    [J]. LOGICAL METHODS IN COMPUTER SCIENCE, 2013, 9 (04)
  • [7] A step-indexed Kripke model of hidden state
    Schwinghammer, Jan
    Birkedal, Lars
    Pottier, Francois
    Reus, Bernhard
    Stovring, Kristian
    Yang, Hongseok
    [J]. MATHEMATICAL STRUCTURES IN COMPUTER SCIENCE, 2013, 23 (01) : 1 - 54
  • [8] Step-Indexed Normalization for a Language with General Recursion
    Casinghino, Chris
    Sjoeberg, Vilhelm
    Weirich, Stephanie
    [J]. ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2012, (76): : 25 - 39
  • [9] Step-Indexed Kripke Models over Recursive Worlds
    Birkedal, Lars
    Reus, Bernhard
    Schwinghammer, Jan
    Stovring, Kristian
    Thamsborg, Jacob
    Yang, Hongseok
    [J]. POPL 11: PROCEEDINGS OF THE 38TH ANNUAL ACM SIGPLAN-SIGACT SYMPOSIUM ON PRINCIPLES OF PROGRAMMING LANGUAGES, 2011, : 119 - 131
  • [10] Step-Indexed Kripke Models over Recursive Worlds
    Birkedal, Lars
    Reus, Bernhard
    Schwinghammer, Jan
    Stovring, Kristian
    Thamsborg, Jacob
    Yang, Hongseok
    [J]. ACM SIGPLAN NOTICES, 2011, 46 (01) : 119 - 131