arXiv · 2607.21204
chrKanren: Constraint Handling Rules in a Relational Language
Abstract
We present chrKanren, a dialect of the purely relational constraint logic programming language miniKanren which includes support for Constraint Handling Rules (CHR), a language for writing rule-based programs such as constraint solvers. We show how to integrate CHR's constraint propagation mechanism into the language of miniKanren search streams such that both processes remain complete. We also use chrKanren to illustrate novel applications of constraints in miniKanren, such as semantic unification of user-defined data structures and type-and-example-directed synthesis for relational interpreters in the style of MYTH.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Rafaello Sanna, William E. Byrd, Nada Amin. 2026-07-23. chrKanren: Constraint Handling Rules in a Relational Language. https://doi.org/10.4204/eptcs.450.30
Cite the original work for its findings. Save a collection to share your selection of sources.