~/talk

A Case Study in Functional Conversion and Mode Inference in miniKanren

Talkat PEPM 2024 · on Tuesday, 2024-01-16· [compilers-and-language-design]
links:none on file
links:none on file
links:none on file
slides:none on file

Claims a concrete pipeline that turns miniKanren relations into deterministic functions via functional conversion plus mode inference, implemented as a conversion scheme in hk and evaluated on sorting and permutation generators. Reports a dramatic gap: a slow relational direction taking about 300 seconds on a 5‑element list versus the converted functional version handling up to 262 elements per second; inversion removes search generators and yields single-answer functions for many relations. Shows where conversion fails (nonfunctional predicates) and targets partial deduction and type checks for future work.

AI-written summary · about

  1. 0:00Introduction
  2. 1:12Functional conversion of addition
  3. 3:21Functional conversion examples
  4. 5:29Generators in functional conversion
  5. 7:29Mode inference and conversion
  6. 10:28Performance comparison
  7. 12:50Advantages of functional conversion
  8. 14:28Program inversion and work
  9. 16:18Discussion on generators
  10. 17:28Limitations of conversion
  11. 19:28Converting functions to relations
  12. 20:50Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.