A theorem prover and countermodel constructor for provability logic in HOL Light

05/07/2022
by   Marco Maggesi, et al.
0

We introduce our implementation in HOL Light of a prototype of a general theorem prover for normal modal logics. In the present work, we start by considering Gödel-Löb provability logic (GL). The methodology consists of a shallow embedding of a labelled sequent calculus for GL whose validity relies on our formalised proof in HOL Light of modal completeness for GL w.r.t. possible world semantics, that we present in the first part of the present work. Our theorem prover for GL is thus implemented as a tactic of HOL Light that formalises the proof search in the corresponding labelled sequent calculus, and works as a decision algorithm for that 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 some examples of both interactive and automated use of the latter are shown.

READ FULL TEXT

page 1

page 3

page 5

page 25

page 31

page 33

research
02/11/2021

A formal proof of modal completeness for provability logic

This work presents a formalized proof of modal completeness for Gödel-Lö...
research
07/09/2020

Kanren Light: A Dynamically Semi-Certified Interactive Logic Programming System

We present an experimental system strongly inspired by miniKanren, imple...
research
09/01/2023

Intuitionistic Gödel-Löb logic, à la Simpson: labelled systems and birelational semantics

We derive an intuitionistic version of Gödel-Löb modal logic (GL) in the...
research
10/12/2017

Flat modal fixpoint logics with the converse modality

We prove a generic completeness result for a class of modal fixpoint log...
research
10/24/2018

A general proof certification framework for modal logic

One of the main issues in proof certification is that different theorem ...
research
10/03/2019

A Henkin-style completeness proof for the modal logic S5

This paper presents a recent formalization of a Henkin-style completenes...
research
03/26/2022

Algorithmic correspondence and analytic rules

We introduce the algorithm MASSA which takes classical modal formulas in...

Please sign up or login with your details

Forgot password? Click here to reset