- Rating
- 5
- Clarity
- 3
- Confidence
- 5
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
The paper proposes Inductive Deductive Synthesis, an agentic framework that jointly synthesizes implementations and machine-checked proofs from formal specifications. IDS combines deductive code/proof construction with inductive strategy revision guided by verifier feedback and performance measurements. Experiments on seven distributed key-value-store consistency specifications and several verification benchmarks show substantial improvements over frontier coding-agent baselines.
Strengths and weaknesses
Strength:
- Addresses implementation-and-proof synthesis from formal specifications
- Evaluates on nontrivial distributed-system verification tasks
- Shows large improvements over the reported agent baselines
- Clearly written and easy to follow
Weaknesses:
W1. The paper overstates the level of verification achieved.
The paper repeatedly claims the generation of “formally verified systems,” yet the synthesized artifacts are Gallina state machines and refinement proofs. The actual execution relies on extracted OCaml code and an external runtime that are not verified. Compared with end-to-end verified systems such as IronFleet and Verdi, IDS verifies protocol logic under an idealized model rather than a complete distributed-system stack.
W2. The system-level evaluation is narrow and largely self-constructed.
Six of the seven evaluated specifications are authored by the paper's own team, and all belong to the same family of distributed KV-store consistency guarantees. Existing system-level verification artifacts already exist in other ecosystems, e.g., VeruSAGE (8 systems) in Verus and IronFleet in Dafny, yet cross-language evaluation is restricted to function-level benchmarks. This makes it difficult to assess the generality of the proposed methodology.
W3. A critical proof-only ablation is missing.
The paper does not evaluate whether frontier models can generate the proofs when given a correct implementation. Such an experiment would help separate implementation-design difficulty from proof-generation difficulty and clarify the primary source of IDS's gains.
W4. Formal specifications remain a major practical bottleneck.
IDS assumes complete Rocq specifications as input, which are themselves expensive to construct and were co-developed with verification experts. As a result, the practical cost is not merely hours of automated synthesis, but expert specification development followed by synthesis.
W5. The paper provides limited analysis of failures and scalability.
The evaluation focuses primarily on successful runs and provides little insight into search cost, failure modes, or scaling behavior as specification complexity increases. It therefore remains unclear how the approach would perform on substantially more complex verification tasks.
W6. The impact of handcrafted prompt guidance is unclear.
The DSA prompt contains explicit proof-engineering recommendations, but the paper does not quantify their contribution through ablation studies. It is therefore difficult to assess how much performance comes from the proposed architecture versus prompt engineering.
Questions
Q1. How successful are frontier models at proving these specifications when given the final synthesized implementation? This would help isolate implementation discovery from proof generation.
Q2. What is the generalization capability of IDS on system-level verification tasks outside the distributed KV-store consistency domain, e.g., those in VeruSAGE or other Dafny systems?
Q3. The paper focuses primarily on successful runs. Can the authors provide additional analysis of failure modes, search cost, and how the approach scales with increasing specification complexity?
Q4. How sensitive are the results to the handcrafted proof-engineering guidance embedded in the DSA prompts? Has this been ablated independently?
Limitations
Yes
Paper formatting concerns
None
Final justification
The rebuttal comprehensively addressed all of my concerns. I appreciate the authors’ substantial effort during the rebuttal period, and the additional evidence fully resolved the issues I had raised. I am now convinced of the paper’s merits and fully support its acceptance.
We thank the reviewer for the careful reading and detailed feedback, and are glad the reviewer found the distributed-system tasks nontrivial and the gains over the agent baselines significant. We address each comment below:
W1: Scope of the verification claim
Thank you for this point. We agree the verification scope must be stated precisely. IDS verifies at the protocol level, where the implementation and its refinement proof are machine-checked by the Rocq kernel. The Trusted Computing Base (assumed correct) is the Rocq kernel, Gallina-to-OCaml extraction, OCaml toolchain, runtime shim, and hardware. In the revision we will define this TCB explicitly and use the term "verified protocol implementation" throughout to reflect what is checked.
We will add this clarification to the Limitations (App. H). Verdi [55] and Chapar [26] set the same boundary, verifying in Rocq and extracting to OCaml for an unverified runtime (App. D); our synthesis method is independent of it. Extending down the stack via CertiCoq for verified compilation, together with runtime-shim validation, is a promising direction.
W2 (and Q2): Generality beyond distributed KV stores
Thank you for this suggestion. We add two new settings outside the KV family, one in Verus and one in Dafny, both verified by Z3 rather than Rocq.
First, VeruSAGE-Bench contains 849 proof-synthesis tasks from eight real-world Verus projects. For each task we remove the target proof function body and require IDS to synthesize it so Verus verifies the file.
Generalization to Verus, verified by Z3 (success rate):
The suite is near saturation (81% for Sonnet 4.5, 93.9% for Opus 4.5), so gains are small, but they confirm IDS generalizes to Rust systems such as OS kernels, memory allocators, and serialization code.
Second, we evaluated IDS on IronFleet (Dafny), built over roughly 3.7 person-years, with a lock, a Paxos replicated state machine (IronRSL), and a sharded key-value store (IronKV). With all implementations and proofs (lemmas, asserts, loop invariants) removed from the lock spec, IDS regenerated and proved all 15 files from the unmodified spec with no axioms or assumptions. IronRSL and IronKV are larger and remain for the final version and future work.
W3 (and Q1): Proof-only setting with the implementation given
Thank you for this suggestion. To isolate implementation difficulty from proof difficulty, we add a proof-only baseline. Given only the specification, Codex and Claude Code produce both implementation and proof in the Table 1 setting. Claude Code (spec + IDS impl) instead receives the specification plus the implementation IDS synthesized, and produces only the proof.
Pass rate over 3 runs per spec; a spec counts in the Total when it passes a majority of runs, 2 of 3 or more:
Given the implementation, Claude Code reaches a majority pass on two proofs it could not close before, MR (0/3 to 2/3) and RYW+MW (1/3 to 3/3), but still fails the other three, Chapar CC, IDS suite CC, and LCC (all 0/3). IDS closes all seven because it discovers implementation and proof jointly. A finished implementation records the final state representation but not the trial and error behind it, and in IDS that search closes the proof.
Two results further reinforce this. Under -J, IDS commits to one design and never revises it, and only RYW passes a majority, 1 of 7 (Table 2). In Table 5, the best of 100 implementations, given the spec, goes to the prover, and again only RYW is proved, 1 of 4. The simplest spec closes both times; everything harder needs implementation and proof to advance together. We will highlight this in the paper.
W4: Practical cost of writing the specifications
Thank you for raising this point. Developing the specifications took a few days of effort from an expert in formal verification and distributed systems. Six of the seven are new, 1,018 lines of Rocq across five spec files (Table 3, App. A). We agree this expert effort must be accounted for; we will say so in the introduction and note in App. H that automating specification development is an orthogonal open problem.
The specifications are also general and reusable, and their cost is small relative to what follows. Chapar [26], for instance, reports 9 to 12 months of expert effort for its published key-value store proof, which IDS completes in 10 hours and 148 dollars (§5.2). The cost of a verified system thus moves from months of proof effort to a few days of specification plus hours of synthesis.
W5 (and Q3): Failure modes, search cost, and scaling
Thank you for the question. We characterize performance through four failure modes; IDS recovers from the first three, and the fourth ends the run at budget exhaustion. Full IDS passes 3/3 on every spec (IDS suite CC 2/3), and the ablation column reports which specs fall when each component is removed (Table 2).
Failure modes, how IDS responds, and the ablation isolating each:
Failures are confined to the hardest specs. The single KV miss is IDS suite CC, and the 41 open benchmark tasks (DafnyBench 12, VERINA 13, AlgoVeri 12, CoqStoq 3, Verus-Bench 1) are the hardest in their suites (App. E). Because Rocq validates every proof and the audit filters trivial ones, a failure yields no artifact rather than a false positive.
Costs stay bounded. The median run takes 7 hours and 102 dollars (Table 1), and all seven specs total 48 hours and 744 dollars, below the Codex (67 hours, 880 dollars) and Claude Code (56 hours, 885 dollars) baselines, which each closed only 2 of 7.
Cost scales with the complexity of the guarantee, not artifact size. The session guarantees (RYW, MW, RYW+MW, MR) take 2 to 7 hours and 52 to 102 dollars; the causal ones (LCC, Chapar CC, IDS suite CC) take 10 to 11 hours and 136 to 155 dollars. Size is not the driver. LCC is larger than Chapar CC (3,924 lines and 128 lemmas versus 3,037 and 79) yet closes in the same time for less (136 versus 148 dollars) (Tables 1 and 4).
W6 (and Q4): Contribution of the DSA prompt guidance
Thank you for the suggestion. We ablate the prompt guidance as a new -G column in Table 2, removing the proof-engineering guidance in the DSA prompt (tactic playbooks and decomposition guidance, App. F.2) while keeping the task constraints and the Rocq feedback loop.
Ablating the DSA prompt guidance (-G), successes from 3 runs per spec, 189 tasks for VERINA:
Removing the guidance has minimal effect on correctness. The pass rate is essentially unchanged, 19/21 versus 20/21. With the Rocq feedback loop, the agent rediscovers the needed tactics itself, only slower. The guidance is generic proof-engineering advice, not domain-specific algorithms, state representations, or proof content, and with only tactics adapted per language it applies across Dafny, Lean, Verus, and Rocq. It is therefore an efficiency aid. Without it the search is less directed, raising mean time from 6.8 to 8.4 hours and mean cost from 106 dollars to 144 dollars.
We thank the reviewer again for the thoughtful feedback, and hope these clarifications and additional results address the points raised. We are glad to provide further analysis during the discussion period.
Best,
The Authors