~/talk

Type-Checking Heterogeneous Sequences in a Simple Embeddable Type System

Talkat PADL 2025 · 2025-01-20..01-21· [compilers-and-language-design]
github:jimka2001
slides:none on file

Claims a practical method to type-check heterogeneously typed sequences by inventing rational type expressions and compiling them to symbolic finite automata that match sequences in linear time. Key technical tool is maximal disjoint type decomposition that partitions overlapping/subtyping types so derivatives are computable even when subtype decidability is unknown. Implementation exists in Common Lisp, Clojure, Scala, Python, produces correct deterministic automata (sometimes with useless states) and reduces a worst-case 32-partition blowup to 10 in the example.

AI-written summary · about

  1. 0:00Type checking sequences
  2. 1:06Project history
  3. 2:11Regular type expressions
  4. 3:38Type lattice challenges
  5. 5:45Finite automaton for sequences
  6. 7:56Key type system challenges
  7. 10:22Type lattices across languages
  8. 13:17Brovsky derivative
  9. 17:57Maximal disjoint decomposition
  10. 21:12Finite automaton correctness
  11. 23:42Conclusion
  12. 24:44Q&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.