~/talk

A Word Sampler for Well-Typed Functions

Talkat LAFI 2026 · on Sunday, 2026-01-11· [compilers-and-language-design]
slides:none on file

An exact sampler takes an acyclic finite automaton α∅ and produces functions from a simply-typed first-order language that are uniformly without replacement drawn from the well-typed subset L(α∅). It compiles the syntax-directed type system into a vanilla context-free grammar via a fixed-parameter tractable reduction that preserves type soundness and completeness w.r.t. L(α∅), normalizes to Chomsky form, intersects with the finite regular slice, and supports both uniform and autoregressive decoding; benchmarks hit ≈22M tokens/s and CNF size grows to a few megabytes for nontrivial signatures.

AI-written summary · about

  1. 0:00Introduction
  2. 1:48Word sampler for well-typed functions
  3. 2:34Type theories into context-free grammars
  4. 5:27Typing judgments into grammar
  5. 7:14Toy language for function generation
  6. 9:00Context-free with regular constraints
  7. 10:25Sampling methods and benchmarks
  8. 11:06Tool demo and related work
  9. 11:59Q&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.