z-logo
open-access-imgOpen Access
Weakest Precondition for General Recursive Programs Formalized in Coq
Author(s) -
Xingyuan Zhang,
Malcolm Munro,
Mark Harman,
Lin Hu
Publication year - 2002
Publication title -
lecture notes in computer science
Language(s) - English
Resource type - Book series
SCImago Journal Rank - 0.249
H-Index - 400
eISSN - 1611-3349
pISSN - 0302-9743
DOI - 10.1007/3-540-45685-6_22
Subject(s) - precondition , proof assistant , embedding , equivalence (formal languages) , computer science , programming language , operational semantics , type theory , monotonic function , semantics (computer science) , theoretical computer science , type (biology) , discrete mathematics , calculus (dental) , algebra over a field , mathematics , pure mathematics , artificial intelligence , ecology , mathematical analysis , geometry , mathematical proof , biology , medicine , dentistry
This paper describes a formalization of the weakest precondition, wp, for general recursive programs using the type-theoretical proof assistant Coq. The formalization is a deep embedding using the computational power intrinsic to type theory. Since Coq accepts only structural recursive functions, the computational embedding of general recursive programs is non-trivial. To justify the embedding, an operational semantics is defined and the equivalence between wp and the operational semantics is proved. Three major healthiness conditions, namely: Strictness, Monotonicity and Conjunctivity are proved as well

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here
Accelerating Research

Address

John Eccles House
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom