Proceedings of the ACM on Programming Languages · 2017 · 18 citations · 36 references
ComputingComputer ScienceFormal MethodsProgramming LanguagesTheory Of ComputationData-flow AnalysisDeductive VerificationIntermediate RepresentationModel CheckingType CheckingType SystemsEvaluation BenchmarksHigher-order FunctionsHigher-order Type CheckingLocal InferencePolymorphic TypesRefinement CheckingRefinement TypesType Inference
We introduce the FUSION algorithm for local refinement type inference, yielding a new SMT-based method for verifying programs with polymorphic data types and higher-order functions. FUSION is concise as the programmer need only write signatures for (externally exported) top-level functions and places with cyclic (recursive) dependencies, after which FUSION can predictably synthesize the most precise refinement types for all intermediate terms (expressible in the decidable refinement logic), thereby checking the program without false alarms. We have implemented FUSION and evaluated it on the benchmarks from the LiquidHaskell suite totalling about 12KLOC. FUSION checks an existing safety benchmark suite using about half as many templates as previously required and nearly 2 × faster. In a new set of theorem proving benchmarks FUSION is both 10 — 50 × faster and, by synthesizing the most precise types, avoids false alarms to make verification possible.
36
Extended static checking for Java
Cormac Flanagan, K. Rustan M. Leino, Mark Lillibridge et al. · 2002 · 1.3K citations
A Transformation System for Developing Recursive Programs
R. M. Burstall, John Darlington · Journal of the ACM · 1977 · 1.3K citations · Full text
Patrick M. Rondon, Ming Kawaguci, Ranjit Jhala · 2008 · 388 citations