ACM Transactions on Programming Languages and Systems · 1980 · 68 citations · 5 references
ComputingComputer ScienceFormal MethodsProgramming LanguagesSoftware EngineeringAssertion-based VerificationDeductive VerificationSpecification LanguagesType CheckingType SystemsAssertion CheckingAssertionsAxiomatic SemanticsException HandlingException PropagationFormal Proof SystemsProgram VerificationSoftware Verification
A method of documenting exception propagation and handling in Ada programs is proposed. Exception propagation declarations are introduced as a new component of Ada specifications, permitting documentation of those exceptions that can be propagated by a subprogram. Exception handlers are documented by entry assertions. Axioms and proof rules for Ada exceptions given. These rules are simple extensions of previous rules for Pascal and define an axiomatic semantics of Ada exceptions. As a result, Ada programs specified according to the method can be analyzed by formal proof techniques for consistency with their specifications, even if they employ exception propagation and handling to achieve required results (i.e., nonerror situations). Example verifications are given.
5
An axiomatic definition of the programming language PASCAL
C. A. R. Hoare, Niklaus Wirth · Acta Informatica · 1973 · 458 citations · Full text
Procedures and Parameters: An Axiomatic Approach
Tony Hoare · 1971 · 247 citations
Automating proofs of the absence of common runtime errors
Steven M. German · 1978 · 35 citations
Robert Cartwright, Derek C. Oppen · Acta Informatica · 1981 · 33 citations · Full text