Skip to content

Commit

Permalink
refreshing
Browse files Browse the repository at this point in the history
  • Loading branch information
josd committed Dec 12, 2024
1 parent 5b38cd3 commit 4065d6c
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 38 deletions.
2 changes: 1 addition & 1 deletion reasoning/deontic/deontic.n3
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
# K axiom
{
?W1 log:hasAccessTo ?W.
{ { ?S1 ?P1 ?O1. { ?S2 ?P2 ?O2 } => false } => false } log:holdsIn ?W1.
{ { ?S1 ?P1 ?O1 } => { ?S2 ?P2 ?O2 } } log:holdsIn ?W1.
{ ?S1 ?P1 ?O1 } log:isObligatoryIn ?W1.
} => {
{ ?S2 ?P2 ?O2 } log:isObligatoryIn ?W1.
Expand Down
7 changes: 3 additions & 4 deletions reasoning/deontic/example1-answer.n3
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@
{
{
:s1 :p1 :o1.
{
:s4 :p4 :o4.
} => false.
} => false.
} => {
:s4 :p4 :o4.
}.
} log:isPermittedIn :w1.
{
:s1 :p1 :o1.
Expand Down
56 changes: 24 additions & 32 deletions reasoning/deontic/example1-proof.n3
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,9 @@ skolem:proof a r:Proof, r:Conjunction;
{
{
:s1 :p1 :o1.
{
:s4 :p4 :o4.
} => false.
} => false.
} => {
:s4 :p4 :o4.
}.
} log:isPermittedIn :w1.
{
:s1 :p1 :o1.
Expand Down Expand Up @@ -130,10 +129,9 @@ skolem:lemma4 a r:Inference;
{
{
:s1 :p1 :o1.
{
:s4 :p4 :o4.
} => false.
} => false.
} => {
:s4 :p4 :o4.
}.
} log:isPermittedIn :w1.
};
r:evidence (
Expand All @@ -142,10 +140,9 @@ skolem:lemma4 a r:Inference;
r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_0"]; r:boundTo {
{
:s1 :p1 :o1.
{
:s4 :p4 :o4.
} => false.
} => false.
} => {
:s4 :p4 :o4.
}.
}];
r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_1"]; r:boundTo [ n3:uri "urn:example:w1"]];
r:rule skolem:lemma16.
Expand Down Expand Up @@ -378,10 +375,9 @@ skolem:lemma19 a r:Inference;
{
{
:s1 :p1 :o1.
{
:s4 :p4 :o4.
} => false.
} => false.
} => {
:s4 :p4 :o4.
}.
} log:isPermittedIn :w1.
};
r:evidence (
Expand All @@ -393,10 +389,9 @@ skolem:lemma19 a r:Inference;
r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_2"]; r:boundTo {
{
:s1 :p1 :o1.
{
:s4 :p4 :o4.
} => false.
} => false.
} => {
:s4 :p4 :o4.
}.
}];
r:rule skolem:lemma34.

Expand Down Expand Up @@ -612,10 +607,9 @@ skolem:lemma29 a r:Inference;
[ a r:Fact; r:gives {{
{
:s1 :p1 :o1.
{
:s4 :p4 :o4.
} => false.
} => false.
} => {
:s4 :p4 :o4.
}.
} log:holdsIn :w2}]
[ a r:Fact; r:gives {{
:s1 :p1 :o1.
Expand Down Expand Up @@ -717,10 +711,9 @@ skolem:lemma37 a r:Extraction;
{
{
:s1 :p1 :o1.
{
:s4 :p4 :o4.
} => false.
} => false.
} => {
:s4 :p4 :o4.
}.
} log:holdsIn :w2.
};
r:because [ a r:Parsing; r:source <https://eyereasoner.github.io/eye/reasoning/deontic/example1.n3>].
Expand Down Expand Up @@ -796,10 +789,9 @@ skolem:lemma45 a r:Extraction;
{
{
var:x_3 var:x_2 var:x_4.
{
var:x_6 var:x_5 var:x_7.
} => false.
} => false.
} => {
var:x_6 var:x_5 var:x_7.
}.
} log:holdsIn var:x_0.
{
var:x_3 var:x_2 var:x_4.
Expand Down
2 changes: 1 addition & 1 deletion reasoning/deontic/example1.n3
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
{ :s1 :p1 :o1 } log:holdsIn :w2.
{ :s2 :p2 :o2 } log:holdsIn :w2.
{ { :s3 :p3 :o3 } => false } log:holdsIn :w2.
{ { :s1 :p1 :o1. { :s4 :p4 :o4 } => false } => false } log:holdsIn :w2.
{ { :s1 :p1 :o1 } => { :s4 :p4 :o4 } } log:holdsIn :w2.

{ :s1 :p1 :o1 } log:holdsIn :w3.
{ :s2 :p2 :o2 } log:holdsIn :w3.
Expand Down

0 comments on commit 4065d6c

Please sign in to comment.