-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
working reasoning time generated sequents
- Loading branch information
Showing
15 changed files
with
362 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
5.0.4 | ||
5.0.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
@prefix log: <http://www.w3.org/2000/10/swap/log#>. | ||
|
||
() log:version "EYE v5.0.4 (2023-10-05)". | ||
() log:version "EYE v5.0.5 (2023-10-07)". |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
-------- | ||
Sequents | ||
-------- | ||
|
||
See https://en.wikipedia.org/wiki/Sequent | ||
|
||
E.g. | ||
|
||
# all cars are green or blue | ||
{ | ||
?A a :Car. | ||
} => ($ | ||
{ | ||
?A :is :green. | ||
} | ||
{ | ||
?A :is :blue. | ||
} | ||
$). | ||
|
||
# negation | ||
{ | ||
?A a :Car. | ||
?A a :Horse. | ||
} => ($ $). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
@prefix log: <http://www.w3.org/2000/10/swap/log#>. | ||
@prefix : <http://example.org/ns#>. | ||
|
||
# i element of A | ||
:i a :A. | ||
|
||
# i not element of C | ||
{ | ||
:i a :C. | ||
} => ($ $). | ||
|
||
# all A are B or C | ||
{ | ||
?S a :A. | ||
} => ($ | ||
{ | ||
?S a :B. | ||
} | ||
{ | ||
?S a :C. | ||
} | ||
$). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
@prefix : <http://example.org/ns#>. | ||
|
||
:i a :B. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
@prefix log: <http://www.w3.org/2000/10/swap/log#>. | ||
@prefix : <http://example.org/ns#>. | ||
|
||
# beetle is a car | ||
:beetle a :Car. | ||
|
||
# all cars are green or blue | ||
{ | ||
?A a :Car. | ||
} => ($ | ||
{ | ||
?A :is :green. | ||
} | ||
{ | ||
?A :is :blue. | ||
} | ||
$). | ||
|
||
# green things are beautiful | ||
{ | ||
?A :is :green. | ||
} => { | ||
?A :is :beautiful. | ||
}. | ||
|
||
# blue things are beautiful | ||
{ | ||
?A :is :blue. | ||
} => { | ||
?A :is :beautiful. | ||
}. | ||
|
||
# everything is not beautiful would be inconsistent | ||
#{ | ||
# ?A :is :beautiful. | ||
#} => ($ $). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
@prefix : <http://example.org/ns#>. | ||
|
||
:beetle :is :beautiful. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,156 @@ | ||
@prefix log: <http://www.w3.org/2000/10/swap/log#>. | ||
@prefix : <http://example.org/ns#>. | ||
|
||
# beetle is a car | ||
:beetle a :Car. | ||
|
||
# all cars are green or blue | ||
{ | ||
?A a :Car. | ||
} => ($ | ||
{ | ||
?A :is :green. | ||
} | ||
{ | ||
?A :is :blue. | ||
} | ||
$). | ||
|
||
# green things are nice or pretty | ||
{ | ||
?A :is :green. | ||
} => ($ | ||
{ | ||
?A :is :nice. | ||
} | ||
{ | ||
?A :is :pretty. | ||
} | ||
$). | ||
|
||
# pretty things are pretty 1 or pretty 2 | ||
{ | ||
?A :is :pretty. | ||
} => ($ | ||
{ | ||
?A :is :pretty1. | ||
} | ||
{ | ||
?A :is :pretty2. | ||
} | ||
$). | ||
|
||
# nice things are nice 1 or nice 2 | ||
{ | ||
?A :is :nice. | ||
} => ($ | ||
{ | ||
?A :is :nice1. | ||
} | ||
{ | ||
?A :is :nice2. | ||
} | ||
$). | ||
|
||
# pretty 1 things are pretty 11 or pretty 12 | ||
{ | ||
?A :is :pretty1. | ||
} => ($ | ||
{ | ||
?A :is :pretty11. | ||
} | ||
{ | ||
?A :is :pretty12. | ||
} | ||
$). | ||
|
||
# pretty 2 things are pretty 21 or pretty 22 | ||
{ | ||
?A :is :pretty2. | ||
} => ($ | ||
{ | ||
?A :is :pretty21. | ||
} | ||
{ | ||
?A :is :pretty22. | ||
} | ||
$). | ||
|
||
# nice 1 things are nice 11 or nice 12 | ||
{ | ||
?A :is :nice1. | ||
} => ($ | ||
{ | ||
?A :is :nice11. | ||
} | ||
{ | ||
?A :is :nice12. | ||
} | ||
$). | ||
|
||
# nice 2 things are nice 21 or nice 22 | ||
{ | ||
?A :is :nice2. | ||
} => ($ | ||
{ | ||
?A :is :nice21. | ||
} | ||
{ | ||
?A :is :nice22. | ||
} | ||
$). | ||
|
||
# pretty or nice or blue things are beautiful | ||
{ | ||
?A :is :pretty11. | ||
} => { | ||
?A :is :beautiful. | ||
}. | ||
|
||
{ | ||
?A :is :pretty12. | ||
} => { | ||
?A :is :beautiful. | ||
}. | ||
|
||
{ | ||
?A :is :pretty21. | ||
} => { | ||
?A :is :beautiful. | ||
}. | ||
|
||
{ | ||
?A :is :pretty22. | ||
} => { | ||
?A :is :beautiful. | ||
}. | ||
|
||
{ | ||
?A :is :nice11. | ||
} => { | ||
?A :is :beautiful. | ||
}. | ||
|
||
{ | ||
?A :is :nice12. | ||
} => { | ||
?A :is :beautiful. | ||
}. | ||
|
||
{ | ||
?A :is :nice21. | ||
} => { | ||
?A :is :beautiful. | ||
}. | ||
|
||
{ | ||
?A :is :nice22. | ||
} => { | ||
?A :is :beautiful. | ||
}. | ||
|
||
{ | ||
?A :is :blue. | ||
} => { | ||
?A :is :beautiful. | ||
}. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
@prefix : <http://example.org/ns#>. | ||
|
||
:beetle :is :beautiful. |
Oops, something went wrong.