18.9.2026 14:23

Multi-stage Relational Programming

Spain IMDEA Software Institute Unknown author

Thursday, October 22, 2026.

11:00am Meeting room 302 & Zoom3 https://zoom.us/j/3911012202 (pass: @s3)

Jason Herman, Assistant Professor, Seton Hall University

Multi-stage Relational Programming

Abstract:

We transport multi-stage programming from functional to relational programming, with novel constructs to give programmers control over staging and non-determinism. We stage interpreters written as relations, in which the programs under interpretation can contain holes representing unknown expressions or values. By compiling the known parts without interpretive overhead and deferring interpretation to run time only for the unknown parts, we compound the benefits of staging (e.g., turning interpreters into compilers) and relational interpretation (e.g., turning functions into relations and synthesizing from sketches). We extend miniKanren with staging constructs and apply the resulting multi-stage language to relational interpreters for subsets of Racket and miniKanren as well as a relational recognizer for context-free grammars. We demonstrate significant performance gains across multiple synthesis problems, systematically comparing unstaged and staged computation, as well as indicatively comparing with an existing hand-tuned relational interpreter.


https://software.imdea.org/events/invited-talks/2026/10-22

Author
Company / Organization
IMDEA Software Institute
Share