~/talk

Melocoton: A Program Logic for Verified Interoperability Between OCaml and C (I...

Talkat CoqPL 2024 · on Saturday, 2024-01-20· [software-architecture, compilers-and-language-design]
links:none on file
slides:none on file

Melocoton gives a verified way to link OCaml and C: it supplies the first formal semantics of the OCaml FFI and a program logic that reasons end-to-end about OCaml code, C glue, and their boundary. Verification reuses existing ML/C logics, models runtime transitions that convert the high‑level OCaml heap to a block heap for glue code, and proves view reconciliation rules plus an adequacy theorem. The development is mechanized in Coq on top of Iris, handles callbacks, custom blocks, and uses angelic nondeterminism for block→value extraction.

AI-written summary · about

  1. 0:00Welcome
  2. 1:03Motivation for multilanguage verification
  3. 3:52OCaml-C interoperability challenges
  4. 5:20OCaml-C mixed code example
  5. 8:31Iris and Melocoton approach
  6. 11:40Language-local reasoning in Melocoton
  7. 14:28Reusing single-language logics
  8. 15:13External calls and interface assumptions
  9. 21:28Bridging memory models
  10. 25:28Dual-heap operational semantics
  11. 30:26Memory view reconciliation rules
  12. 35:43C semantics in Coq
  13. 40:44Linking languages and wrapping
  14. 43:55Program triples and correctness
  15. 46:47Adequacy theorem and safety
  16. 47:07Melocoton summary and future work
  17. 51:01Q&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.