Predicate Subtypes in VerCors
Predicate subtypes provide an attractive mechanism to specify range constraints on variable declarations.This paper discusses how we add support for predicate subtypes to the VerCors program verifier.Our approach automatically generates appropriate specifications from predicate subtype declarations.It provides support to easily combine multiple subtypes for a single variable declaration.Moreover, in order to use predicate subtypes for overflow checking, a special strict mode is introduced, where every subexpression also has to stay within the declared subtype.A prototype implementation is integrated into the VerCors verifier.
Authors
- Ömer Şakar (ORCID: https://orcid.org/0000-0003-3457-5446)
- Marieke Huisman
- Tycho Dubbeling
Institutions
- University of Twente (NL)
Publication Details
- Journal
- Electronic Proceedings in Theoretical Computer Science
- Published
- 2026-04-07
- DOI
- https://doi.org/10.4204/eptcs.444.6
- Primary Topic
- Natural Language Processing Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00