~/talk

Overcoming Restraint: Composing Verification of Foreign Functions with Cogent

Talkat CPP 2022 · 2022-01-17..01-18· [compilers-and-language-design]
links:none on file
links:none on file
links:none on file
slides:none on file

Cogent’s FFI is proven to preserve uniqueness typing and memory safety while composing Cogent proofs down to C: the compiler’s multi‑phase refinement pipeline (shallow→polymorphic→monomorphic→update→C) composes with manually proved refinements for template C. Verified artifacts include array operations (length get put fold map), a reusable repeat iterator and a binary‑search implementation, all proved refinement and memory‑safe in isabelle hull and used to discharge obligations for BilbyFs, demonstrating mixed Cogent‑C verification works.

AI-written summary · about

  1. 0:00Start
  2. 0:13Motivation
  3. 3:54Proof Requirements
  4. 6:31Typing Constraints
  5. 7:18Frame Constraints
  6. 8:52Binary Search
  7. 9:38Functional Correctness Specification of Binary Search
  8. 9:58Binary Search Encoding
  9. 11:23The Correctness Theorem
~/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.