Reproduce “TrustedCode: Evaluating Large Language Models for Developing Trusted Code through Automated Program Verification” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Muhammad Danial, Muhammad Taimoor Khan
TrustedCode uses a language model and theorem prover to ease formal verification of Python. It translates code into WhyML specifications, checks them with Why3, and feeds errors and attempts back for repairs. Across ten functions, simple if/else cases had 100% prover acceptance, averaging 1.5 tries; bubble sort lacked a sound proof within ten tries. Acceptance does not establish specification fidelity.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.