Skip to content
/ tablean Public

Tableau for basic modal logic in Lean 3

License

Notifications You must be signed in to change notification settings

m4lvin/tablean

Repository files navigation

Tableau for Modal Logic in LEAN

CI status Gitpod Ready-to-Code

We formalise a tableau system for modal logic, with the goal to prove soundness, completeness and Craig Interpolation.

For now we only consider the basic modal logic K, but the (very) long term goal is Propositional Dynamic Logic (PDL). We try to follow the definitions and ideas from Borzechowski (1988/2020).

How To

GitPod

Click here to open this repository in your browser via GitPod.

Local

First install Lean and tools: https://leanprover-community.github.io/get_started.html

Then do this:

leanproject get m4lvin/tablean
cd tablean
leanproject build

Basic Modal Logic

  • Soundness
  • Completeness
  • Interpolation

Module dependency overview:

Dependency graph

Inspiration / References / Related Work

Acknowledgements

For their helpful advice and code hints I would like to thank Alex J. Best, Emma Brakkee, Jasmin Blanchette, Riccardo Brasca, Kevin Buzzard, Mario Carneiro, Yaël Dillies, Patrick Johnson, Kyle Miller, Eric Rodriguez, Ruben Van de Velde, Eric Wieser, and all other friendly people at leanprover.zulipchat.com.