Inductive Deductive Synthesis: Co-Evolving Code-and-Proof Generation
cs.AI, cs.DC, cs.LO, cs.PL
Submitted: 2026-05-22
Updated: 2026-11-29
Code: https://github.com/skydiscover-ai/skydiscover
License: http://creativecommons.org/licenses/by/4.0/
The gist: AI agents increasingly excel at generating, testing, and refining code.
Terminology
Abstract
AI agents increasingly excel at generating, testing, and refining code. However, they fall short on tasks requiring formal guarantees of full coverage that testing alone cannot provide. Distributed systems are a prime example: properties such as consistency between reads and writes must hold under every possible interleaving of events. Mechanized formal verification can guarantee such correctness, but typically demands months to years of expert effort. As evidence, even SOTA coding agents (Codex with GPT-5.4 and Claude Code with Opus 4.6) succeed on only 2/7 distributed key-value-store specifications. In this paper, we present the first effective approach to addressing this gap, Inductive Deductive Synthesis (IDS), which incrementally co-evolves implementation and proof, and learns from failed attempts to systematically try promising strategies. Built as an agentic LLM system, IDS achieves 7/7 in about 6.9 hours and 106 per spec on average, roughly 200x faster than expert effort and 17% cheaper than SOTA agents. IDS further incorporates performance feedback into the same loop, yielding implementations up to 3x faster than published verified systems.
Sources
- AlphaVerus: Bootstrapping Formally Verified Code Generation through Self-Improving Translation and Treefinement
- DafnyPro: LLM-Assisted Automated Verification for Dafny Programs
- Evaluating Large Language Models Trained on Code
- Can Large Language Models Transform Natural Language Intent into Formal Method Postconditions?
- MetaGPT: Meta Programming for A Multi-Agent Collaborative Framework
- Draft, Sketch, and Prove: Guiding Formal Theorem Provers with Informal Proofs
- Goedel-Code-Prover: Hierarchical Proof Search for Open State-of-the-Art Code Verification
- miniCodeProps: a Minimal Benchmark for Proving Code Properties
- DafnyBench: A Benchmark for Formal Software Verification
- Laurel: Unblocking Automated Verification with Large Language Models
- AlphaEvolve: A coding agent for scientific and algorithmic discovery
- APOLLO: Automated LLM and Lean Collaboration for Advanced Formal Reasoning
- ChatDev: Communicative Agents for Software Development
- DeepSeek-Prover-V2: Advancing Formal Mathematical Reasoning via Reinforcement Learning for Subgoal Decomposition
- Reflexion: Language Agents with Verbal Reinforcement Learning
- Clover: Closed-Loop Verifiable Code Generation
- An In-Context Learning Agent for Formal Theorem-Proving
- Rango: Adaptive Retrieval-Augmented Proving for Automated Software Verification
- Kimina-Prover Preview: Towards Large Formal Reasoning Models with Reinforcement Learning
- Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
Related papers
- Beyond Moral Performance: Empirical Assessment of LLMs' Moral Competence Through Judgment Stability
- K12Vista: Exploring the Boundaries of MLLMs in K-12 Education
- A Matter of TASTE: Improving Coverage and Difficulty of Agent Benchmarks
- FlowSteer: Towards Agents Designing Agentic Workflows via Reinforced Progressive Canvas Editing
- Tokengeist: Multi-Turn Attribution Tracing in Agentic Conversations
- VESTA: Visual Exploration with Statistical Tool Agents