Mathematical Proof Assistants for Teaching Logic: The LogiKEy Methodology
Abstract
We report on an approach to teaching logic to mixed groups of computer science, mathematics, and philosophy students, based on the logico-pluralistic LogiKEy methodology, used for more than a decade in courses, summer schools, and tutorials. LogiKEy uses classical higher-order logic (HOL) as a universal metalogic in which object logics, classical and non-classical alike, are encoded by defining their semantics; through these semantical embeddings a single proof assistant (e.g. Isabelle/HOL), with its automated theorem provers and (counter-)model finders, becomes one environment in which students learn, experiment with, and compare logics. After making the pedagogical case for proof assistants in the logic classroom, we present a graded sequence of classroom examples, each transition motivated by a limitation of the preceding representation, by a need for more explicit modelling resources, or by a new application. A liars-and-truth-tellers puzzle leads from propositional to modal logic; the Wise Men puzzle leads on to dynamic epistemic logic; Boolos's curious inference illustrates what a higher-order meta-logic buys, even for automated proof search; Chisholm's paradox takes the sequence into deontic logic, and from standard to dyadic deontic logic; and Gödel's ontological argument brings it to a research-level metaphysical argument. We then rebut the objection that embedding everything in classical HOL is monism rather than pluralism, reflect on three years of teaching such a course, and sketch the portability of the approach beyond Isabelle.
Create a lesson
Metadata
- Categories
- cs.AI, cs.LO
Related papers
GaokaoMathGen: Chinese Gaokao Mathematics Finale Problem Generation Controlled by Latent Reasoning Structures
Shared title terminologycs.AIQian Chen, Kun Zhu, Zhongyi Wang et al.
Verified Proof Refactoring with Codex and Qwen
Shared title terminologycs.AILazar Milikic, Gordan Đurić, Viktor Kunčak
AI-Assisted Auto-formalization for Trustworthy Scientific Computing: Case Studies and Lessons Learned
Shared title terminologycs.AIMohit Tekriwal, Het Mankad, Naifeng Zhang et al.
Could This BE Any More Wrong? Teaching VLMs to Know What They Don't Know in Document Extraction
Shared title terminologycs.AIVarad Srivastava, Victor Casas Hernandez
Aligning Judge Models to Be Logically Consistent Multi-Rule Interpreters
Shared title terminologycs.AIMichel Liao, Nimra Nadeem, Luxi He et al.
Beyond Imitation: A Framework and Benchmark for LLM-Assisted Peer Review
Shared title terminologycs.AIRachel S. Y. Teo, Yutaro Yamada, Shashank Kotyan et al.