~/talk

Regular Language Type Inference with Term Rewriting

Talkat ICFP 2020 · 2020-08-23..08-26· [compilers-and-language-design]
links:none on file
links:none on file
links:none on file
slides:none on file

Claims fully automatic inference of regular-language types for higher-order, tree-processing programs by modeling semantics as term rewriting and types as tree automata. It learns invariants with a counterexample-guided loop using tree automata completion plus SMT solving, is regularly-complete and complete in refutation, and ships as an OCaml extension to Timbuk. Evaluation on 80+ benchmarks solves 16% more problems than prior Timbuk and cuts worst-case memory to under 40 MB.

AI-written summary · about

  1. 0:00Intro
  2. 0:35Fully Automatic Verification of Higher-Order Functional Programs processing Algebraic Datatypes
  3. 1:46Current verification techniques vs. regular properties Techniques classification
  4. 5:21From Functional Programs to Terms Rewriting Systems A rewriting systems defines a set of rewriting rules between patterns encoding the program's semantics
  5. 6:05Regular Languages and Tree Automata A tree automaton is a rewriting system defining a regular set of terms.
  6. 7:07Verification Settings The initial problem becomes a rewriting problem, then a type checking problem: User input
  7. 8:25Typing Algorithm
  8. 9:33Type inference Input: a TRS R, a symbol f, a target output (regular language) type 0.
  9. 10:37Regular Invariant Learning SMT-based CEGAR procedure on Tree Automata 1. Experiment 2. Observation 3. Hypothesis
  10. 13:29Experiments & Conclusion Implementation in Timbuk 4, tested on 80+ problems, compared with Timbuk 3
~/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.