arXiv · 2409.13896
Semantic-Type-Guided Bug Finding
Abstract
In recent years, there has been an increased interest in tools that establish \emph{incorrectness} rather than correctness of program properties. In this work we build on this approach by developing a novel methodology to prove incorrectness of \emph{semantic typing} properties of functional programs, extending the incorrectness approach to the model theory of functional program typing. We define a semantic type refuter which refutes semantic typings for a simple functional language. We prove our refuter is co-recursively enumerable, and that it is sound and complete with respect to a semantic typing notion. An initial implementation is described which uses symbolic evaluation to efficiently find type errors over a functional language with a rich type system.
Explore related subjects
Keep this discovery
Kelvin Qian, Scott Smith, Brandon Stride, Shiwei Weng, Ke Wu. 2024-09-20. Semantic-Type-Guided Bug Finding. https://doi.org/10.1145/3689788
Cite the original work for its findings. Save a collection to share your selection of sources.