SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2608.13522 · 2026

Vero: Can AI Agents Build Formally Verified Software Repositories?

Kaiyu Yang, Dawn Song, Qingyang Zhang, Peiyang Song, Jingxuan He, Hantao Lou, Yuechun Sun, Zhe Ye, Zhengxu Yan, Timothe Kasriel, Soonho Kong

arXiv · PDF · Open in the Atlas

Code that ran

3 of 6 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 2 have no contract verdict; 1 failure of our instrument; 3 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2608.13522.json · badge: /api/ran/2608.13522.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
sunblaze-ucb/vero community
Papers with Code archive
3 ran · 3 no recorded run
FunctionStatusWhere it lives
EventLogger Ran
ran on a synthesized input
sunblaze-ucb/vero/src/vero/generation/agents/base.py
code served (permissive licence) · get_code("9748e66acb85f01a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned NoneType. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import tempfile
from pathlib import Path

# Create a temporary directory for the sandbox
temp_dir = tempfile.mkdtemp()

INIT_ARGS = {
    'agent': 'test_agent',
    'sandbox_dir': Path(temp_dir),
    'jsonl_name': 'agent_events.jsonl',
    'text_name': 'agent.log',
    'mirror_to_stderr': False,
    'text_truncate': 4000
}

# EventLogger's primary method is 'log', which is the main computation method
METHOD = 'log'

ARGS = {
    'kind': 'test_event',
    'message': 'This is a test message',
    'value': 42,
    'nested': {'key': 'value', 'number': 123}
}
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
loguru — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type NoneType — a NoneType output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a NoneType output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
_json_default Ran
ran; our contract draft was wrong, not the code
sunblaze-ucb/vero/src/vero/generation/agents/base.py
code served (permissive licence) · get_code("026bb6a880e70f44")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import json
from typing import Any

torch.manual_seed(0)

# Test case 1: Object with model_dump method (like pydantic models)
class PydanticLike:
    def model_dump(self):
        return {"field1": "value1", "field2": 42}

# Test case 2: Object with __dict__ but no model_dump
class SimpleObject:
    def __init__(self):
        self.public_attr = "visible"
        self.another_attr = 123
        self._private_attr = "hidden"

# Test case 3: Object with model_dump that raises exception
class BrokenModelDump:
    def model_dump(self):
        raise RuntimeError("model_dump failed")
    
    def __dict__(self):
        return {"fallback": "value"}

# Test case 4: Object with only __dict__
class DictOnly:
    def __init__(self):
        self.x = 10
        self.y = "test"
        self._internal = "should_be_filtered"

# Test case 5: Object with neither model_dump nor useful __dict__
class NoMethods:
    pass

# Create instances to test
pydantic_obj = PydanticLike()
simple_obj = SimpleObject()
broken_obj = BrokenModelDump()
dict_obj = DictOnly()
no_methods_obj = NoMethods()

# Test with various types
test_objects = [
    pydantic_obj,
    simple_obj,
    broken_obj,
    dict_obj,
    no_methods_obj,
    42,
    "string",
    [1, 2, 3],
    {"key": "value"},
]

ARGS = {
    "o": pydantic_obj
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
_utc_iso Ran
ran on a synthesized input
sunblaze-ucb/vero/src/vero/generation/agents/base.py
code served (permissive licence) · get_code("93f2e8428e218f77")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

from datetime import datetime, timezone

def _utc_iso() -> str:
    return datetime.now(timezone.utc).isoformat(timespec='milliseconds').replace('+00:00', 'Z')

ARGS = {}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
AgentResult Not yet run
unverified (harvested, no recorded run)
sunblaze-ucb/vero/src/vero/generation/agents/base.py
code served (permissive licence) · get_code("76b7b63b3e6d91ea")
How it ran

no invocation recorded.

BaseAgent Not yet run
unverified (harvested, no recorded run)
sunblaze-ucb/vero/src/vero/generation/agents/base.py
code served (permissive licence) · get_code("5dbbe46a2b28ec5e")
How it ran

no invocation recorded.

RunOutcome Not yet run
unverified (harvested, no recorded run)
sunblaze-ucb/vero/src/vero/generation/agents/base.py
code served (permissive licence) · get_code("839bf886cbe341a2")
How it ran

no invocation recorded.

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 6 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

AI agents are increasingly used for programming, but do not provide any guarantee on the correctness of generated code. Verified code generation, in which an agent produces both an implementation and a machine-checked proof of its specification, offers a stronger path toward trustworthy AI-generated software. Existing benchmarks in this direction either focus on individual functions or only evaluate proof generation with provided implementations. It is still an open question whether agents can make coherent implementation and proof choices across real multi-module codebases. To bridge this gap, we introduce Vero, the first benchmark to evaluate joint implementation and proof synthesis at the repository level. Vero contains 43 multi-module instances sourced from real-world repositories spanning Python, Dafny, Verus, and Coq, and covering diverse domains from cryptographic protocols to distributed systems. Each instance consists of a multi-module Lean 4 repository with predetermined API interfaces, manually curated formal specifications, and reference implementations, supporting both proof-only and code-and-proof evaluation modes. To improve benchmark reliability, Vero also includes an audit mechanism where agents are allowed to formally prove unsatisfiability of provided specification or incorrectness of reference code, which surfaces and corrects latent code and specification errors during curation. We evaluate frontier coding-agent configurations with Lean toolchain access. The strongest agent fully solves only 27 of 43 instances and closes no specifications on the hardest repositories. Vero provides a concrete testbed for measuring progress toward repository-scale verified software synthesis, where current agents still fall short. We release the benchmark, curation pipeline, and evaluation harness at https://github.com/sunblaze-ucb/vero.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2608.13522")
get_code_for_paper("2608.13522")
have("2608.13522")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2608.13522.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2608.13522.svg)](https://syntology.ai/paper/2608.13522)

Connect an agent — have() is free.