Switch language한국어
Back to the list

Verus-SpecGym: An Agentic Environment for Evaluating Specification Autoformalization

TL;DR AI

Key summary

2 min read
  1. Researchers introduced Verus-SpecGym and Verus-SpecBench to evaluate whether LLMs can turn Codeforces-style problem statements into correct Verus specifications.

  2. They built a 581-task benchmark plus an interactive spec-writing environment, then tested frontier and open-source models with executable specs and adversarial edge-case checks.

  3. Gemini 3.1 Pro performed best overall, but common failures included missing assumptions and wrong handling of valid or invalid cases.

  4. The study also found that LLM-as-a-judge often missed specification errors, showing that automated evaluation still has important blind spots.

  5. Overall, the work suggests LLMs are promising for specification autoformalization, but still too brittle for dependable formal verification without stronger safeguards.

Read the original