~/talk

Characterizing functions mappable over GADTs

Talkat APLAS 2022 · 2022-12-05..12-10
links:none on file
links:none on file
slides:none on file

An algorithm takes a term t and a type-formula specification Phi and returns constraints that exactly characterize which functions are mappable over t; it treats mapping relative to a specification Phi (not just the datatype), performs unification when needed, and can produce nontrivial requirements like "only the identity" in examples where constructors fix data (e.g., Nat inside a GADT). The paper includes surprising counterexamples, formal-function intermediates, and an Agda implementation as proof of concept.

AI-written summary · about

  1. 0:00Start
  2. 2:57Nested Types
  3. 4:37Generalized Algebraic Data Types
  4. 7:24Data-changing, stucture-preserving
  5. 16:10The idea of the algorithm
  6. 18:44Specifications matter
  7. 19:48First example
  8. 22:45Example: deep specification
  9. 26:16Example: enforced structure
~/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.