~/talk

Formalizing OCaml GADT typing in Coq

Talkat ML 2021 · on Thursday, 2021-08-26
links:none on file
links:none on file
slides:none on file

Mechanization of OCaml GADT typing in Coq formalizes ambivalent-type principality and proves subject reduction for a graph-based encoding; implementation exposes and fixes a concrete ambiguity bug where applying a function under competing equalities yields different result types. Uses Coq proofs, a graph representation of types, explicit witness-elimination rules and GC of unreachable nodes to detect ambivalence. Claims: soundness of ambivalence relative to local unification, mechanized subject reduction, and groundwork toward a Coq proof of principality and soundness for OCaml GADT inference using graph types.

AI-written summary · about

  1. 0:00Start
  2. 3:02Soundness and principality of inference
  3. 10:44Example
  4. 11:34Selected typing rules
  5. 12:35Detecting ambiguity
  6. 16:52Relation to principality
  7. 18:54Remaining work
  8. 22:06Other approaches to soundness
~/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.