~/talk

Do You Have Space for Dessert? A Verified Space Cost Semantics for CakeML Programs

Talkat OOPSLA 2020 · 2020-11-15..11-20· [compilers-and-language-design]
links:none on file
links:none on file
links:none on file
links:none on file
links:none on file
slides:none on file

Presents a concrete, verified space-cost semantics for CakeML by formalizing a dataLang cost semantics that measures heap and stack with a size_of function using timestamps to avoid double-counting; it adds runtime checks that set a safe_for_space predicate false when limits are exceeded. Proves soundness w.r.t. the CakeML compiler that uses garbage collection, shows size_of is idempotent under GC, and mechanizes proofs in HOL4 formalization, so compiled code cannot introduce new out-of-memory behaviours.

AI-written summary · about

  1. 0:00Introduction
  2. 0:32What is CakeML
  3. 1:38Objectives
  4. 2:16Why Programs Run Out of Memory
  5. 3:59KML
  6. 4:49DataLag
  7. 5:42Example FullL
  8. 7:47Example List
  9. 9:50How it works
  10. 10:34Example
  11. 12:07Counting Values
  12. 12:35Sizeof
  13. 13:40Counting
  14. 14:48Conclusion
~/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.