Proving Properties about Lists Using Containers
Proving Properties about Lists Using Containers
复制标题
使用容器证明列表的属性
DOI:
10.1007/978-3-540-78969-7_9
复制
发表时间:
2008
影响因子:
3.2
通讯作者:
Conor McBride
中科院分区:
文献类型:
--
作者:
R. Prince;Neil Ghani;Conor McBride
Bundy and Richardson [7] presented a technique for reasoning about lists using ellipsis (the dots in 1 + 2 + ... + 10), where a polymorphic function, denoted by □, is used to encapsulate recursive definitions of list functions and a portrayal system using ellipsis gives an informal proof. We highlight certain limitations of this technique and address these limitations using the recently developed theory of containers which capture the idea that many important datatypes consist of templates where data is stored. We implement our ideas in Coq and demonstrate how they can be used to prove theorems that eluded Bundy and Richardson in [7].