Abstract data types and software validation

John V. Guttag, Ellis Horowitz, David R. Musser

Communications of the ACM · 1978 · 410 citations · 16 references

DOIFull text

Open access

Concepts

TL;DR

Data abstractions can be specified by algebraic axioms, enabling representation‑independent formal specifications of data types. The paper aims to show that algebraic axiomatizations simplify correctness proofs of abstract data type implementations and to present semi‑automatic tools that automate these proofs and derive implementations. The authors formalize data types with algebraic axioms and use semi‑automatic tools to automate correctness proofs and generate implementations. An example demonstrates the use of algebraic axioms across implementation levels, and the resulting implementation permits limited design‑time testing before a conventional implementation is produced.

Abstract

A data abstraction can be naturally specified using algebraic axioms. The virtue of these axioms is that they permit a representation-independent formal specification of a data type. An example is given which shows how to employ algebraic axioms at successive levels of implementation. The major thrust of the paper is twofold. First, it is shown how the use of algebraic axiomatizations can simplify the process of proving the correctness of an implementation of an abstract data type. Second, semi-automatic tools are described which can be used both to automate such proofs of correctness and to derive an immediate implementation from the axioms. This implementation allows for limited testing of programs at design time, before a conventional implementation is accomplished.

References

16