~/talk

An Empirical Study of Partial Deduction for miniKanren

Talkat miniKanren 2020 · on Thursday, 2020-08-27· [compilers-and-language-design]
links:none on file
slides:none on file

Presents an implemented specializer that combines partial deduction and supercompilation into a conservative partial deduction for miniKanren, plus a last-branching heuristic that picks the relation call that most narrows the search. Evaluated against classic CPD and a conjunctive PD on four benchmarks (two eval implementations, a unifier, and a path search finding five paths of length 7 in a 20-vertex, 30-edge graph). Empirical claim: conservative PD produces faster residuals on 3 of 4 cases, CPD times out (>30s) or makes code larger in some cases.

AI-written summary · about

  1. 0:00Partial Deduction: a Method to Improve Logic Programs
  2. 1:38Partial Deduction for MINIKANREN: Bird's-eye View
  3. 2:23Driving Unfolding
  4. 4:15Conjunctive Partial Deduction: Left-to-right Unfolding
  5. 5:00CPD Split is Necessary
  6. 5:40Split: Which Way is the Right Way?
  7. 6:05Decisions in Partial Deduction
  8. 7:08Evaluator of Logic Formulas: Unfolding Step 2
  9. 8:52Unfolding of Boolean Connectives
  10. 9:07Unfolding Boolean Connectives First
  11. 9:30Evaluator of Logic Formulas Conservative PD
  12. 10:11Conservative Partial Deduction
  13. 11:37Less-branching Heuristics
  14. 12:31Evaluator of Logic Formulas Order of Calls
  15. 12:48Evaluator of Logic Formulas: Compexity of Relations
  16. 13:34Evaluator of Logic Formulas: Evaluation
  17. 14:22Path Search
  18. 14:33Evaluation Results
  19. 14:53Conclusion
~/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.