twanvl / moltap Goto Github PK
View Code? Open in Web Editor NEWModal Logic Tableau Prover
License: GNU Lesser General Public License v2.1
Modal Logic Tableau Prover
License: GNU Lesser General Public License v2.1
In systems without reflexivity, the transitivity (axiom 4) and euclidean (axiom 5) are applied incorrectly.
These should all obviously be true, but MOLTAP considers them false.
system K4; K K (p&q) -> K K p
system K5; K K (p&q) -> K K p
system KD4; K K (p&q) -> K K p
system KD5; K K (p&q) -> K K p
MOLTAP only considers the transitive case, so it tries to prove K K p
by proving K p
instead. With reflexivity that would be valid, because then K K p -> K p
, but without it we need to do something else.
Note: we need K K (p&q)
instead of K K p
on the left of the implication, because otherwise the formulas match syntactically.
The following two formulas should both be true, since in system K4 (also S4 and S5), K1 p -> K1 K1 p
.
system K4; (K1 p & K1 K2 p) -> K1 K{1,2} p
system K4; (K1 p & K1 K2 p) -> K1 (K1 p & K2 p)
But MOLTAP incorrectly claims that the first is false. The produced counterexample is (obviously) incorrect.
This is caused by tabLocalUpIf
, which only moves up in the tree if the agent set matches exactly, and 1
does not equal {1,2}
, so the axiom is not applied. The correct solution would be to split into two worlds as is done in the second formula.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.