The Correctness-by-Construction Approach to Programming

By Derrick G. Kourie , Bruce W. Watson

The Correctness-by-Construction Approach to Programming Cover Image

Focusing on ways to bridge the gap between formal and more intuitive software programming, this carefully graded text provides stepwise explanation of algorithm derivation and facilitates practical applications in computation geometry, among other fields.

Full Description

  • ISBN13: 978-3-6422-7918-8
  • 277 Pages
  • User Level: Science
  • Publication Date: April 10, 2012
  • Available eBook Formats: PDF
  • eBook Price: $99.00
Buy eBook Buy Print Book Add to Wishlist
Full Description
The focus of this book is on bridging the gap between two extreme methods for developing software. On the one hand, there are texts and approaches that are so formal that they scare off all but the most dedicated theoretical computer scientists. On the other, there are some who believe that any measure of formality is a waste of time, resulting in software that is developed by following gut feelings and intuitions.Kourie and Watson advocate an approach known as “correctness-by-construction,” a technique to derive algorithms that relies on formal theory, but that requires such theory to be deployed in a very systematic and pragmatic way.  First they provide the key theoretical background (like first-order predicate logic or refinement laws) that is needed to understand and apply the method. They then detail a series of graded examples ranging from binary search to lattice cover graph construction and finite automata minimization in order to show how it can be applied to increasingly complex algorithmic problems.  The principal purpose of this book is to change the way software developers approach their task at programming-in-the-small level, with a view to improving code quality. Thus it coheres with both the IEEE’s Guide to the Software Engineering Body of Knowledge (SWEBOK) recommendations, which identifies themes covered in this book as part of the software engineer’s arsenal of tools and methods, and with the goals of the Software Engineering Method and Theory (SEMAT) initiative, which aims to “refound software engineering based on a solid theory.”
Table of Contents

Table of Contents

  1. Introduction.
  2. Background.
  3. Simple Examples.
  4. Intermediary Examples.
  5. Procedures and Recursion.
  6. Case Study: Lattice Cover Graph Construction.
  7. Case Study 2: Classifying MADFA Construction Algorithms.
Errata

Please Login to submit errata.

No errata are currently published