Research map / Large language models / Agents, code and math
LLMs versus the Halting Problem: Characterizing Program Termination Reasoning
Oren Sultan, Jordi Armengol-Estapé, Pascal Kesseli, Julien Vanegue, Dafna Shahaf, Yossi Adi, Peter O'Hearn
Imperial College London · University College London · Hebrew University of Jerusalem
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use test-time scaling with unanimous voting over 10 of 20 samples | Qwen3-32B · SV-Comp 2025 termination | SV-Comp score: 225 -> 2,895 | Improved |
| use test-time scaling with unanimous voting | all five LLMs · SV-Comp 2025 termination | F1: e.g. Claude NT F1 0.96 -> 0.89 | Hurt |
| use a reasoning model instead of non-reasoning GPT-4o | LLM termination prediction · SV-Comp 2025 termination | SV-Comp score | Improved |
| require a verifier-valid witness automaton for non-termination | GPT-5 · SV-Comp 2025 termination NT witnesses | witness validity: validity 41.4% | Hurt |
| increase program length (longer input bins) | all LLMs · SV-Comp 2025 termination | mean SV-Comp score | Hurt |
| ask for divergence-domain logical expression instead of SV-Comp witness graph | Claude Sonnet-4.5 · 40 NT programs | Pass@1: 0.80 -> 0.87 | Improved |
| ask for divergence-domain expression instead of witness graph | CWM · 40 NT programs | Pass@1: 0.75 -> 0.82 | Improved |
| move from linear to non-linear divergence conditions | Claude Sonnet-4.5 · domain witness | Pass@1: 87.0% -> 76.7% | Hurt |
| anonymize function and variable names (ablation) | reasoning models · Halteval-Prelim | performance | No clear effect |
Open problems this paper states
- “Evaluation covers only C programs from SV-Comp.” → Each method is tested in one proof assistant, language or domain. (an open problem in formal verification and proof data)
Open problems in formal verification and proof data
How can LLM proof and formalization pipelines be trusted beyond one prover, one benchmark and one difficulty level?
- Each method is tested in one proof assistant, language or domain. · 9 papers state it
- Formal statements can drift from the meaning of the natural-language original. · 5 papers state it
- LLM judges used for scoring are themselves unreliable. · 4 papers state it
Closest papers by meaning
- LLM-Guided Loop Bound Generation for Program Termination Verification (ICML 2026 · similarity 0.91)
- Lemur: Integrating Large Language Models in Automated Program Verification (ICLR 2024 · similarity 0.89)
- CoRe: Benchmarking LLMs’ Code Reasoning Capabilities through Static Analysis Tasks (NeurIPS 2025 · similarity 0.87)
- APOLLO: Automated LLM and Lean Collaboration for Advanced Formal Reasoning (NeurIPS 2025 · similarity 0.87)
- Evaluating Program Semantics Reasoning with Type Inference in System F (NeurIPS 2025 · similarity 0.87)
- Towards General Loop Invariant Generation: A Benchmark of Programs with Memory Manipulation (NeurIPS 2024 · similarity 0.86)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.