~/talk

Deriving Instances with Dependent Types

Talkat CoqPL 2020 · on Saturday, 2020-01-25· [compilers-and-language-design]
links:none on file
slides:none on file

Automates building typeclass instances for Coq inductives: the deriving library generates EQ, Choice, Countable/Fin-like and other instances without plugins and with generates math-comp instances by default by extracting constructor signatures from the type’s eliminator (so it extracts signature from eliminator). Representation uses an initial-algebra/functor fold and dependently typed combinators; already covers over 40 types. Limitations: slow inference (quadratic blowup on large constructors), poor binder naming, and no mutual or indexed-inductive support yet.

AI-written summary · about

  1. 0:00Problem introduction
  2. 4:17Deriving library intro
  3. 7:59Inductive types representation
  4. 15:54Automatic representation inference
  5. 16:14Custom instances demo
  6. 20:09Future work and conclusion
  7. 20:56Q&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.