Modular semantics and logics of classes

被引:0
|
作者
Reus, B [1 ]
机构
[1] Univ Sussex, Sch Cognit & Comp Sci, Brighton BN1 9RH, E Sussex, England
来源
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The semantics of class-based languages can be defined in terms of objects only [1, 7, 8] if classes are viewed as objects with a constructor method. One obtains a store in which method closures are held together with field values. Such a store is also called "higher-order" and does not come for free [13]. It is much harder to prove properties of such stores and as a consequence (soundness of) programming logics can become rather contrived (see [2]). A simpler semantics separates methods from the object store [4,12]. But again, there is a drawback. Once the semantics of a package of classes is computed it is impossible to add other classes in a compositional way. Modular reasoning principles are therefore not obtainable either. In this paper we improve a simple class-based semantics to deal with extensions compositionally and derive modular reasoning principles for a logic of classes. The domain theoretic reasoning principle behind this is fixpoint induction. Modularity is obtained by endowing the denotations of classes with an additional parameter that accounts for those classes added "later at linkage time." Local class definitions (inner classes) are possible but for dynamic class-loading one cannot do without higher-order store.
引用
收藏
页码:456 / 469
页数:14
相关论文
共 50 条
  • [1] MODULAR MANY-VALUED SEMANTICS FOR COMBINED LOGICS
    Caleiro, Carlos
    Marcelino, Sergio
    JOURNAL OF SYMBOLIC LOGIC, 2024, 89 (02) : 583 - 636
  • [2] SEMANTICS FOR TENSE LOGICS
    THOMASON, SK
    NOTICES OF THE AMERICAN MATHEMATICAL SOCIETY, 1971, 18 (07): : 1107 - &
  • [3] SEMANTICS FOR RELEVANT LOGICS
    URQUHART, A
    JOURNAL OF SYMBOLIC LOGIC, 1972, 37 (01) : 159 - &
  • [4] Logics with Multiteam Semantics
    Graedel, Erich
    Wilke, Richard
    ACM TRANSACTIONS ON COMPUTATIONAL LOGIC, 2022, 23 (02)
  • [5] Nonmonotonic logics and semantics
    Lehmann, D
    JOURNAL OF LOGIC AND COMPUTATION, 2001, 11 (02) : 229 - 256
  • [6] Logics for complexity classes
    Naidenko, Vladimir
    LOGIC JOURNAL OF THE IGPL, 2014, 22 (06) : 1075 - 1093
  • [7] Subintuitionistic Logics with Kripke Semantics
    de Jongh, Dick
    Maleki, Fatemeh Shirmohammadzadeh
    LOGIC, LANGUAGE, AND COMPUTATION (TBILLC 2015), 2017, 10148 : 333 - 354
  • [8] Logics admitting final semantics
    Kurz, A
    FOUNDATIONS OF SOFTWARE SCIENCE AND COMPUTATION STRUCTURES, PROCEEDINGS, 2002, 2303 : 238 - 249
  • [9] Matrix semantics for annotated logics
    Lewin, RA
    Mikenberg, IF
    Schwarze, MG
    MODELS, ALGEBRAS, AND PROOFS, 1999, 203 : 279 - 293
  • [10] Fibring logics with topos semantics
    Coniglio, ME
    Sernadas, AC
    Sernadas, CS
    JOURNAL OF LOGIC AND COMPUTATION, 2003, 13 (04) : 595 - 624