Program derivation
From Wikipedia, the free encyclopedia
From Wikipedia, the free encyclopedia
In computer science, program derivation is the derivation of a program from its specification, by mathematical means.
To derive a program means to write a formal specification, which is usually non-executable, and then apply mathematically correct rules in order to obtain an executable program satisfying that specification. The program thus obtained is then correct by construction. Program and correctness proof are constructed together.
The approach usually taken in formal verification is to first write a program, and then provide a proof that it conforms to a given specification. The main problems with this are that:
Program derivation tries to remedy these shortcomings by:
Terms that are roughly synonymous with program derivation are: transformational programming, algorithmics, deductive programming.
The Bird-Meertens Formalism is an approach to program derivation.
Approaches to achieving correctness in Distributed computing include research languages such as the P programming language.
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.