~/talk

Analyzing Programs with SMT Solvers

Talkat FUN OCaml 2025 · 2025-09-15..09-16· [compilers-and-language-design]
slides:none on file

Uses Z3 with OCaml bindings and SMTML to compile a tiny IMP language into SMT formulas, generating Z3 with OCaml bindings expressions for literals, variables and operations and emitting assertions that tie SSA-renamed variables across time. Loops become bounded unrolling and SSA with an explicit bound and a fail assertion; verifier returns concrete counterexamples used for synthesis. Works well on small DSLs, embedded ISAs and was scaled experimentally to LLVM IR (project Super).

AI-written summary · about

  1. 0:00Introduction to SMT solvers
  2. 1:31Satisfiability and structure
  3. 4:58Analyzing programs with SMT
  4. 7:46Formula compilation foundation
  5. 10:20Compiler construction logic
  6. 13:20Mapping interpreter to compiler
  7. 17:10Compiling commands and flow
  8. 20:16Control flow in SMT
  9. 21:59Advanced verification applications
  10. 25:09Real-world use cases and summary
~/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.