Weakest pre-condition reasoning for Java']Java programs with JML annotations

被引:27
作者
Jacobs, B [1 ]
机构
[1] Univ Nijmegen, Nymegen Inst Informat & Comp Sci, NL-6500 GL Nijmegen, Netherlands
来源
JOURNAL OF LOGIC AND ALGEBRAIC PROGRAMMING | 2004年 / 58卷 / 1-2期
关键词
!text type='Java']Java[!/text; program correctness; program logics; weakest precondition;
D O I
10.1016/j.jlap.2003.07.005
中图分类号
学科分类号
摘要
This paper distinguishes several different approaches to organising a weakest pre-condition (WP) calculus in a theorem prover. The implementation of two of these approaches for Java within the LOOP project is described. This involves the WP-infrastructures in the higher order logic of the theorem prover PVS, together with associated rules and strategies for automatically proving JML specifications for Java implementations. The soundness of all WP-rules has been proven on the basis of the underlying Java semantics. These WP-calculi are integrated with the existing Hoare logic, and together form a verification toolkit in PVS: typically one uses Hoare logic rules to break a large verification task up into smaller parts that can be handled automatically by one of the WP-strategies. (C) 2003 Elsevier Inc. All rights reserved.
引用
收藏
页码:61 / 88
页数:28
相关论文
共 27 条
[1]  
[Anonymous], 1981, SCI PROGRAMMING, DOI DOI 10.1007/978-1-4612-5983-1
[2]  
[Anonymous], 1989, CURRENT TRENDS HARDW, DOI DOI 10.1007/978-1-4612-3658-0_10
[3]  
BREUNESSE CB, 2002, LNCS, V2422, P304
[4]  
Chen Z., 2000, JAVA CARD TECHNOLOGY
[5]  
*COMP SYST RES CTR, EXT STAT CHECK ESC J
[6]  
DEBOER F, 2002, FMOODS, V5, P163
[7]  
Dijkstra E. W, 1976, A Discipline of Programming
[8]   Extended static checking for Java']Java [J].
Flanagan, C ;
Leino, KRM ;
Lillibridge, M ;
Nelson, G ;
Saxe, JB ;
Stata, R .
ACM SIGPLAN NOTICES, 2002, 37 (05) :234-245
[9]  
Gordon M. J., 1993, INTRO HOL THEOREM PR
[10]  
Gosling James, 2000, The Java Language Specification