Researchers have developed CAPRI, a novel workflow designed to enhance the reliability of large language models (LLMs) in generating proofs for the Isabelle theorem prover. CAPRI introduces a contract-aware repair mechanism where Isabelle verifies the proof's correctness, while an independent checker enforces a machine-readable edit contract to ensure LLMs only modify authorized sections. Evaluations on failed proofs demonstrated that CAPRI significantly reduces the risk of unauthorized modifications, particularly when focused on proof bodies rather than entire theories. The system was tested across various configurations, including comparisons with OpenRouter and OpenAI, showing promising results in generating valid repairs while maintaining integrity. AI
IMPACT Enhances trust in LLM-assisted formal verification by ensuring model edits adhere to specified contracts.
RANK_REASON Academic paper detailing a new method for LLM proof generation in theorem proving. [lever_c_demoted from research: ic=1 ai=1.0]
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →