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 条
  • [41] Probabilistic reasoning about epistemic action narratives
    D'Asaro, Fabio Aurelio
    Bikakis, Antonis
    Dickens, Luke
    Miller, Rob
    ARTIFICIAL INTELLIGENCE, 2020, 287
  • [42] Reasoning about software-component behavior
    Sitaraman, M
    Atkinson, S
    Kulczycki, G
    Weide, BW
    Long, TJ
    Bucci, P
    Heym, F
    Pike, S
    Hollingsworth, JE
    SOFTWARE REUSE: ADVANCES IN SOFTWARE REUSABILITY, 2000, 1844 : 266 - 283
  • [43] Reasoning about coalitional agency and ability in the logics of "bringing-it-about"
    Troquard, Nicolas
    AUTONOMOUS AGENTS AND MULTI-AGENT SYSTEMS, 2014, 28 (03) : 381 - 407
  • [44] An Argumentation Framework for Reasoning about Bounded Resources
    Besnard, Philippe
    Gregoire, Eric
    Raddaoui, Badran
    2012 IEEE 24TH INTERNATIONAL CONFERENCE ON TOOLS WITH ARTIFICIAL INTELLIGENCE (ICTAI 2012), VOL 1, 2012, : 540 - 547
  • [45] Formal reasoning about intrusion detection systems
    Song, T
    Ko, C
    Alves-Foss, J
    Zhang, C
    Levitt, K
    RECENT ADVANCES IN INTRUSION DETECTION, PROCEEDINGS, 2004, 3224 : 278 - 295
  • [46] Reasoning about cryptographic protocols in observational theories
    Zaabar, Imen
    Berregeb, Narjes
    ECBS 2007: 14TH ANNUAL IEEE INTERNATIONAL CONFERENCE AND WORKSHOPS ON THE ENGINEERING OF COMPUTER-BASED SYSTEMS, PROCEEDINGS: RAISING EXPECTATIONS OF COMPUTER-BASES SYSTEMS, 2007, : 539 - +
  • [47] The psychology of reasoning about preferences and unconsequential decisions
    Bonnefon, Jean-Francois
    Girotto, Vittorio
    Legrenzi, Paolo
    SYNTHESE, 2012, 185 : 27 - 41
  • [48] Reasoning about Online Algorithms with Weighted Automata
    Aminof, Benjamin
    Kupferman, Orna
    Lampert, Robby
    ACM TRANSACTIONS ON ALGORITHMS, 2010, 6 (02)
  • [49] The Logic ILP for Intuitionistic Reasoning About Probability
    Ilic-Stepic, Angelina
    Ognjanovic, Zoran
    Perovic, Aleksandar
    STUDIA LOGICA, 2024, 112 (05) : 987 - 1017
  • [50] Reasoning About Order Crossover in Genetic Algorithms
    Nawaz, M. Saqib
    Noor, Saleha
    Fournier-Viger, Philippe
    ADVANCES IN SWARM INTELLIGENCE, ICSI 2022, PT I, 2022, : 261 - 271