Reasoning about Function Objects

被引:0
|
作者
Nordio, Martin [1 ]
Calcagno, Cristiano [2 ,3 ]
Meyer, Bertrand [1 ]
Mueller, Peter [1 ]
Tschannen, Julian [1 ]
机构
[1] ETH, Zurich, Switzerland
[2] Monoidics Ltd, London, England
[3] Imperial Coll, London, England
来源
OBJECTS, MODELS, COMPONENTS, PATTERNS | 2010年 / 6141卷
基金
英国工程与自然科学研究理事会;
关键词
C-NUMBER; LOGIC; VERIFICATION; INVARIANTS; PROGRAMS; EIFFEL;
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Modern object-oriented languages support higher-order implementations through function objects such as delegates in C#, agents in Eiffel, or closures in Scala. Function objects bring a new level of abstraction to the object-oriented programming model, and require a comparable extension to specification and verification techniques. We introduce a verification :methodology that extends function objects with auxiliary side-effect free (pure) methods to model logical artifacts: preconditions, postconditions and modifies clauses. These pure methods can be used to specify client code abstractly, that is, independently from specific instantiations of the function objects. To demonstrate the feasibility of our approach, we have implemented an automatic prover, which verifies several non-trivial examples.
引用
收藏
页码:79 / +
页数:3
相关论文
共 50 条
  • [31] A Model for Approximate Reasoning about Knowledge
    Li, Jun
    Lan, Qian
    2012 2ND INTERNATIONAL CONFERENCE ON APPLIED ROBOTICS FOR THE POWER INDUSTRY (CARPI), 2012, : 609 - 612
  • [32] Tableau systems for reasoning about risk
    Cristani, Matteo
    Karafili, Erisa
    Vigano, Luca
    JOURNAL OF AMBIENT INTELLIGENCE AND HUMANIZED COMPUTING, 2014, 5 (02) : 215 - 247
  • [33] Reasoning about cooperation, actions and preferences
    Kurzen, Lena
    SYNTHESE, 2009, 169 (02) : 223 - 240
  • [34] Reasoning about highly emotional topics: Syllogistic reasoning in a group of war veterans
    Blanchette, Isabelle
    Campbell, Michelle
    JOURNAL OF COGNITIVE PSYCHOLOGY, 2012, 24 (02) : 157 - 164
  • [35] A generic framework for reasoning about dynamic networks of infinite-state processes
    Bouajjani, Ahmed
    Jurski, Yan
    Sighireanu, Mihaela
    TOOLS AND ALGORITHMS FOR THE CONSTRUCTION AND ANALYSIS OF SYSTEMS, PROCEEDINGS, 2007, 4424 : 690 - +
  • [36] Reasoning about memoryless strategies under partial observability and unconditional fairness constraints
    Busard, Simon
    Pecheur, Charles
    Qu, Hongyang
    Raimondi, Franco
    INFORMATION AND COMPUTATION, 2015, 242 : 128 - 156
  • [37] Integrating ADTs in KeY and their application to history-based reasoning about collection
    Bian, Jinting
    Hiep, Hans-Dieter A.
    de Boer, Frank S. S.
    de Gouw, Stijn
    FORMAL METHODS IN SYSTEM DESIGN, 2022, 61 (01) : 63 - 89
  • [38] Logical Method for Reasoning About Access Control and Data Flow Control Models
    Logrippo, Luigi
    FOUNDATIONS AND PRACTICE OF SECURITY (FPS 2014), 2015, 8930 : 205 - 220
  • [39] Reasoning about coalitional agency and ability in the logics of “bringing-it-about”
    Nicolas Troquard
    Autonomous Agents and Multi-Agent Systems, 2014, 28 : 381 - 407
  • [40] Reprint of reasoning about knowledge of unawareness revisited
    Halpern, Joseph Y.
    Rego, Leandro C.
    MATHEMATICAL SOCIAL SCIENCES, 2014, 70 : 10 - 22