# SeVerus: Context-Aware, Gamified Benchmarking for Rust Verification

SeVerus: Rust 검증을 위한 문맥 인식형 게이미피케이션 벤치마킹

Álvaro F. Silva, Martim Afonso, Nuno Saavedra, Emily First, Alexandra Mendes, João F. Ferreira · arXiv · 2026년 11월 4일

- **연구 문제** 기존 Verus 벤치마크는 보조 정리가 이미 준비된 독립 과제에 가까워, 에이전트가 필요한 보조 정리를 찾고 증명해야 하는 실제 상황을 충분히 반영하지 못합니다.
- **연구 방법** SEVERUS는 검증된 Rust 프로젝트의 증명 의존 그래프에서 루트별 퀘스트를 만들고, 증명 문맥을 Proved, Admitted, Hidden 상태 전이로 단계적으로 제거하여 레벨을 생성합니다.
- **주요 결과** 여섯 프로젝트에서 819개 퀘스트와 10,095개 레벨을 만들었으며, GPT-6 Sol은 60개 샘플 퀘스트 중 52개의 루트를 해결했지만 RLS 기준으로는 레벨의 35%만 신뢰성 있게 해결했습니다.

## 기존 Verus 벤치마크가 놓치는 보조 증명 문제

Verus는 Rust 프로그램에 연역적 검증을 더하는 도구이며, SMT 솔버가 검증 조건을 자동으로 처리합니다. 그러나 복잡한 증명에는 루프 불변식, 중간 단정문, 보조 정리 같은 추가 안내가 필요하고, 이 보조 정리들은 다시 다른 정리에 의존할 수 있습니다. 기존 벤치마크인 VeruSAGE-Bench는 849개의 증명 과제를 제공하지만, 각 과제는 목표 정리, 사용하는 보조 정리 선언, 명세 함수와 타입 정의를 하나의 파일에 담은 독립 단위입니다. 이 구성은 에이전트가 관련 정리를 이미 알고 필요한 문맥을 쉽게 가져온다고 가정합니다. 또 기존 과제는 지원 정리가 이미 증명되어 있다고 전제합니다. 실제 프로젝트에서는 목표 속성을 증명하려면 여러 보조 정리와 그 의존 관계로 이루어진 증명 네트워크를 새로 구성해야 합니다.

SEVERUS는 이 빈틈을 다루기 위해 기존 검증 프로젝트의 증명 문맥을 체계적으로 걷어내어 점점 어려운 검증 과제를 만드는 기법입니다.

## 의존 그래프에서 퀘스트와 레벨 만들기

SEVERUS는 검증된 프로젝트의 실행 함수, 증명 함수, 명세 함수를 노드로 하는 방향 의존 그래프를 만듭니다. 간선 (u, v)는 u가 v를 호출한다는 뜻입니다. 이 그래프에서 아무 기호도 의존하지 않는 루트 r을 찾으면, 그 루트가 하나의 퀘스트의 검증 목표가 됩니다. 퀘스트는 루트의 cone, 즉 루트에서 도달 가능한 기호들만 고려하여 만들어집니다. 각 기호는 Proved, Admitted, Hidden 중 하나의 상태를 가집니다. Proved는 원래 정의와 증명을 그대로 유지하고, Admitted는 명세는 유지하되 증명을 제거하여 에이전트가 다시 증명하게 하며, Hidden은 명세와 증명을 모두 제거합니다.

보조 증명 함수의 Admitted 상태는 본문을 assume(false) 스텁으로 바꾸어 다른 기호가 여전히 참조할 수 있게 합니다. 실행 함수는 증명 주석만 제거하고 실행 문장과 명세는 보존하며, 실행 함수는 숨기지 않습니다. 생성은 루트 작업에서 시작하여 admit과 prove 두 전이를 적용합니다. 의존 항목은 cone이 큰 순서대로 깊이 우선으로 탐색되며, 이 순서가 공유 정리를 가장 큰 cone 안에서 복원하게 합니다. 레벨 번호는 생성 순서의 역순이어서 Level 1이 가장 많은 증명 문맥을 가지고, 마지막 레벨이 루트 작업이 됩니다.

