Merging Inductive Relations
Merging Inductive Relations
复制标题
合并归纳关系
DOI:
10.1145/3591292
复制
发表时间:
2023
影响因子:
--
通讯作者:
Lampropoulos, Leonidas
中科院分区:
文献类型:
--
作者:
Prinz, Jacob;Lampropoulos, Leonidas
Inductive relations offer a powerful and expressive way of writing program specifications while facilitating compositional reasoning. Their widespread use by proof assistant users has made them a particularly attractive target for proof engineering tools such as QuickChick, a property-based testing tool for Coq which can automatically derive generators for values satisfying an inductive relation. However, while such generators are generally efficient, there is an infrequent yet seemingly inevitable situation where their performance greatly degrades: when multiple inductive relations constrain the same piece of data.In this paper, we introduce an algorithm for merging two such inductively defined properties that share an index. The algorithm finds shared structure between the two relations, and creates a single merged relation that is provably equivalent to the conjunction of the two. We demonstrate, through a series of case studies, that the merged relations can improve the performance of automatic generation by orders of magnitude, as well as simplify mechanized proofs by getting rid of the need for nested induction and tedious low-level book-keeping.
登录
查看更多内容
DOI:
--
发表时间:
2015
期刊:
European Symposium on Programming
影响因子:
--
作者:
B. Fetscher;Koen Claessen;Michal H. Palka;John Hughes;R. Findler
通讯作者:
R. Findler
影响因子:
1.1
作者:
Hsiang;J. Gibbons
通讯作者:
J. Gibbons
DOI:
10.1007/978-3-642-35308-6_10
发表时间:
2012
期刊:
影响因子:
--
作者:
Lukas Bulwahn
通讯作者:
Lukas Bulwahn
DOI:
--
发表时间:
2007
期刊:
Symposium on Trends in Functional Programming
影响因子:
--
作者:
Fredrik Lindblad
通讯作者:
Fredrik Lindblad
DOI:
--
发表时间:
2009
期刊:
ACM SIGPLAN International Workshop on Types In Languages Design And Implementation
影响因子:
--
作者:
U. Norell
通讯作者:
U. Norell