~/talk

Certified hardware for regexp matching: A rocq library and its workflow

Talkat LOPSTR+PPDP 2026 · 2026-08-27..08-29· [compilers-and-language-design]
links:none on file
links:none on file
links:none on file
slides:none on file

A rocq library implements a certified synthesize function that turns a regular expression DSL into a Haskell matcher, uses clash to generate VERILOG, and runs the resulting circuit on an FPGA via Yosys. The workflow enforces a three-layer design (abstract MathComp, concrete reifications, synthesis-friendly types) so extracted code stays clash-synthesizable. Benchmarks: extraction takes 5s and 25s for two Brill examples, clash VERILOG generation ~2.5 hours, resulting matchers use less than 200 cells and run above 358 MHz.

AI-written summary · about

  1. 0:00Introduction
  2. 1:50Software to hardware with Clash
  3. 3:59Specifying regular expressions in Rocq
  4. 6:07Three-layer design
  5. 11:06Finite types and functions
  6. 13:20NFA in Rocq
  7. 17:42General regex proofs
  8. 18:23Experimental results
  9. 20:11End-to-end verification
  10. 21:16Q&A
  11. 24:29Q&A
  12. 26:16Q&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.