Program Derivation

In computer science, program derivation is the derivation 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. The program thus obtained is then proved correct by construction. 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
  • the resulting proof is long and cumbersome
  • no insight is given as to how the program was developed; it appears "like a rabbit out of a hat"
Program derivation tries to remedy these shortcomings by
  • keeping proofs short, by development of appropriate mathematical notations
  • discovering the program by manipulation of the specification
Terms that are roughly synonymous with program derivation are: transformational programming, algorithmics, deductive programming.

See also

References

  • Edsger Dijkstra, Wim H. J. Feijen, A Method of Programming, Addison-Wesley, 1988, 188 pages
  • Edward Cohen, Programming in the 1990's, Springer-Verlag, 1990
  • Anne Kaldewaij, Programming: The Derivation of Algorithms, Prentice-Hall, 1990, 216 pages
  • David Gries, The Science of Programming, Springer-Verlag, 1981, 350 pages
  • A.J.M. van Gasteren. On the Shape of Mathematical Arguments. Lecture Notes in Computer Science #445, Springer-Verlag, 1990. Teaches how to write proofs with clarity and precision.

 

<< PreviousWord BrowserNext >>
australasian yellow oriole
flanges
michael bichard
tzannis tzannetakis
alison pill
list of pairs of colleagues
dwarf azalea
list of movies based on classical operas
list of movies based on arthurian legend
trex (card game)
list of couples
list of movies based on greco roman mythology
lightwave
list of geographical pairs
george orton
list of mythological pairs
list of movies based on poems
john dickinson
list of sporting comebacks
ted horn
la virgen de los sicarios
charismatic movement
list of proverbial pairs
mcmug
nottingham high school
list of food pairs
seomoon tak
apse
skipjack (cipher)
list of equipment pairs
clairaut
raf bomber command
lough erne
hgskoleprovet
moravian silesian region
spring break
kabard
quartz 2d
high button shoes
stanley ho
gerard debreu
stockholm institute of education
live oak
hit the deck