datalog: unification + substitution + 28 tests (Phase 2, 72/72)
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 53s

dl-unify returns immutable extended subst dict (or nil). dl-walk
chases bindings, dl-apply-subst recursively resolves vars. Lists
unify element-wise so arithmetic compounds work too. dl-ground? and
dl-vars-of for safety analysis (Phase 3).
This commit is contained in:
2026-05-07 23:34:35 +00:00
parent 5c1807c832
commit 8046df7ce5
6 changed files with 365 additions and 9 deletions

View File

@@ -1,8 +1,9 @@
# datalog scoreboard
**44 / 44 passing** (0 failure(s)).
**72 / 72 passing** (0 failure(s)).
| Suite | Passed | Total | Status |
|-------|--------|-------|--------|
| tokenize | 26 | 26 | ok |
| parse | 18 | 18 | ok |
| unify | 28 | 28 | ok |