Skip to content

Commit

Permalink
Adding disjuction elimination test
Browse files Browse the repository at this point in the history
  • Loading branch information
phochste committed Jul 12, 2024
1 parent 5e8a057 commit a914c3e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions test/pure/disjunction_elimination4.n3s
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
@prefix : <urn:example:> .
@prefix log: <http://www.w3.org/2000/10/swap/log#> .

# (A & B) v (A & C)
# leads to A

() log:onNegativeSurface {
() log:onNegativeSurface {
:test :is true .
:Moon a :Cheese .
} .

() log:onNegativeSurface {
:test :is true .
:FrenchKing a :Bald .
} .
} .

() log:onNegativeSurface { :test :is true. () log:onNegativeAnswerSurface { :test :is true } } .
2 changes: 1 addition & 1 deletion test/pure/disjunction_introduction.n3s
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# requires C to be true
:Alice a :Person .

() log:onNegativeAnswerSurface {
() log:onNegativeSurface {

() log:onNegativeSurface {
() log:onNegativeSurface {
Expand Down

0 comments on commit a914c3e

Please sign in to comment.