Formal development of correct algorithms: An example based on earley's recogniser

  • Authors:
  • C B Jones

  • Affiliations:
  • Programming Technology Dept, Product Test Laboratories Ltd., IBM Laboratories Ltd., Hursley Park, WINCHESTER, Hants

  • Venue:
  • Proceedings of ACM conference on Proving assertions about programs
  • Year:
  • 1972

Quantified Score

Hi-index 0.02

Visualization

Abstract

This paper contains the formal development of a correct algorithm from an implicit definition of the task to be performed. Each step of the development can be accompanied by a proof of its correctness. As well as ensuring the correctness of the final program, the structured development gives considerable insight into the algorithm and possible alternatives. The example used is a simplified form of the recognition algorithm due to Earley.