Результаты исследований: Публикации в книгах, отчётах, сборниках, трудах конференций › статья в сборнике материалов конференции › научная › Рецензирование
First-order logic is a natural way of expressing properties of computation. It is traditionally used in various program logics for expressing the correctness properties and certificates. Although such representations are expressive for some theories, they fail to express many interesting properties of algebraic data types (ADTs). In this paper, we explore three different approaches to represent program invariants of ADT-manipulating programs: tree automata, and first-order formulas with or without size constraints. We compare the expressive power of these representations and prove the negative definability of both first-order representations using the pumping lemmas. We present an approach to automatically infer program invariants of ADT-manipulating programs by a reduction to a finite model finder. The implementation called RInGen has been evaluated against state-of-the-art invariant synthesizers and has been experimentally shown to be competitive. In particular, program invariants represented by automata are capable of expressing more complex properties of computation and their automatic construction is often less expensive.
Язык оригинала | английский |
---|---|
Название основной публикации | PLDI 2021 - Proceedings of the 42nd ACM SIGPLAN International Conference on Programming Language Design and Implementation |
Редакторы | Stephen N. Freund, Eran Yahav |
Издатель | Association for Computing Machinery |
Страницы | 451-465 |
Число страниц | 15 |
ISBN (электронное издание) | 9781450383912 |
DOI | |
Состояние | Опубликовано - 18 июн 2021 |
Событие | 42nd ACM SIGPLAN International Conference on Programming Language Design and Implementation, PLDI 2021 - Virtual, Online, Канада Продолжительность: 20 июн 2021 → 25 июн 2021 |
Название | Proceedings of the ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) |
---|
конференция | 42nd ACM SIGPLAN International Conference on Programming Language Design and Implementation, PLDI 2021 |
---|---|
Страна/Tерритория | Канада |
Город | Virtual, Online |
Период | 20/06/21 → 25/06/21 |
ID: 85230750