Table of Contents
Fetching ...

Teaching Higher-Order Logic Using Isabelle

Simon Tobias Lund, Jørgen Villadsen

TL;DR

The paper introduces a compact, readable formalization of higher-order logic in Isabelle/Pure as a teaching tool, offering an approachable path to Isabelle/HOL without heavy automation. It presents three interrelated formalisms—FOL_Implicational_Axiomatics.thy, FOL_Natural_Deduction.thy, and HOL_Pure.thy—built on Pure and Deep Embedding techniques to illustrate propositional, first-order, and higher-order reasoning, including intuitionistic and classical variants. Through sample natural deduction proofs (propositional, first-order, and Cantor’s theorem in HOL_Pure) and systematic comparisons between implicational axiomatics and natural deduction, the work demonstrates how to teach logic progressively while preserving logical rigor. The approach has been deployed in coursework since 2020, with positive educational outcomes and online availability, underscoring its practical impact for teaching formal reasoning and the foundations of mathematics in proof assistants. The framework also clarifies the relationships between Pure-based formalisms and the standard Isabelle/HOL ecosystem, enabling students to transition to more automated systems while understanding the underlying logic.

Abstract

We present a formalization of higher-order logic in the Isabelle proof assistant, building directly on the foundational framework Isabelle/Pure and developed to be as small and readable as possible. It should therefore serve as a good introduction for someone looking into learning about higher-order logic and proof assistants, without having to study the much more complex Isabelle/HOL with heavier automation. To showcase our development and approach we explain a sample proof, describe the axioms and rules of our higher-order logic, and discuss our experience with teaching the subject in a classroom setting.

Teaching Higher-Order Logic Using Isabelle

TL;DR

The paper introduces a compact, readable formalization of higher-order logic in Isabelle/Pure as a teaching tool, offering an approachable path to Isabelle/HOL without heavy automation. It presents three interrelated formalisms—FOL_Implicational_Axiomatics.thy, FOL_Natural_Deduction.thy, and HOL_Pure.thy—built on Pure and Deep Embedding techniques to illustrate propositional, first-order, and higher-order reasoning, including intuitionistic and classical variants. Through sample natural deduction proofs (propositional, first-order, and Cantor’s theorem in HOL_Pure) and systematic comparisons between implicational axiomatics and natural deduction, the work demonstrates how to teach logic progressively while preserving logical rigor. The approach has been deployed in coursework since 2020, with positive educational outcomes and online availability, underscoring its practical impact for teaching formal reasoning and the foundations of mathematics in proof assistants. The framework also clarifies the relationships between Pure-based formalisms and the standard Isabelle/HOL ecosystem, enabling students to transition to more automated systems while understanding the underlying logic.

Abstract

We present a formalization of higher-order logic in the Isabelle proof assistant, building directly on the foundational framework Isabelle/Pure and developed to be as small and readable as possible. It should therefore serve as a good introduction for someone looking into learning about higher-order logic and proof assistants, without having to study the much more complex Isabelle/HOL with heavier automation. To showcase our development and approach we explain a sample proof, describe the axioms and rules of our higher-order logic, and discuss our experience with teaching the subject in a classroom setting.
Paper Structure (15 sections, 1 figure)