scientific article; zbMATH DE number 3974258
In Dijkstra's calculus of weakest preconditions a program is generally specified by a predicate R describing the desired properties of the values of the program's variables when the program successfully terminates. If Q is a program, the weakest precondition \(S = wp(Q,R)\) gives a predicate S which can be used as the most general specification of a program P which is to be executed before Q in order to guarantee that the combination P;Q will meet the original specification R. The weakest prespecification of program Q and specification R will be written \(Q\setminus R\). It serves the same purpose as Dijkstra's weakest precondition, but generalizes it in four ways. (1) The specification R describes not only the desired properties of the final values of the variables, but also their desired relationship with the initial values. (2) The parameter Q may be a program, or it may be just the specification of a program still to be written. Consequently, the weakest prespecification can assist in splitting a task R into two sub-tasks Q and \(Q\setminus R\); then any implementation of \(Q\setminus R\), when composed sequentially with any implementation of Q, is guaranteed to meet the original requirement R. (3) A partial relation R is taken as the specification of a guarded command, whose guard must be contained in the domain of R. Thus guarded commands can be specified and implemented independently, before being collected into a set with if or do. (4) The programming language is extended to include general recursion, of which iteration is a simple special case.
- Datatype-generic termination proofs
- The weakest prespecification
- Proof system for weakest prespecification
- Data refinement of predicate transformers
- Combining angels, demons and miracles in program specifications
- On the lattice of specifications: Applications to a specification methodology
- Statement inversion and strongest postcondition
- Protective interface specifications
- Joining specification statements
- The weakest precondition calculus: Recursion and duality
- Relation-algebraic semantics
- Parallel constructions of maximal path sets and applications to short superstrings
- Towards reasoning about Hoare relations
- The weakest specifunction
- Nondeterministic semantics of compound diagrams
- Weakest preconditions for pure Prolog programs
- Generalised rely-guarantee concurrency: an algebraic foundation
- Weakest preconditions for high-level programs
- scientific article; zbMATH DE number 3917681 (Why is no real title available?)
- scientific article; zbMATH DE number 4020448 (Why is no real title available?)
- scientific article; zbMATH DE number 4022610 (Why is no real title available?)
- scientific article; zbMATH DE number 4047056 (Why is no real title available?)
- scientific article; zbMATH DE number 4068837 (Why is no real title available?)
- The Weakest Libera! Preconditions of Nondeterministic Machines and Robust Programs
- A Weakest Precondition Semantics for Z
- A Labelled Deductive System for Relational Semantics of the Lambek Calculus
- Dynamic logic with program specifications and its relational proof system
- Weakest precondition for general recursive programs formalized in Coq
- scientific article; zbMATH DE number 1531358 (Why is no real title available?)
- Extensions of Lambek calculi
- RALL: machine-supported proofs for relation algebra
- A formal software development approach using refinement calculus
- Jifeng He at Oxford and beyond: an appreciation
- Relational calculus as a formal system
- Algebraic proofs of consistency and completeness
- Diagrammatic algebra of first order logic
- When Lawvere meets Peirce: an equational presentation of Boolean hyperdoctrines
- The calculus of neo-Peircean relations
- On Boolean hyperdoctrines and peircean bicategories
- Infinitary action logic: complexity, models and grammars
This page was built for publication:
Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q3740201)