~/talk

Automated Program Refinement: Guide and Verify Code Large Language Model with(…)

Talkat POPL 2025 · 2025-01-19..01-25· [ai-assisted-development]
name:Yufan Cai
links:none on file
name:Zhe Hou
links:none on file
links:none on file
name:Yun Lin
links:none on file
name:Jun Sun
links:none on file
links:none on file
slides:none on file

A toolchain called Refine4LLM guides GPT-style code models with refinement calculus, generates code, then checks it with SMT/ATP verification (Z3-like solvers) and feeds counterexamples back to the model or switches refinement laws. It finds and learns learned refinement laws from ~100 example patterns with some human-in-the-loop curation. Demonstrations include catching a hallucinated infinite loop in a naive square‑root, producing provably terminating binary‑search and quicksort variants, and reducing refinement plus verification time versus baselines.

AI-written summary · about

  1. 0:00Program refinement and LLM challenges
  2. 2:12Refinement calculus for correctness
  3. 5:49Guiding LLMs with formal systems
  4. 9:04Dynamic refinement from data
  5. 13:20System workflow and applications
  6. 15:06Limitations and future work
  7. 16:13Q&A: Invariants and variants
  8. 17:36Q&A: Dynamic laws for data
~/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.