Teaching Intuitionistic and Classical Propositional Logic Using Isabelle

Jørgen Villadsen,Asta Halkjær From,Patrick Blackburn
DOI: https://doi.org/10.4204/EPTCS.354.6
2022-02-08
Abstract:We describe a natural deduction formalization of intuitionistic and classical propositional logic in the Isabelle/Pure framework. In contrast to earlier work, where we explored the pedagogical benefits of using a deep embedding approach to logical modelling, here we employ a logical framework modelling. This gives rise to simple and natural teaching examples and we report on the role it played in teaching our Automated Reasoning course in 2020 and 2021.
Logic in Computer Science
What problem does this paper attempt to address?
The problem that this paper attempts to solve is: how to effectively introduce and teach intuitionistic propositional logic and classical propositional logic in teaching, especially by using the Isabelle/Pure framework to achieve this goal. Specifically, the authors hope to solve the problem in the following ways: 1. **Formalize the logical system**: Carry out natural deduction formalization of intuitionistic and classical propositional logic in the Isabelle/Pure framework. This makes the definition of the logical system more precise and can use Isabelle's automatic verification function to check the correctness of proofs, thereby reducing the workload of teachers and teaching assistants. 2. **Improve teaching methods**: By using the Isabelle/Pure framework, the authors provide a concise and natural teaching example to help students better understand and master the natural deduction proof system. This formalized method not only makes the proof process more intuitive but also enables students to learn and apply logical rules in practice. 3. **Transition from intuitionism to classicism**: First introduce intuitionistic logic, and then introduce the Law of Excluded Middle (LEM), gradually guiding students to understand classical logic. This method helps students become familiar with the relatively simple intuitionistic logic first and then transition to the more complex classical logic. 4. **Expand to higher - order logic**: Although this paper mainly focuses on propositional logic, the proposed method can also be extended to first - order logic and higher - order logic, laying a solid foundation for students' future learning. In summary, this paper aims to improve the teaching effect of logic through the formalized method of the Isabelle/Pure framework, enabling students to more deeply understand the differences and connections between intuitionistic and classical propositional logic and preparing them for their future research in the fields of logic and mathematics.