diff options
| author | Richard Qin <richard.qin.x@gmail.com> | 2026-04-04 04:56:51 +0800 |
|---|---|---|
| committer | Richard Qin <richard.qin.x@gmail.com> | 2026-04-04 04:56:51 +0800 |
| commit | 7408740374f46b24edd53d421dbc270d2fca1293 (patch) | |
| tree | a8a7cd6b6f932487c5b9bd560e60cd6cc3732f03 /data/simple_propositional.p | |
| parent | 0d7c8177171be1d0c077e468ee743697dd8c6914 (diff) | |
| download | ratp-7408740374f46b24edd53d421dbc270d2fca1293.tar.gz ratp-7408740374f46b24edd53d421dbc270d2fca1293.tar.xz | |
feat: implement command-line interface and add end-to-end propositional logic test suite
Diffstat (limited to 'data/simple_propositional.p')
| -rw-r--r-- | data/simple_propositional.p | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/data/simple_propositional.p b/data/simple_propositional.p new file mode 100644 index 0000000..283c326 --- /dev/null +++ b/data/simple_propositional.p @@ -0,0 +1,5 @@ +% Simple propositional-style test +% P(a) and (P(X) → Q(X)) and ¬Q(a) should be unsatisfiable. +cnf(fact, axiom, p(a)). +cnf(rule, axiom, ~p(X) | q(X)). +cnf(goal, negated_conjecture, ~q(a)). |
