Skip to content

Commit

Permalink
add examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Steen committed Feb 13, 2021
1 parent 7448964 commit f1358cc
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
11 changes: 11 additions & 0 deletions examples/out1.p
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
thf(semantics, logic, (
$iol := [ $output := $out1 ] )).

thf(norm1, axiom, [$true, helping]).
thf(norm2, axiom, [helping, telling]).
thf(norm3, axiom, [~helping, ~telling]).

thf(input1, hypothesis, ~helping).

thf(c1, conjecture, ~telling).
thf(c2, conjecture, ~helping).
11 changes: 11 additions & 0 deletions examples/out3-constrained.p
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
thf(semantics, logic, (
$iol := [ $output := $out3,
$constrained := $credulous,
$constraints := [~helping] ] )).

thf(norm1, axiom, [$true, helping]).
thf(norm2, axiom, [helping, telling]).
thf(norm3, axiom, [~helping, ~telling]).

thf(input1, hypothesis, ~helping).

8 changes: 8 additions & 0 deletions examples/out3.p
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
thf(semantics, logic, (
$iol := [ $output := $out3 ] )).

thf(norm1, axiom, [$true, helping]).
thf(norm2, axiom, [helping, telling]).
thf(norm3, axiom, [~helping, ~telling]).

thf(input1, hypothesis, ~helping).

0 comments on commit f1358cc

Please sign in to comment.