~/talk

Coq to C Translation with Partial Evaluation + Counterexample Generation

Talkat PEPM 2021 · 2021-01-18..01-19· [compilers-and-language-design]
links:none on file
links:none on file
links:none on file
links:none on file
links:none on file
slides:none on file

Builds a verified Coq-to-C code generator that uses a custom codogen plugin and a partial-evaluation pipeline to monomorphize polymorphic/dependent functions, emit tail-recursive loops as goto-based C, map inductive types to uint64/macros, and apply restricted beta/data reductions that avoid duplicated computation; prototype produces C functions provably equal to their Coq originals. The verification tool work produces ownership slicing and CHC-based counterexample traces for CONSORT-style ownership refinement types using an SMT backend (Z3), fast on small benchmarks (<1s) but slow on larger examples (>1min), prototype only.

AI-written summary · about

  1. 0:00Introduction
  2. 1:05Coq to C purpose
  3. 2:55Low-level features
  4. 5:03Monadic power example
  5. 8:18Verifying translated code
  6. 9:03Partial evaluation
  7. 12:40Duplication in evaluation
  8. 17:01Convergence rules
  9. 19:10Normal form terms
  10. 25:18Combining evaluation and verification
  11. 26:06Q&A on monomorphization
  12. 31:32Second talk intro
  13. 32:16Consul verification overview
  14. 34:01Consul demo sorted list
  15. 36:14Consul error limits
  16. 37:58Hybrid error messages
  17. 42:40Type inference slicing
  18. 45:55Counterexample generation
  19. 51:58Related work and conclusion
  20. 53:46Q&A on scalability
~/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.