Files
rose-ash/lib/minikanren/tests
giles 136cacbd3f
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 53s
mk: iterate-no — apply a relation n times
(iterate-no rel n x result) holds when applying the 2-arg relation rel
n times (Peano n) starting from x produces result. Base case: zero
iterations means result equals x. Recursive case: rel x mid, then
iterate-no n-1 from mid.

Generalises common chains:
  succ iteration:  (iterate-no succ-rel n :z q) -> n in Peano
  list growth:     (iterate-no cons-rel n () q) -> n-element list

4 new tests, 426/426 cumulative.
2026-05-08 11:54:24 +00:00
..
2026-05-08 10:41:02 +00:00
2026-05-08 11:34:28 +00:00