cs.AIOct 6, 2026

Mathematical Proof Assistants for Teaching Logic: The LogiKEy Methodology

Authors: Christoph Benzmüller, David Fuenmayor, Luca Pasetto

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.

Explore similar work

CardsList
  1. Many Logics, One Methodology: A Plea for Logical Pluralism in Formalised Reasoning (preprint)

    May 26, 2026Christoph Benzmüller, Daniel Kirchner, Luca PasettoLogical ReasoningInteractive Theorem Proving

  2. First-Order Modal Logic in HOL: Deep and Shallow Embeddings with Automated Faithfulness (Extended Preprint)

    Jul 12, 2026Christoph Benzmüller, Daniel KirchnerAutomated Theorem ProvingInteractive Theorem Proving

  3. Proofs Without Nominals: Gödel's Ontological Argument, its Shallow Embedding, and the Open Questions of the Monatshefte Notes

    Sep 28, 2026Christoph Benzmüller