eyemind 0.8.15 → 0.8.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LS-SPEC.md +1 -1
- package/README.md +37 -27
- package/package.json +1 -1
- package/src/version.js +1 -1
package/LS-SPEC.md
CHANGED
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ program, a JavaScript library and a browser application.
|
|
|
13
13
|
[Playground](https://eyereasoner.github.io/eyemind/playground/) · [Examples](https://eyereasoner.github.io/eyemind/examples/) · [Specification](https://eyereasoner.github.io/eyemind/LS-SPEC) · [Conformance](https://eyereasoner.github.io/eyemind/conformance/)
|
|
14
14
|
|
|
15
15
|
The examples are 158 runnable programs, each with a card deck and saved
|
|
16
|
-
conclusions; all but
|
|
16
|
+
conclusions; all but the two streamed examples also save proofs and check reports. The specification defines the language,
|
|
17
17
|
the proof format and how a proof is checked; its conformance suite has
|
|
18
18
|
1247 cases that test language and proof behavior, and runs
|
|
19
19
|
[in your browser](https://eyereasoner.github.io/eyemind/playground/conformance).
|
|
@@ -52,32 +52,42 @@ the proof format and how a proof is checked; its conformance suite has
|
|
|
52
52
|
|
|
53
53
|
## Why eyemind?
|
|
54
54
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
55
|
+
eyemind adds no new logic: as in Datalog, Prolog, N3 and SRL, rules run to a
|
|
56
|
+
least fixpoint, with stratified negation and collection. What it adds is
|
|
57
|
+
evidence. Every conclusion can come with a proof that a separate checker
|
|
58
|
+
verifies against your program, without running the reasoner.
|
|
59
|
+
|
|
60
|
+
1. **Proofs that cover the whole answer.** Most engines give an answer, or a
|
|
61
|
+
trace you have to trust. An eyemind proof also justifies the hard parts:
|
|
62
|
+
- that nothing matched, for negation and collections, from complete answer
|
|
63
|
+
tables whose listings of derived facts must be closed;
|
|
64
|
+
- what a rule says exists, as the Skolem term of its firing;
|
|
65
|
+
- that each answer answers the question asked, and that none is missing.
|
|
66
|
+
|
|
67
|
+
A forged proof must never pass the check, so you can hand a result to
|
|
68
|
+
someone who does not trust your engine.
|
|
69
|
+
2. **Programs are JavaScript.** No syntax to learn, no parser to install, no
|
|
70
|
+
dependencies. One program runs on the command line, as a library and in a
|
|
71
|
+
browser tab; conclusions and proofs are data, read back without being run.
|
|
72
|
+
3. **Forward and backward reasoning together.** Datalog is forward-only and
|
|
73
|
+
has no function terms; Prolog is backward-only. In eyemind, forward rounds
|
|
74
|
+
derive what follows, backward search answers questions, and each calls the
|
|
75
|
+
other.
|
|
76
|
+
4. **Your formats, the same proofs.** RDF 1.2, N3, SRL, Logical English and
|
|
77
|
+
the OWL 2 RL, SKOS, QUDT and SHACL profiles compile to LS, so their
|
|
78
|
+
conclusions get the same checkable proofs.
|
|
79
|
+
5. **Written for other implementers.** The specification and its black-box
|
|
80
|
+
[conformance suite](https://eyereasoner.github.io/eyemind/conformance/) let
|
|
81
|
+
others build an independent LS implementation. Agreement between
|
|
82
|
+
implementations is what makes a proof worth more than "trust our code".
|
|
83
|
+
6. **Exact numbers.** Integers are BigInts and never silently become floats.
|
|
84
|
+
|
|
85
|
+
**When to use something else.** If you do not need proofs, mature tools are
|
|
86
|
+
faster: SWI-Prolog and XSB have tabling, and Soufflé scales. N3 and SRL are
|
|
87
|
+
built for Web data; eyemind reads and compiles them rather than competing
|
|
88
|
+
(see [Other formats](#other-formats)). eyemind is for conclusions someone else
|
|
89
|
+
must be able to check: audits, compliance, and decisions between parties that
|
|
90
|
+
do not trust each other.
|
|
81
91
|
|
|
82
92
|
## Install and run
|
|
83
93
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eyemind",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.16",
|
|
4
4
|
"description": "A dependency-free Logic Script (LS) reasoner with forward and backward reasoning, checkable proofs, and RDF 1.2, Notation3 (N3), SPARQL 1.2 RL (SRL) and Logical English (LE) interoperability.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.js",
|
package/src/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// The release this checkout is; ./release keeps it in step with package.json.
|
|
2
|
-
export const VERSION = '0.8.
|
|
2
|
+
export const VERSION = '0.8.16';
|