LogicLearner: A Tool for the Guided Practice of Propositional Logic Proofs
Amogh Inamdar, Uzay Macar, Michel Vazirani, Michael Tarnow, Zarina Mustapha, Natalia Dittren, Sam Sadeh, Nakul Verma, Ansaf Salleb-Aouissi
TL;DR
This work targets the challenge of learning propositional logic proofs by offering guided, on-demand practice with immediate AI-assisted feedback. It introduces LogicLearner, a web-based tool that models logic proofs as a graph over Boolean expressions encoded with a CFG, and provides two-level hints via time-bound A* search using a learned heuristic ensemble. The system is evaluated through a two-semester student study and a set of AI experiments, showing reduced student anxiety, higher confidence, and modest exam gains, while outperforming general LLM-based QA tools like ChatGPT for multi-step proofs. By delivering an open-source, end-to-end proof-practice environment, the paper demonstrates a practical path toward democratizing formal reasoning education in CS curricula.
Abstract
The study of propositional logic -- fundamental to the theory of computing -- is a cornerstone of the undergraduate computer science curriculum. Learning to solve logical proofs requires repeated guided practice, but undergraduate students often lack access to on-demand tutoring in a judgment-free environment. In this work, we highlight the need for guided practice tools in undergraduate mathematics education and outline the desiderata of an effective practice tool. We accordingly develop LogicLearner, a web application for guided logic proof practice. LogicLearner consists of an interface to attempt logic proofs step-by-step and an automated proof solver to generate solutions on the fly, allowing users to request guidance as needed. We pilot LogicLearner as a practice tool in two semesters of an undergraduate discrete mathematics course and receive strongly positive feedback for usability and pedagogical value in student surveys. To the best of our knowledge, LogicLearner is the only learning tool that provides an end-to-end practice environment for logic proofs with immediate, judgment-free feedback.
