Proceedings

Mechanization of an Oracle in a Debugging System

Download BibTeX Cite

Proceedings of the Eighth International Joint Conference on Artificial Intelligence. Logic Programming. Pages 553-554.

© 1983 International Joint Conferences on Artificial Intelligence

Abstract

We shall make use or a programming calculus to derive the correct result a program is expected to compute. In this way, the decision by an oracle whether or not a result is correct can be derived formally from a specificat ion (model) or the program, and thus the oracle can be mechanized. The debugging system consists mainly or a derivation editor and a fault finding program that collects an erroneous procedure.

  1. Th e programs we are debugging are logic programs. The system is programmed in Prolog (Colmerau er, Kan oui , P as~r o and R oussel, 1973) and running on DEC TOPS-20 Prolog (Warren, Pereira and Perei ra, 1979).
  2. G. Acknowledgement Th e hospitality , when writing a first version of this paper , from Nils Nilsson an d SRI is much appreciated. We also thank our col- le agues at UPMAIL, in particula r, Gunnar Blomberg and Martin Ni ls-- son for their hel p with typesetting this paper using TE:;X.
  3. References III Blomberg G., Carlsson M., and Eriksson L-It, De riving Logic Program•, SAIS-82, Uppsala 1982. 121
  4. C lark K., and Tarnlund S-A., A Firll Order Theory of Data and Program•, IFIP-77, Toronto, North-Holland, 1V77. 131
  5. Clark K., and Darlington J., Algorithm Cla11ijication Throagh S11nthe1i1, The Computer Journal 23 no 1, 1980. 141
  6. Colmerauer A., Kanoui H., Pasero R., and Rou sse l P ., Un S111ttme de Commanication Homme-mach.ine en Francai•, Re- search R eport, Groupe Intelligence Artiflcielle, Uoiversite Aix- Marseille II, 1973.
  7. lSI Eriksson A., Johansson A-L ., and Tarnlund S-A., Toward• a DeriMtion Editor, First International Logic Programming Co n- ference, Marseill e, l 982. 161
  8. Hansson A., and Tarnlund S-A., A NatartJI Programming CtJI- ctda•, IJCAI-79, Tokyo, 1979. 171
  9. Han sson A., and Tarnlund s-A., Derif!ation• in a NaturtJI Pro- gramming CtJictdu, Electrotechnical Laboratoy Tokyo, 1979.
  10. lSI Hogger C., Deriflation of Logic Programm1, Ph.D. Th esis De- partment or Computing, Imperial College, London, Hl79. 191
  11. Johan sson A-L. , Renlt• of Program Deriflation• in a DeriMtion Editor-NATDED, UPMAIL Report, Computing Science Depart,.. ment, Uppsala University, lV83. 1101
  12. Kowalski R., Predicate Logic a1 a Programming Langaage, IFIP- 74 , Stockholm, North-Holland, 1974. 1111
  13. Shapiro E., An Algorithm th.at Infer• Theorie1 from Fact1, IJCAI-81, Vancouver, 1981. 1121
  14. Sussman G., A Compater Model of Skill Acgai1ition, American Elsevier, 1975. 1131
  15. Warren D., Pereira F., and Pereira L., Uur'• Gaide to Dec111ilem-10 Prolog, Department of Arti!iciallntelligence, Uni- versity of Edinburgh, 1 V7V.
  16. u E t(¢, 7, ¢)-+ u > 5
  17. Vu(u E t(¢, 7, ¢)-+ u > 5)
  18. A Vu-+ u:::::; 5
  19. A Vu(u E t(, , ¢), ,
  20. A Vu-:::::; II
  21. obtree, 5, t( , 7, ¢)
  22. obtrec, ,P, 7, ¢)), 9, ¢))
  23. V , , , ',
  24. A, , , 7, ¢), , , , .P)) , , z' ))
  25. obtrce, , .P), 4>)
  26. trec, , ,
  27. A , 4>, , , ¢, 4>) 3z3113z3z'311, 5, ¢) , , , .), , , ¢, ' , .P ), 7, t( ¢, 5, t( 4>, 7, ¢))
  28. obtree, ,
  29. A , , , , 4> ), II, ¢), 7, t(t, , t( ¢, 7, ¢)), 11 , 4>)) , , , 4> ), 7, t(t( , , t(, 7, ¢)), 9, ¢)) .... obtree(, ¢), 9, </>)
  30. A , , , ¢), 7, t(, , t, , ¢), , ¢, , , , , , , ¢, II, ;)

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards