Andrei Popescu, Dmitriy Traytel

Incompleteness Theorem

We present an abstract development of Gödel’s incompleteness theorems, performed with the help of the Isabelle/HOL theorem prover. We analyze sufficient conditions for the theorems’ applicability to a partially specified logic. In addition to the usual benefits of generality, our abstract perspective enables a comparison between alternative approaches from the literature. These include Rosser’s variation of the first theorem, Jeroslow’s variation of the second theorem, and the Świerczkowski–Paulson semantics-based approach. As part of our framework’s validation, we upgrade Paulson’s Isabelle proof to produce a mechanization of the second theorem that does not assume soundness in the standard model, and in fact does not rely on any notion of model or semantic interpretation.

AlexeyMilovanov

Information Theory Incompleteness Theorem

Formalization of the foundations of Algorithmic Information Theory (AIT), centered around Kolmogorov Complexity. Including Uncomputability Theorem and Chaitin's Incompleteness Theorem

bbentzen/ipl

Lean 3

Bruno Bentzen, Huayu Guo, Dongheng Chen

Propositional Logic

Verified completeness in Henkin-style for intuitionistic propositional logic

bbentzen/mpl

Lean 3

Bruno Bentzen

Modal Logic

A Henkin-style completeness proof for the modal logic S5

Caitlin D'Abrera

Modal Logic

Formalization of Sahlqvist's theorem in Coq.

Rajeev Goré, Revantha Ramanayake, Ian Shillito

Modal Logic Provability Logic Sequent Calculus

Recently, Brighton gave another cut-admissibility proof for the standard set-based sequent calculus GLS for modal provability logic GL. One of the two induction measures that Brighton uses is novel: the maximum height of regress trees in an auxiliary calculus called RGL. Tautology elimination is established rather than direct cut-admissibility, and at some points the input derivation appears to be ignored in favour of a derivation obtained by backward proof-search. By formalising the GLS calculus and the proofs in Coq, we show that: (1) the use of the novel measure is problematic under the usual interpretation of the Gentzen comma as set union, and a multiset-based sequent calculus provides a more natural formulation; (2) the detour through tautology elimination is unnecessary; and (3) we can use the same induction argument without regress trees to obtain a direct proof of cut-admissibility that is faithful to the input derivation.

Andrei Popescu, Dmitriy Traytel

Incompleteness Theorem

We present an abstract development of Gödel’s incompleteness theorems, performed with the help of the Isabelle/HOL theorem prover. We analyze sufficient conditions for the theorems’ applicability to a partially specified logic. In addition to the usual benefits of generality, our abstract perspective enables a comparison between alternative approaches from the literature. These include Rosser’s variation of the first theorem, Jeroslow’s variation of the second theorem, and the Świerczkowski–Paulson semantics-based approach. As part of our framework’s validation, we upgrade Paulson’s Isabelle proof to produce a mechanization of the second theorem that does not assume soundness in the standard model, and in fact does not rely on any notion of model or semantic interpretation.

Jesse Michael Han, Floris van Doorn

A formal proof of the independence of the continuum hypothesis.

Shogo Saito, Mashu Noguchi

Propositional Logic First-Order Logic Arithmetic Incompleteness Theorem Set Theory Modal Logic Provability Logic

Lean4 formalization for overall of mathematical logic. Including:

  • (classical | intuitionistic | intermediate) propositional logic
  • (classical | intuitionistic) first-order predicate logic / arithmetic / set theory
    • Gödel's Completeness Theorem
    • Gentzen's Haupstatz (Cut-elimination theorem)
    • Gödel's incomplteness theorem
    • Consistency of ZFC
  • modal logic
    • Gödel-McKinsey-Tarski's theorem and modal companion
  • provability logic
    • Solovay's arithmetic completeness theorem

Mashu Noguchi

Modal Logic

Lean4 Formalization of Non-classical modal logic: (intuitionistic | constructive) modal logic.

Ian Shillito

Modal Logic Provability Logic Sequent Calculus

Cut-elimination via backward proof-search for GLS

jrh13/hol-light

HOL Light

Marco Maggesi, Cosimo Perini Brogi

Modal Logic Provability Logic

Modal completeness for the provability logic GL in HOL Light

Janis Bailitis

Incompleteness Theorem

Janis Bailitis, Dominik Kirst, Yannick Forster

Incompleteness Theorem

Marco Maggesi, Cosimo Perini Brogi

Modal Logic Provability Logic

We introduce our implementation in HOL Light of the metatheory for Godel-Lob provability logic (GL), covering soundness and completeness w.r.t. possible world semantics and featuring a prototype of a theorem prover for GL itself. The strategy we develop here to formalise the modal completeness proof overcomes the technical difficulty due to the non-compactness of GL and is an adaptation-according to the formal language and tools at hand-of the proof given in George Boolos' 1995 monograph. Our theorem prover for GL relies then on this formalisation, is implemented as a tactic of HOL Light that mimics the proof search in the labelled sequent calculus G3KGL, and works as a decision algorithm for the provability logic: if the algorithm positively terminates, the tactic succeeds in producing a HOL Light theorem stating that the input formula is a theorem of GL; if the algorithm negatively terminates, the tactic extracts a model falsifying the input formula. We discuss our code for the formal proof of modal completeness and the design of our proof search algorithm. Furthermore, we propose some examples of the latter's interactive and automated use.

Minchao Wu

Modal Logic Tableaux

Verified decision procedures for modal logics

Paweł Balawender

Arithmetic

Formalizing bounded arithmetic and proof complexity and proof extraction.

Dexin Zhang

Arithmetic Incompleteness Theorem First-Order Logic Higher-Order Logic
  • Gödel's completeness theorem
  • Representation theorem in Robinson arithmetic
  • Categoricity of second-order arithmetic and real numbers
  • Quasi-categoricity of second-order arithmetic and real numbers

Yiming Xu

Modal Logic

Formalized modal logic based on Modal Logic based on P. Blackburn et al.

Caitlin D'Abrera, Rajeev Goré

Modal Logic

We provide an account of our formalisation of Sahlqvist's global correspondence theorem for the very simple Sahlqvist class in the proof-assistant Coq. We constructed our own encodings of modal, first-order and second-order fragments and provide corresponding libraries containing numerous lemmata required for the proof of (very simple) Sahlqvist's theorem. Moreover, we extracted from the constructive Coq proof code a verified program in Haskell that computes the first-order correspondent given a very simple Sahlqvist modal formula. We believe this verified program is the first of its kind in this area and we hope that this first case study will pave the way for future formalisation work to be done in correspondence theory and beyond.

Ynir Paz

Set Theory

A formalization of PCF theory in Lean.

Shuhao Song

Set Theory

Formalization of Kunen's inconsistency theorem.