Added ability to parse necessitation

This commit is contained in:
Brandon Rozek 2024-10-04 15:51:05 -04:00
parent b4b5a7d4e6
commit 46e570103f
4 changed files with 154 additions and 9 deletions

27
examples/R3-PN Normal file
View file

@ -0,0 +1,27 @@
1 1 1 1 1 1 1 0
-1
1
1 0
1 1 0 1
0 1
1 1 0 1 0 1
1 1
-1
-1
-1
-1
-1
2
2 1 0
1 1 1 0 1 1 0 0 1
0 1 1
2 2 2 0 1 2 0 0 2 0 1 1
1 1 1
0 1 2
0 2 2
2 2 2
-1
-1
-1
-1
-1

View file

@ -9,3 +9,13 @@ Contains all models of R up to size 6.
## R4-MN
Contains all models of a fragment of R without negation up to size 4.
## R3-PN
Extends R to have necessitation with the following additional axioms:
1) p / !p
2) !(p -> q) -> (!p -> !q)
3) (!p & !q) -> !(p & q)
Output contains all satisfiable models up to size 3.