Using the proof assistant Lean in undergraduate mathematics classrooms
In this paper we develop a case for introducing a new teaching tool to undergraduate mathematics. Lean is an interactive theorem prover that instantly checks the correctness of every step and provides immediate feedback. Teaching with Lean might present a challenge, in that students must write their proofs in a formal way using a specific syntax. Accordingly, this paper addresses the issue of formalism from both a theoretical and a practical point of view. First, we examine the nature of proof, referring to historical and contemporary debates on formalization, and then show that in mathematical practice there is a growing rapprochement between strictly formal proof and proofs-in-practice. Next, we look at selections from the mathematics education literature that discuss how and when students advance through higher levels of mathematical maturity to reach a point at which they can cope with the demands of rigorous formalism. To probe the integration of Lean into teaching from an empirical point of view, we conducted an exploratory study that investigated how three undergraduate students approached the proof of double negation with Lean. The findings suggest that the rigorous nature of Lean is not an obstacle for students and does not stifle students’ creativity in writing proofs. On the contrary, proving with Lean offers a great deal of flexibility, allowing students to follow different paths to creating a valid proof.
Item Type | Article |
---|---|
Additional information | © 2024 FIZ Karlsruhe. This is the accepted manuscript version of an article which has been published in final form at https://doi.org/10.1007/s11858-024-01577-9 |
Keywords | formalization of mathematics, proof assistant, lean prover, proof construction, rigorous and formal proofs, undergraduate mathematics |
Date Deposited | 15 May 2025 15:31 |
Last Modified | 05 Jun 2025 00:03 |
-
picture_as_pdf - 11858_2024_1577_Author.pdf
-
lock - Restricted to Repository staff only