eyemind 0.8.19 → 0.8.21

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 CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  ```text
4
4
  Title: The Logic Script (LS) Language and Proof Format
5
- Version: eyemind 0.8.19
5
+ Version: eyemind 0.8.21
6
6
  ```
7
7
 
8
8
  This document specifies Logic Script (LS): the syntax and meaning of its
package/README.md CHANGED
@@ -52,42 +52,21 @@ the proof format and how a proof is checked; its conformance suite has
52
52
 
53
53
  ## Why eyemind?
54
54
 
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.
55
+ Logic Script (LS) is the assembler level for rule languages. N3, SRL, Logical
56
+ English and the OWL 2 RL, SKOS, QUDT, SHACL and ODRL profiles of RDF 1.2 keep
57
+ their own syntax and meaning, and compile to ordinary LS programs that one
58
+ engine runs and one checker verifies. A new language gets reasoning and
59
+ checkable proofs as soon as it compiles to LS.
60
+
61
+ - **So conclusions can be checked, not trusted.** A proof is verified against
62
+ the program by a checker that never runs the reasoner, and a forged proof
63
+ never passes: you can hand a result to someone who does not trust your
64
+ engine, for audits, compliance or decisions between parties.
65
+ - **So one program runs anywhere.** LS is JavaScript, with no dependencies: on
66
+ the command line, as a library and in a browser tab.
67
+ - **So no one depends on eyemind alone.** A [specification](https://eyereasoner.github.io/eyemind/LS-SPEC) and a black-box
68
+ [conformance suite](https://eyereasoner.github.io/eyemind/conformance/) let
69
+ others implement LS independently.
91
70
 
92
71
  ## Install and run
93
72
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eyemind",
3
- "version": "0.8.19",
3
+ "version": "0.8.21",
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.19';
2
+ export const VERSION = '0.8.21';