~/talk

A Mechanically Verified Garbage Collector for OCaml

Talkat OCaml Workshop 2025 · on Friday, 2025-10-17· [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

Verified stop‑the‑world mark‑and‑sweep GC implemented from scratch, mechanized in F with its low‑level subset Low and extracted to C via KaRaMel, then linked into OCaml 4.14.1. Proofs relate mark to a DFS on an abstract object graph (handles infix/internal pointers, closure field starts), sweep coalesces free blocks, and a preserved reachable subgraph guarantee gives safety; liveness holds except where merging complicates reasoning. Benchmarks versus stock OCaml GC and Boehm show stable runs and pragmatic performance; mark‑stack overflow is avoided by assuming stack >= heap.

AI-written summary · about

  1. 0:00Verified GC in OCaml
  2. 3:12F* proof-oriented approach
  3. 7:07Graph reachability in F*
  4. 13:46Mark phase correctness
  5. 18:24Sweep phase with coalescing
  6. 20:30Verification effort
  7. 21:55Performance benchmarks
  8. 23:30Q&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.