Score: 0

Fair intersection of seekable iterators

Published: October 29, 2025 | arXiv ID: 2510.26016v1

By: Michael Arntzenius

Potential Business Impact:

Makes computer searches fairer and faster.

Business Areas:
Semantic Search Internet Services

miniKanren's key semantic advance over Prolog is to implement a complete yet efficient search strategy, fairly interleaving execution between disjuncts. This fairness is accomplished by bounding how much work is done exploring one disjunct before switching to the next. We show that the same idea -- fairness via bounded work -- underlies an elegant compositional approach to implementing worst-case optimal joins using a seekable iterator interface, suitable for shallow embedding in functional languages.

Page Count
9 pages

Category
Computer Science:
Programming Languages