-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from RAIRLab/Examples-and-Deadcode-trim
Examples and deadcode trim
- Loading branch information
Showing
3 changed files
with
66 additions
and
33 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{:name "Belief follows from knowledge" | ||
:description "" | ||
:assumptions {1 (Knows! a P)} | ||
:goal (Believes! a P)} | ||
|
||
{:name "Conjunction under Belief" | ||
:description "" | ||
:assumptions {1 (Believes! a P) | ||
2 (Believes! a Q)} | ||
:goal (Believes! a (and P Q))} | ||
|
||
{:name "MP under Belief" | ||
:description "" | ||
:assumptions {1 (Believes! a1 t0 P) | ||
2 (Believes! a1 t0 (if P Q))} | ||
:goal (Believes! a1 t0 Q)} | ||
|
||
{:name "Common Knowledge" | ||
:description "" | ||
:assumptions {1 (Common! t0 P)} | ||
:goal (and (Knows! a1 t1 P) (Knows! a2 t1 P))} | ||
|
||
|
||
{:name "Bird Theorem" | ||
:description "Belief Conjunction and Truth from Knowledge" | ||
:assumptions {1 (Believes! a P) | ||
2 (Believes! a Q) | ||
3 (if (Believes! a (and P Q)) (Knows! a R))} | ||
:goal R} |
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,37 @@ | ||
|
||
;;This file contains easy PC examples, including some PC infrence rules | ||
|
||
{:name "And Intro" | ||
:description "" | ||
:assumptions {1 P 2 Q} | ||
:goal (and P Q)} | ||
|
||
{:name "And Elim Left" | ||
:description "" | ||
:assumptions {1 (and P Q)} | ||
:goal P} | ||
|
||
{:name "And Elim Right" | ||
:description "" | ||
:assumptions {1 (and P Q)} | ||
:goal Q} | ||
|
||
{:name "Or Intro Right" | ||
:description "" | ||
:assumptions {1 P} | ||
:goal (or P Q)} | ||
|
||
{:name "Or Intro Left" | ||
:description "" | ||
:assumptions {1 P} | ||
:goal (or Q P)} | ||
|
||
{:name "Or Elim" | ||
:description "" | ||
:assumptions {1 (or P Q) 2 (if P R) 3 (if Q R)} | ||
:goal R} | ||
|
||
{:name "Green Cheese Moon" | ||
:description "(if P (if Q P) is a tauto, its negation is a contradiction we can derive G from" | ||
:assumptions {1 (not (if P (if Q P)))} | ||
:goal G} |
This file was deleted.
Oops, something went wrong.