# Beyond-Regular Typestate

**Authors:** Ashish Mishra, Y. N. Srikant

arXiv: 1702.08154 · 2017-02-28

## TL;DR

This paper introduces Beyond-Regular Typestate (BR-Typestate), an extension of regular typestates capable of modeling non-regular properties in programs and protocols, with a formal system and a prototype typechecker.

## Contribution

It presents a new expressive typestate system, BR-Typestate, along with formal proofs of soundness and a prototype implementation for verifying complex properties.

## Key findings

- BR-Typestate can model non-regular properties
- Prototype typechecker verifies real-world properties
- System is proven sound and tractable

## Abstract

We present an extension for regular typestates, called Beyond- Regular Typestate(BR-Typestate), which is expressive enough to model non-regular properties of programs and protocols over data. We model the BR-Typestate system over a dependently typed, state based, impera- tive core language, and we prove its soundness and tractability. We have implemented a prototype typechecker for the language, and we show how several important, real world non-regular properties of programs and protocols can be verified.

## Full text

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

## Figures

117 figures with captions in the complete paper: https://tomesphere.com/paper/1702.08154/full.md

## References

18 references — full list in the complete paper: https://tomesphere.com/paper/1702.08154/full.md

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