~/talk

A New Higher-order Unification Algorithm for λKanren

Talkat miniKanren 2021 · 2021-08-26..08-27· [compilers-and-language-design]
links:none on file
slides:none on file

A higher-order unifier for λKanren extends Miller’s pattern fragment with a new maybe-var-term rule and enforces a scope-aware representation using static closures paired with brown levels (de Bruijn-like indices) to prevent variable capture and shadowing bugs. It replaces binary binder merging with scope extension checks, accepts more alpha-/beta-equivalences correctly, avoids false positives from naive renaming, and runs on λKanren examples like alpha-equivalence and variable instantiation where the original algorithm fails.

AI-written summary · about

  1. 0:00Introduction
  2. 0:14What is miniKanren
  3. 0:56Higherorder Unification
  4. 1:48Term of Unification
  5. 2:55lambda current programs
  6. 4:06millers algorithm
  7. 5:57Scope restriction
  8. 7:21Variable capturing problem
  9. 8:49Brown levels
  10. 9:31Binary binder merging
  11. 10:31Name shadowing
  12. 11:47False positives
  13. 12:47Static Closure
  14. 13:14Extend
  15. 14:07Example
  16. 16:16Scopes
~/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.