Patrick Lühne
0ce4e54d1a
Fix precedence of interval operator
...
The interval operator has a lower precedence than, for example, binary
operations. This was unexpected and incorrectly implemented in the
output functions. For now, this is fixed by enclosing intervals in
parentheses to avoid misinterpretations.
The existing unit tests are adjusted to the updated output format.
2018-05-04 17:06:28 +02:00
Patrick Lühne
40ddee8444
Add new simplification rule
...
This adds the rule “(not F or G) === (F -> G)” to the simplification
rule tableau.
2018-04-10 22:34:47 +02:00
Patrick Lühne
6f7b021712
Add new simplification rule
...
This adds the rule “(not (F and G)) === (not F or not G)” to the
simplification rule tableau.
2018-04-10 22:34:47 +02:00
Patrick Lühne
23624007ec
Add new simplification rule
...
This adds the rule “not not F === F” to the simplification rule tableau.
2018-04-10 22:34:47 +02:00
Patrick Lühne
6d7b91c391
Add new simplification rule
...
This adds the rule “(F <-> (F and G)) === (F -> G)” to the
simplification rule tableau.
2018-04-10 22:34:47 +02:00
Patrick Lühne
5f8c144628
Fixed regression in simplifying predicates with more than one argument.
2017-06-12 18:27:39 +02:00
Patrick Lühne
1f1006ea96
Corrected hiding predicates that are simple propositions.
2017-06-12 15:40:02 +02:00
Patrick Lühne
a4cd133ba7
Correctly implemented hiding predicates with nested arguments.
2017-06-12 02:25:04 +02:00
Patrick Lühne
0285c1cbbb
Renamed internal variables for clarity.
2017-06-06 01:44:44 +02:00
Patrick Lühne
19ede968ed
Added unit test that predicate arity is respected by #show statements.
2017-06-05 04:00:09 +02:00
Patrick Lühne
b272a91888
Extended unit test for circular dependencies and #show.
2017-06-05 03:40:41 +02:00
Patrick Lühne
b91e55dfc4
Added unit test for recognizing Booleans when hiding statements.
2017-06-05 03:39:10 +02:00
Patrick Lühne
7904b41e60
Added unit test covering circular dependencies with #show statements.
2017-06-05 03:34:13 +02:00
Patrick Lühne
adabe1bf1a
Added simple unit tests for #show statements.
2017-06-05 03:26:09 +02:00