• Cite Icon10
  • https://doi.org/10.4204/eptcs.313.5Copy DOI Icon

Teaching a Formalized Logical Calculus

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Classical first-order logic is in many ways central to work in mathematics, linguistics, computer science and artificial intelligence, so it is worthwhile to define it in full detail. We present soundness and completeness proofs of a sequent calculus for first-order logic, formalized in the interactive proof assistant Isabelle/HOL. Our formalization is based on work by Stefan Berghofer, which we have since updated to use Isabelle's declarative proof style Isar (Archive of Formal Proofs, Entry FOL-Fitting, August 2007 / July 2018). We represent variables with de Bruijn indices; this makes substitution under quantifiers less intuitive for a human reader. However, the nature of natural numbers yields an elegant solution when compared to implementations of substitution using variables represented by strings. The sequent calculus considered has the special property of an always empty antecedent and a list of formulas in the succedent. We obtain the proofs of soundness and completeness for the sequent calculus as a derived result of the inverse duality of its tableau counterpart. We strive to not only present the results of the proofs of soundness and completeness, but also to provide a deep dive into a programming-like approach to the formalization of first-order logic syntax, semantics and the sequent calculus. We use the formalization in a bachelor course on logic for computer science and discuss our experiences.

Similar Papers
  • Research Article

Donald W. Loveland, Richard E. Hodel, and S. G. Sterrett: Three Views of Logic: Mathematics, Philosophy and Computer Science

  • Jun 21, 2015
  • Minds and Machines
  • Patrick Allo
  • Supplementary Content
  • Citations3

Logics in Computer Science

  • Jan 01, 2013
  • Università degli Studi di Napoli Federico II
  • Fabio Mogavero
  • Research Article
  • Citations5

A sequent calculus for first-order logic formalized in Isabelle/HOL

  • Apr 28, 2023
  • Journal of Logic and Computation
  • Asta Halkjær From +2
  • Research Article
  • Citations2

Handbook of logic in artificial intelligence and logic programming, Volume 3, Nonmonotonic reasoning and uncertain reasoning, edited by Dov M. Gabbay, C. J. Hogger, and J. A. Robinson, with D. Nute, Handbooks of logic in computer science and artificial intelligence and logic programming, Clarendon Press, Oxford University Press, Oxford, New York, etc., 1994, xix + 529 pp.–

  • Dec 01, 2000
  • Bulletin of Symbolic Logic
  • G Aldo Antonelli
  • Book Chapter
  • Citations6

Completeness for Ancestral Logic via a Computationally-Meaningful Semantics

  • Jan 01, 2017
  • Liron Cohen
  • Conference Article
  • Citations4

Aiding an Introduction to Formal Reasoning Within a First-Year Logic Course for CS Majors Using a Mobile Self-Study App

  • Jun 15, 2020
  • David Cerna +4
  • Single Book
  • Citations3

Mathematical Logic for Computer Science

  • Jul 01, 1989
  • Lu Zhongwan
  • Book Chapter
  • Citations1

Partial First-Order Logic

  • Jan 01, 1995
  • Areski Nait Abdallah
  • Research Article
  • Citations12

Possibility Semantics for Intuitionistic Logic

  • Apr 30, 2004
  • The Australasian Journal of Logic
  • M J Cresswell
  • Research Article
  • Citations7

On noncommutative extensions of linear logic

  • Sep 20, 2019
  • Logical Methods in Computer Science
  • Sergey Slavnov
  • Conference Instance
  • Citations39

Proceedings of the 31st Annual ACM/IEEE Symposium on Logic in Computer Science

  • Jul 05, 2016
  • Eric Koskinen +2
  • Research Article
  • Citations4

A framework for the transfer of proofs, lemmas and strategies from classical to non classical logics

  • Jan 01, 1993
  • Studia Logica
  • Ricardo Caferra +2
  • Research Article
  • Citations3

A Novel Stochastic Game Via the Quantitative μ-calculus

  • May 01, 2006
  • Electronic Notes in Theoretical Computer Science
  • Annabelle Mciver
  • Book Chapter
  • Citations2

Expanding Gödel Logic with Truth Constants and the Equality, Strict Order, Delta Operators

  • Nov 24, 2016
  • Dušan Guller
  • Conference Article
  • Citations10

A bisimulation between DPLL(T) and a proof-search strategy for the focused sequent calculus

  • Jan 01, 2013
  • Mahfuza Farooque +2
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.