~/talk

Interpreting OCaml GADTs into Coq

Talkat ML 2022 · on Thursday, 2022-09-15· [compilers-and-language-design]
links:none on file
links:none on file
slides:none on file

Implements a two-pronged translation that maps OCaml GADT indices to an intensional ML-type syntax and then interprets those into concrete Coq types so reduction remains computable; produces explicit equality witnesses that let Coq accept functions like head on length-indexed vectors and proves constructor injectivity for indices. Integrates with the existing Cogen backend, needs a compiler trace of generated equations, handles many core-ML features but still fails for existentially split indices and proposes a relation-based workaround.

AI-written summary · about

  1. 0:00Starting point: the Coggen project
  2. 1:12Soundness by translation
  3. 3:04A classical example
  4. 4:58What about head?
  5. 6:52The difference between GADTs and inductive types
  6. 10:29Type interpretation function
  7. 12:49Injectivity of type constructors
  8. 14:14Mixed use of existential type variables
~/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.