The Use of Proof Planning Critics to Diagnose Errors in the Base Cases of Recursive Programs
Dennis, Louise Abigail (2004) The Use of Proof Planning Critics to Diagnose Errors in the Base Cases of Recursive Programs. In: IJCAR 2004 Workshop on Disproving: Non-Theorems, Non-Validity, Non-Provability, July 2004, Cork, Ireland.
This paper reports the use of proof planning to diagnose errors in program code. In particular it looks at the errors that arise in the base cases of recursive programs produced by undergraduates. It describes two classes of error that arise in this situation. The use of test cases would catch these errors but would fail to distinguish between them. The system adapts proof critics, commonly used to patch faulty proofs, to diagnose such errors and distinguish between the two classes. It has been implemented in Lambda-clam, a proof planning system, and applied successfully to a small set of examples.
Repository Staff Only: item control page