# DAReing to reduce the annotation overheads of verified programs

**Authors:** Gudmund Grov, Duncan Cameron, Leon McGregor

arXiv: 1706.04023 · 2017-06-14

## TL;DR

This paper introduces DARe, a tool that automatically reduces annotation overhead in verified programs, significantly decreasing guidance needed for the Dafny verifier and potentially simplifying program verification workflows.

## Contribution

The paper presents DARe, a novel tool that automatically removes unnecessary annotations in Dafny programs, reducing verification guidance by up to 88%.

## Key findings

- 88% of guidance can be removed from verified programs
- DARe is integrated with the Dafny IDE
- Applied to 252 programs from the Dafny library

## Abstract

Modern program verifiers use the same uniform program text to both specify and implement programs. The program text is also used to provide the necessary guidance to ensure that the program satisfies its specification. The amount of guidance required is often called the annotation overhead. This can be high and is often seen as a hindrance for wider use of program verifiers, as development time is increased and the guidance may obfuscate the program text. In this paper we introduce the DARe tool, which automatically removes as much unnecessary guidance as possible for the Dafny program verifier. The tool is integrated with the Dafny IDE. To evaluate DARe, we apply it to 252 programs from the Dafny library and analyse the degree to which it is able to remove unnecessary guidance. Our results are very encouraging as a staggering 88% of the guidance can be removed.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1706.04023/full.md

## Figures

7 figures with captions in the complete paper: https://tomesphere.com/paper/1706.04023/full.md

## References

45 references — full list in the complete paper: https://tomesphere.com/paper/1706.04023/full.md

---
Source: https://tomesphere.com/paper/1706.04023