Proceedings

Automatically Generating Problems and Solutions for Natural Deduction

Download BibTeX Cite

Proceedings of the Twenty-Third International Joint Conference on Artificial Intelligence. Pages 1968-1974.

© 2013 International Joint Conferences on Artificial Intelligence

Abstract

Natural deduction, which is a method for establishing validity of propositional type arguments, helps develop important reasoning skills and is thus a key ingredient in a course on introductory logic. We present two core components, namely solution generation and practice problem generation, for enabling computer-aided education for this important subject domain. The key enabling technology is use of an offline-computed data-structure called Universal Proof Graph (UPG) that encodes all possible applications of inference rules over all small propositions abstracted using their bitvector-based truth-table representation. This allows an efficient forward search for solution generation. More interestingly, this allows generating fresh practice problems that have given solution characteristics by performing a backward search in UPG. We obtained around 300 natural deduction problems from various textbooks. Our solution generation procedure can solve many more problems than the traditional forward-chaining based procedure, while our problem generation procedure can efficiently generate several variants with desired characteristics.

  1. [Alur et al., 2013] Rajeev Alur, Loris D'Antoni, Sumit Gul- wani, Dileep Kini, and Mahesh Viswanathan. Automated grading of dfa constructions. In IJCAI, 2013. IJCAI
  2. [Andersen et al., 2013] Erik Andersen, Sumit Gulwani, and Zoran Popovic. A trace-based framework for analyzing and synthesizing educational progressions. In CHI, 2013.
  3. [Barwise and Etchemendy, 1994] Jon Barwise and John Etchemendy. Hyperproof. CSLI Publications, 1994.
  4. [Bergmann, 2008] Merrie Bergmann. The Logic Book.
  5. Bornat, ] Richard Bornat. Jape. http://www.cs.ox.ac.uk/people/bernard.sufrin/personal/ jape.org. Link
  6. [Broda et al., 2007] K. Broda, J. Ma, G. Sinnadurai, and A. Summers. Pandora: A reasoning toolbox using natural deduction style. Logic Journal of IGPL, 15(4):293-304, 2007.
  7. [Cederblom and Paulsen, 2011] Jerry Cederblom and David Paulsen. Critical Reasoning. Wadsworth Publishing, 7th edition, 2011.
  8. [Coq Development Team, 2006] Coq Development Team. The Coq proof assistant reference manual: Version 8.1. 2006. Coursera, ] Coursera. Introduction to Logic. https://www.coursera.org/course/intrologic. Link
  9. Dyckhoff et al., ] Roy Dyckhoff, Neil Leslie, Tom Peil- lon, Brenda Rapley, Luis Pinto, Andrew Adams, Chris- tian Urban, Jacob Howe, and Others. MacLogic. http://www.cs.st-andrews.ac.uk/ rd/logic/mac. Link
  10. [Frederic D. Portoraro, 1994] Robert E. Tully Frederic D. Portoraro. Logic with Symlog; Learning Symbolic Logic by Computer. Prentice Hall, Englewood Cliffs USA, 1994.
  11. [Gentzen, 1964] G. Gentzen. Investigations into logical de- duction. American philosophical quarterly, 1(4):288-306, 1964.
  12. [Gulwani et al., 2011] Sumit Gulwani, Vijay Anand Kor- thikanti, and Ashish Tiwari. Synthesizing geometry con- structions. In PLDI, 2011.
  13. [Howard-Snyder et al., 2008] Frances Howard-Snyder, Daniel Howard-Snyder, and Ryan Wasserman. The Power of Logic. McGraw-Hill, 4th edition, 2008.
  14. [Hurley, 2011] Patrick J Hurley. A Concise Introduction to Logic. Wadsworth Publishing, 11th edition, 2011.
  15. kha, ] Khan Academy. Logical Reasoning. https://www.khanacademy.org/math/geometry/logical- reasoning/. Link
  16. [Knuth, 2011] Donald E. Knuth. The Art of Computer Pro- gramming, Volume 4A: Combinatorial Algorithms, Part 1.
  17. oli, ] Open Learning Initiative. Logic & Proofs. http://oli.cmu.edu/courses/free-open/logic-proofs-course- details. Link
  18. [Sieg, 2007] W. Sieg. The apros project: Strategic thinking & computational logic. Logic Journal of IGPL, 15(4):359- 368, 2007.
  19. [Singh et al., 2012] Rohit Singh, Sumit Gulwani, and Sriram Rajamani. Automatically generating algebra problems. In AAAI, 2012.
  20. [Singh et al., 2013] Rishabh Singh, Sumit Gulwani, and Ar- mando Solar-Lezama. Automated feedback generation for introductory programming assignments. In PLDI, 2013.
  21. [Tillmann and de Halleux, 2008] Nikolai Tillmann and Jonathan de Halleux. Pex-white box test generation for .NET. In TAP, pages 134-153, 2008.
  22. [Van Ditmarsch, 1998] H. Van Ditmarsch. User interfaces in natural deduction programs. User Interfaces, 98:87, 1998.
  23. [vander Nat, 2010] Arnold vander Nat. Simple formal logic. With common-sense symbolic techniques. London: Rout- ledge, 2010.
  24. [Wiedijk and van Raamsdonk, 2007] C.K.F. Wiedijk and M.H.F. van Raamsdonk. Teaching logic using a state-of- the-art proof assistant. PATE, page 33, 2007.

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

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