LeanSide: A Formally Verified Co-Reasoning System for Natural-language Proofs
Chenjun Guo, Manooshree Patel, Arnav Mehta, Krishiv Kothari, Thomas Lu, Niels Voss, Rayna Bhattacharyya, Peter Donovan, Bjoern Hartmann, Gireeja Ranade
Abstract
Large language models are increasingly used as collaborators on deductive-reasoning tasks, but their outputs can hallucinate or pull users away from intended reasoning. Formal proof assistants provide machine-checked verification, but have a steep learning curve and require more granular reasoning than human written proofs. We explore an interface that combines these strengths, allowing users to write and revise free-form natural-language proofs while a verified backend checks their reasoning and returns feedback at the user's granularity. We study this interface in the context of undergraduate mathematics education by developing LeanSide, a formally verified co-reasoning system, which auto-formalizes student reasoning into Lean and informalizes verifier output into understandable feedback. We conducted user studies through classroom deployment and analyzed which system properties helped students make progress and which caused them to get stuck. We use these findings to derive design implications for using a formally verified backend in human-AI co-reasoning systems.
Create a lesson
Related papers
XAI Evaluation Cards: A Practical Method for Designing Human-Centred XAI Evaluations
Kristýna Sirka Kacafírková, Ivania Donoso-Guzmán, Denis Parra et al.
Where LLMs Fail with Visualization DSLs
Chang Han, Andrew McNutt, Katherine Isaacs
Who Thinks First? Designing Productive Friction with Engage-to-Unlock GenAI
Xiaotian Su, Laura Rimell, Jiazheng Li et al.
Scaling Peer Assessments: An Integrity Report from a Large Engineering Internship
Jinal Gupta, Pavani Ayinampudi, Aditya B. M. V. et al.
From Images to Tasks: Characterizing Multimodal LLM Interactions in the Wild
Jinyi Ye, Scott Counts, Gaurav Verma et al.
Sensing Instability, Adapting the Scene: A Real-Time Movement-Smoothing Design Framework for Stable VR Locomotion
Ramisa Fariha Joyee, M. Rasel Mahmud