~/talk

Equivalence by Canonicalization for Synthesis-Backed Refactoring

links:none on file
name:Kevin Ye
links:none on file
name:Jacob Yim
links:none on file
links:none on file
slides:none on file

Presents equivalence by canonicalization: run compiler-style syntactic transforms (deforestation, partial evaluation) on both direct and combinator sketches, then use higher-order unification to prove semantic equivalence. Implements the framework as Cobbler, targets Elm combinators and Python→NumPy, and evaluates on thousands of real programs. Median synthesis time is about 0.5s; human evaluators prefer refactorings for nonrecursive cases ~25% and lists ~50%; NumPy outputs beat vanilla Python by ~2x at very large inputs (≈1e8) and become faster by ~1e6.

AI-written summary · about

  1. 0:00Equivalence by canonicalization
  2. 0:21Pattern matching vs combinators
  3. 2:27Formal problem statement
  4. 3:49Limitations of I/O examples
  5. 4:30Syntactic equivalence limits
  6. 6:58Component-based refactoring
  7. 8:00Canonicalization properties
  8. 10:49Generalizing equivalence for sketches
  9. 11:30Comparing canonicalization functions
  10. 12:31Practical evaluation with Cobbler
  11. 14:34Cobbler tips and performance
  12. 15:16Key takeaways
  13. 15:39Q&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.