SecSIGSecurity Special Interest Group of US MensaCuriosity. Perspective. Security.

Research Library · Idea

Social Processes and Proofs of Theorems and Programs

Social Processes and Proofs of Theorems and Programs is a paper by Richard De Millo, Richard Lipton and Alan Perlis, published in Communications of the ACM in May 1979. It argues that formal verifications of programs will not play the role in computer science that proofs play in mathematics 1.

The authors hold that a mathematical proof is only one step towards confidence and that a theorem is believed through a social process in which mathematicians read, discuss, transform and generalise proofs. Program verifications, they argue, are long and shallow, cannot be read or discussed in that way, and so are believed blindly or not at all; because no comparable social process can take place among program verifiers, they conclude that program verification is bound to fail 1.

They add two objections about the chain of evidence. A program's requirement is informal and the program formal, so the transition between them must be informal. And a proof that a program meets its specification has value only if the two were derived independently, which is rarely so when both change during development 1.

The paper answered the programme set out in Dijkstra's 1972 Turing lecture, which argued that testing can show the presence of bugs but not their absence and that proof and program should be developed together 2. Later machine-checked proofs, such as the 2009 verification of the seL4 kernel, have the proof checked mechanically by a theorem prover. Their authors accept the specification objection: the proof does not guarantee that the specification describes the behaviour the user expects 3. The statement, specification and assumptions of such proofs still depend on human scrutiny.

Source · Social Processes and Proofs of Theorems and Programs (opens in a new tab) · Communications of the ACM 22(5)

References

  1. Social Processes and Proofs of Theorems and Programs (opens in a new tab) · Communications of the ACM 22(5) · May 1, 1979 ↩ ↩ ↩
  2. The Humble Programmer (EWD 340), ACM Turing Lecture 1972 (opens in a new tab) · E. W. Dijkstra Archive, University of Texas at Austin ↩
  3. seL4: Formal Verification of an OS Kernel (SOSP 2009) (opens in a new tab) · ACM SIGOPS ↩

Research articles

See what connects to it on the map of ideas →

See also