![Figure 2: The quest ofis\_sorted: six of its 24 levels (left) and the four steps ofexpand()that generate it (right)](https://refivu.com/papers/379d71d8-ad74-4ecd-9cb7-3f3b7b5a941f/figures/figure-54cdaf8ca1eeed942f625475bc520e0b.png?thumb=512)

**Fig. 2** : The quest ofis\_sorted: six of its 24 levels (left) and the four steps ofexpand()that generate it (right).

[원문](https://arxiv.org/abs/2611.07194v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Álvaro F. Silva, Martim Afonso, Nuno Saavedra, Emily First, Alexandra Mendes, João F. Ferreira · SeVerus: Context-Aware, Gamified Benchmarking for Rust Verification · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

## 제출 검사와 레벨 해결 기준

에이전트의 한 시도는 제출물이 검증(make verify)과 독립 anti-cheat 검사(make anticheat)를 모두 통과할 때만 해당 레벨을 해결한 것으로 인정됩니다. anti-cheat 검사는 실행 함수의 비-ghost 코드가 원본과 바이트 단위로 같은지, 모든 requires와 ensures 절이 변하지 않았는지, 그리고 대상 의존 범위에 assume(...), admit(), external\_body 같은 우회 구문이 없는지 확인합니다. 에이전트가 추가한 보조 함수도 호출 그래프를 따라 이 검사 범위에 포함됩니다. 원본 증명은 에이전트 컨테이너에 들어가지 않으며, 최종 검증 단계에서만 사용됩니다.

## noisy binary search와 RLS 점수

레벨 전체를 모두 시도하는 것은 비용이 커서 SEVERUS는 noisy binary search로 최고 해결 레벨 ℓ\*를 추정합니다. 에이전트의 한 레벨 성공 확률을 ψ(ℓ)이라 할 때, 목표는 ψ(ℓ)가 0.5를 넘는 가장 높은 레벨을 찾는 것입니다. 각 탐색 단계에서 한 레벨에 최대 3회 시도하고 다수결로 성공 여부를 판단하며, 구간을 절반씩 줄입니다. 이 방법은 난이도가 레벨에 따라 증가한다는 가정을 전제로 합니다. 퀘스트별 점수를 단순 평균하면 짧은 퀘스트가 과도하게 반영되므로, SEVERUS는 퀘스트의 레벨 수 nq로 가중하여 RLS를 계산합니다. 원문 식은 \\(\\mathrm{RLS}=\\sum\_q \\ell^\*\_q / \\sum\_q n\_q\\)이며, 분자는 퀘스트별 추정 최고 해결 레벨의 합이고 분모는 전체 레벨 수의 합입니다.

따라서 RLS는 가정된 난이도 순서 아래에서 에이전트가 신뢰성 있게 해결하는 벤치마크 레벨의 비율로 해석됩니다.

## 증명 문맥이 줄어들 때의 성공률과 비용

RQ1은 레벨이 실제로 난이도 순서를 따르는지 확인합니다. 가장 긴 퀘스트를 대상으로 Claude Code와 Sonnet 4.6, Codex와 GPT-6 Sol 및 GPT-6 Luna를 평가했고, 각 시도는 5달러 또는 4시간의 제한을 받았습니다. 원문은 상위 레벨이 항상 더 어렵지는 않을 수 있다고 지적하는데, 제거된 보조 정리를 더 단순한 정리로 대체할 수 있기 때문입니다. 그럼에도 세 에이전트 모두에서 증명 문맥이 줄수록 성공은 감소하고 비용은 증가했습니다. 층화 검정으로 합친 결과는 p \< .001이며, 해결 시도만 보아도 비용 증가 추세가 유지되었습니다. Sonnet은 소규모 프로젝트에서 루트 이전에 실패했고, Sol과 Luna는 세 소규모 프로젝트의 모든 레벨을 해결했습니다.

이 결과는 해당 예산 조건에서 나온 것이며, Sonnet과 Sol의 실패 지점은 일부 5달러 상한의 영향을 받은 것으로 해석됩니다.

![Figure 3: Outcome of each attempt by relative level (0 = Level 1, 1 = root). Filled markers indicate success. Right-hand labels report successful/total attempt…](https://refivu.com/papers/379d71d8-ad74-4ecd-9cb7-3f3b7b5a941f/figures/figure-e0e005568600df0b07c4d2a861bfc88c.png?thumb=512)

**Fig. 3** : Outcome of each attempt by relative level (0 = Level 1, 1 = root). Filled markers indicate success. Right-hand labels report successful/total attempts and Mann–Kendallp-values (n/v: no variance, as all attempts succeeded).

[원문](https://arxiv.org/abs/2611.07194v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Álvaro F. Silva, Martim Afonso, Nuno Saavedra, Emily First, Alexandra Mendes, João F. Ferreira · SeVerus: Context-Aware, Gamified Benchmarking for Rust Verification · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

![TABLE V: How failed attempts end (left) and, for those the agent ends itself, why it stops (right), from a reading of every one of these stops. S: GPT-6 Sol, L…](https://refivu.com/papers/379d71d8-ad74-4ecd-9cb7-3f3b7b5a941f/figures/figure-4256acc74a1e473e27b6c7500f7a6b7f.png?thumb=512)

**원문 그림** TABLE V: How failed attempts end (left) and, for those the agent ends itself, why it stops (right), from a reading of every one of these stops. S: GPT-6 Sol, L: GPT-6 Luna.

[원문](https://arxiv.org/abs/2611.07194v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Álvaro F. Silva, Martim Afonso, Nuno Saavedra, Emily First, Alexandra Mendes, João F. Ferreira · SeVerus: Context-Aware, Gamified Benchmarking for Rust Verification · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

## 벤치마크 점수와 에이전트별 도달 수준

RQ2는 SEVERUS가 얼마나 도전적인 과제를 만드는지와 RLS 점수로 에이전트를 비교할 수 있는지를 봅니다. 60개 샘플 퀘스트에서 GPT-6 Sol은 52개 퀘스트를 루트까지 해결했지만, RLS는 0.35로 레벨의 약 35%만 신뢰성 있게 해결했습니다. GPT-6 Luna는 49개 퀘스트를 루트까지 해결했고 RLS도 같은 0.35였습니다. 실패는 긴 퀘스트에 집중되어 Sol이 해결하지 못한 여덟 개 퀘스트는 모두 86개 이상의 레벨을 가졌습니다. 이 샘플 점수는 전체 벤치마크의 레벨 단위 측정을 대체하지 않으며, 탐색으로 얻은 결과가 RQ1 격자 측정과 가장 긴 퀘스트에서 일치했다는 점은 탐색 방법의 타당성을 보여 줍니다.

한편 TLA-RS에서는 성공 확률이 0.5 근처에 머물러 탐색 결과가 흔들릴 수 있다고 저자들은 해석합니다.

## 에이전트 증명과 원래 증명의 차이

RQ3는 성공한 에이전트 증명이 원래 증명과 얼마나 다른지 봅니다. GPT-6 Sol의 성공한 시도 중 숨겨진 보조 정리를 기준 증명과 비교했을 때, 제거된 기준 명제를 다시 진술한 재현율은 0.11이고 대칭 Jaccard 유사도는 0.08이었습니다. 따라서 에이전트는 대부분 원래 보조 정리를 그대로 재현하지 않고 다른 증명 분해를 사용했습니다. 의존 구조의 유사도는 레벨 깊이가 깊어질수록 크게 낮아졌습니다. 또한 에이전트 증명은 기준 증명보다 assertion 밀도가 높게 나타났지만, 이 차이는 TLA-RS를 제외했을 때 더 분명하게 해석됩니다.

![TABLE IV: Reference deleted-lemma coverage on each project’sHiddentasks.Re-stated recallmeasures one-sided coverage (ignoring extra agent helpers), whileHidden…](https://refivu.com/papers/379d71d8-ad74-4ecd-9cb7-3f3b7b5a941f/figures/figure-e067ea4af2317310313ffc4bcabbf47c.png?thumb=512)

**원문 그림** TABLE IV: Reference deleted-lemma coverage on each project’sHiddentasks.Re-stated recallmeasures one-sided coverage (ignoring extra agent helpers), whileHidden-only statementJaccardmeasures symmetric overlap. GPT-6 Sol, RQ1+RQ2 pooled, one row per task.

[원문](https://arxiv.org/abs/2611.07194v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Álvaro F. Silva, Martim Afonso, Nuno Saavedra, Emily First, Alexandra Mendes, João F. Ferreira · SeVerus: Context-Aware, Gamified Benchmarking for Rust Verification · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

![Figure 5: Variation of proof similarity with the quest depth](https://refivu.com/papers/379d71d8-ad74-4ecd-9cb7-3f3b7b5a941f/figures/figure-1c5cbf56f0982e30ee0a53f1ecd10290.png?thumb=512)

**Fig. 5** : Variation of proof similarity with the quest depth.

[원문](https://arxiv.org/abs/2611.07194v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Álvaro F. Silva, Martim Afonso, Nuno Saavedra, Emily First, Alexandra Mendes, João F. Ferreira · SeVerus: Context-Aware, Gamified Benchmarking for Rust Verification · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

## 평가 범위와 해석의 한계

이 연구의 평가는 하나의 Verus 릴리스에서 빌드된 여섯 개 프로젝트와 두 에이전트에 한정됩니다. RQ1에는 세 에이전트가 포함되었지만, 다른 프로젝트, 검증기, 에이전트에서는 결과가 달라질 수 있습니다. 또 모델은 시간에 따라 바뀌는 버전 제품이므로 보고된 버전에 대한 결과로 읽어야 합니다. 탐색 방법은 시도 횟수가 레벨당 최대 3회로 제한되어, 성공 확률이 서로 가까운 레벨 사이를 정확히 구분하기 어렵습니다. 레벨 생성 순서도 하나의 깊이 우선 순서이므로 다른 순서에서는 난이도 분포가 달라질 수 있습니다.

## 논문 정보

- **저자**: Álvaro F. Silva, Martim Afonso, Nuno Saavedra, Emily First, Alexandra Mendes, João F. Ferreira
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2026년 11월 4일
- **등록일**: 2026년 11월 6일
- **수정일**: 2026년 11월 4일
- **버전**: v1
- **arXiv**: 2611.07194
- **분류**: cs.SE · cs.AI
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2611.07194v1) · [원문 PDF ↗](https://arxiv.org/pdf/2611.07194v1)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Coding agents achieve high success rates on existing benchmarks for Verus, a verifier for Rust programs. These benchmarks typically provide the auxiliary lemmas needed to complete a proof. In practice, however, such lemmas must be discovered and proved. To capture this challenge, we present SEVERUS, a context-aware technique to generate Verus benchmarks that organizes verification tasks into quests, each divided into levelsin a gamified manner. Using the original proof dependencies in verified projects, SEVERUS constructs one quest per verification target and progressively removes proof context to create individual levels. These levels range from the easiest, requiring completing only a single missing lemma, to the hardest, requiring proving the target without any supporting lemmas. An independent checker rejects changes to executable code, weakened specifications, and unsound proof constructs. A noisy binary search estimates the highest level that an agent can solve reliably. Applied to six open-source Verus projects, SEVERUS generates 819 quests comprising 10,095 levels. Experiments with Codex using GPT-6 Sol and GPT-6 Luna, and with Claude Code using Sonnet 4.6, show that success decreases and cost increases as proof context is withdrawn. The strongest agent solves the final level of 52 of 60 sampled quests, yet can only reliably solve 35% of their levels, with failures concentrated in longer quests. Successful GPT-6 Sol proofs rarely reproduce the withheld lemmas, instead, using alternative proof decompositions. By systematically varying proof context, SEVERUS provides a foundation for constructing verification benchmarks that can continue to challenge increasingly capable coding agents.

## 원문 인용

Álvaro F. Silva, Martim Afonso, Nuno Saavedra, Emily First, Alexandra Mendes, João F. Ferreira (2026). SeVerus: Context-Aware, Gamified Benchmarking for Rust Verification. arXiv:2611.07194v1. https://arxiv.org/abs/2611.07194v1

**BibTeX**

```
@misc{silva2026severus,
  title = {{SeVerus: Context-Aware, Gamified Benchmarking for Rust Verification}},
  author = {Álvaro F. Silva and Martim Afonso and Nuno Saavedra and Emily First and Alexandra Mendes and João F. Ferreira},
  year = {2026},
  eprint = {2611.07194},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.07194v1}
}
```

## 이 논문의 용어

- [McNemar test](https://refivu.com/terms/c50ac853455f-mcnemar-test)
- [Claude Code](https://refivu.com/terms/140ee6d8eb01-claude-code)
- [Codex](https://refivu.com/terms/1afc2735b086-codex)
- [GPT-6 Luna](https://refivu.com/terms/99c0d8f08298-gpt-6-luna)
- [quest](https://refivu.com/terms/3cfd20347bc2-quest)
- [GPT-6 Sol](https://refivu.com/terms/fd4618122da3-gpt-6-sol)
- [Kendall’s τb](https://refivu.com/terms/3ae322af9d1e-kendall-s-b)
- [Sonnet 4.6](https://refivu.com/terms/aa7ce4e26fe9-sonnet-4-6)
- [Verus](https://refivu.com/terms/ec0f2ec3b43b-verus)

## 다른 논문 해설

- [Beyond Instruction Override: Benchmarking Indirect Prompt Injection with Task-Tampering Attacks](https://refivu.com/papers/cefe818d-f868-4fcb-934d-a801e01c1bf8-beyond-instruction-override-benchmarking-indirect-prompt.md)
- [MultiBLiMP 1.0: A Massively Multilingual Benchmark of Linguistic Minimal Pairs](https://refivu.com/papers/83fbd219-0807-40be-a86e-3d2c0d3a6db7-multiblimp-1-0-a-massively-multilingual-benchmark-of.md)
- [Evaluating Heuristic Search Algorithms in Pathfinding: A Comprehensive Study on Performance Metrics and Domain Parameters](https://refivu.com/papers/f28b2a89-d6e4-43e6-a216-f16439b73a65-evaluating-heuristic-search-algorithms-in-pathfinding-a.md)
- [A review of ensemble learning and data augmentation models for class imbalanced problems: combination, implementation and evaluation](https://refivu.com/papers/4ac33ac8-dbb4-4221-91b4-b7ce10be936d-a-review-of-ensemble-learning-and-data-augmentation.md)
- [Multi-SimLex: A Large-Scale Evaluation of Multilingual and Cross-Lingual Lexical Semantic Similarity](https://refivu.com/papers/2e03a8c0-9df9-42e1-97d6-82e5f0f5ad03-multi-simlex-a-large-scale-evaluation-of-multilingual.md)
- [ROUGE: A Package for Automatic Evaluation of Summaries](https://refivu.com/papers/1bf96c2d-fcb5-437c-bce2-c7a84666aaf7-rouge-a-package-for-automatic-evaluation-of-summaries.md)
- [Multi-step SWE: Can Coding Agents Keep Building on Their Own Code Over Long Horizons?](https://refivu.com/papers/511fe30c-d341-4cb6-8e73-d0dbbbec3008-multi-step-swe-can-coding-agents-keep-building.md)
- [Optimistic Hedge in General-Sum Games: Fundamental Limits and Regret Bounds via Temporal Approximation](https://refivu.com/papers/742ccf4a-1dbe-4ba9-a64d-e887c151a107-optimistic-hedge-in-general-sum-games-fundamental-limits.md)
- [TOP: Transmission-Oriented Remote Sensing Pansharpening](https://refivu.com/papers/7335c52a-09c4-412d-9575-402ad57a586b-top-transmission-oriented-remote-sensing-pansharpening.md)
- [Autonomous AI Agents Systematically Diverge From Human Preferences in Proof Formalization](https://refivu.com/papers/0667f312-1b91-4e84-840b-2ee875dac6ae-autonomous-ai-agents-systematically-diverge-from-human.md)
- [Automated Feedback to Peer Tutors Increases Their Talk Moves and Learner Reasoning but Not the Balance of Talk](https://refivu.com/papers/1e58766c-0ddb-431f-8443-e6eafb8bcd1d-automated-feedback-to-peer-tutors-increases-their-talk.md)
- [Understanding the Out-of-Distribution Generalization of Chain-of-Thought Reasoning in LLMs](https://refivu.com/papers/f8d23f12-d410-453f-876f-81958a16062a-understanding-the-out-of-distribution-generalization-of.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/379d71d8-ad74-4ecd-9cb7-3f3b7b5a941f-severus-context-aware-gamified-benchmarking-for-rust)
