~/talk

Constrained generation of well-typed programs

Talkat TyDe 2025 · on Sunday, 2025-10-12· [testing, compilers-and-language-design]
links:none on file
links:none on file
slides:none on file

Approach reuses constraint-based type inference (Pottier & Rémy style) by parameterizing constraint generation over a search monad, representing partial untyped terms with subcomputations (do nodes) and running incremental constraint solving after each generation step. Prototype generates simply-typed and Hindley-Milner-style terms, elaborates solutions, and enumerates or samples solutions. Performance beats naive rejection sampling (practical up to size ~200–300; size 300 takes seconds), but generation speed needs further optimization for heavy fuzzing.

AI-written summary · about

  1. 0:00Introduction
  2. 1:15Efficient well-typed generation
  3. 3:21Type-directed challenges
  4. 6:33Type inference guidance
  5. 12:07Syntax with subcomputations
  6. 20:51Prototype generator demo
  7. 24:00Performance and scalability
  8. 26:51Comparison with rejection sampling
  9. 29:23Q&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.