This paper presents a novel automated procedure for discovering expressive shape specifications for sophisticated functional data structures. Our approach extracts potential shape predicates based on the definition of constructors of arbitrary user-defined inductive data types, and combines these predicates within an expressive first-order specification language using a lightweight data-driven learning procedure. Notably, this technique requires no programmer annotations, and is equipped with a type-based decision procedure to verify the correctness of discovered specifications. Experimental results indicate that our implementation is both efficient and effective, capable of automatically synthesizing sophisticated shape specifications over a range of complex data types, going well beyond the scope of existing solutions.
CITATION STYLE
Zhu, H., Petri, G., & Jagannathan, S. (2016). Automatically learning shape specifications. ACM SIGPLAN Notices, 51(6), 491–507. https://doi.org/10.1145/2908080.2908125
Mendeley helps you to discover research relevant for your work.