[RESEARCH][logic-profile] Define a Datalog-safe Prolog reasoning profile using tabling, WFS, and bounded incremental semantics #389
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/prolog-rlm#389
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Related: #388 #392 #394 #398 #400
Research question
Define the smallest useful Datalog-like profile inside Prolog-RLM so callers can get predictable, explainable, bounded symbolic reasoning without introducing Clojure, Datomic, or a separate Datalog runtime by default.
This is a research/design issue only. Do not implement the profile here.
Motivation
The semantic compiler and Machine Spirit work need a reasoning tier where:
is safe and operationally predictable.
The profile should use Prolog as the host language while explicitly restricting the accepted rule fragment.
Core research questions
tnot/1/ WFS;Candidate profile family
Evaluate at least these candidates instead of pretending one profile fits all semantics:
The final design may merge or rename them, but capability promises must remain explicit.
Rule safety contract
Research a validator that rejects or preserves-as-data constructs such as:
Unknown domain relation names remain inert semantic vocabulary until admitted through the profile/signature layer.
Incremental semantics
Study whether a rule/profile declaration can expose incremental capability equivalent to:
without making incremental tabling canonical truth.
Required conceptual invariant:
under normalized answers/receipts.
Research:
Datalog interoperability
Determine whether Prolog-RLM should expose a clean import/export compatibility lane for actual Datalog syntax/engines while keeping Prolog native.
Compare at least:
The conclusion may be that no extra runtime is needed for v1.
Required outputs
Produce a research record with:
Acceptance
Non-goals