Content deleted Content added
m Minor format tidying |
Added bold text |
||
Line 1:
'''Predicate transformer semantics''' is an extension of [[Hoare logic|Floyd-Hoare Logic]] invented by [[Dijkstra]] and extended and refined by other researchers. It was first introduced in Dijkstra's paper "Guarded commands, nondeterminacy and formal derivation of programs". It is a method for defining the semantics of an [[Imperative_programming|imperative programming]] language by assigning to each ''command'' in the language a corresponding ''predicate transformer''. A ''[[predicate transformer]]'' is a [[total function]] mapping between two ''[[assertion (computing)|predicates]]'' on the state space of a program.
The canonical ''predicate transformer'' of sequential imperative programming is the so-called "
:<math> wp(x := E, R)\ =\ R_E^x </math>
|