Files
rose-ash/lib/datalog
giles b95d8c5a63
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 53s
datalog: stratifier rejects recursion through aggregation (165/165)
Bug: dl-check-stratifiable iterated body literals looking only for
explicit :neg literals, missing aggregate cycles. Now also walks
aggregates via dl-aggregate-dep-edge — q(N) :- count(N, X, q(X))
correctly errors out at saturation time.

3 new tests cover:
- recursion-through-aggregation rejected
- negation + aggregation coexist when in different strata
- min over empty derived relation produces no result
2026-05-08 09:13:10 +00:00
..