PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
June 7, 2008384 citations

Liquid types

View Full Paper
PRPatrick M. RondonMKMing KawaguciRJRanjit Jhala

Key Points

Key points are not available for this paper at this time.

Abstract

We present Logically Qualified Data Types, abbreviated to Liquid Types, a system that combines Hindley-Milner type inference with Predicate Abstraction to automatically infer dependent types precise enough to prove a variety of safety properties. Liquid types allow programmers to reap many of the benefits of dependent types, namely static verification of critical properties and the elimination of expensive run-time checks, without the heavy price of manual annotation. We have implemented liquid type inference in DSOLVE, which takes as input an OCAML program and a set of logical qualifiers and infers dependent types for the expressions in the OCAML program. To demonstrate the utility of our approach, we describe experiments using DSOLVE to statically verify the safety of array accesses on a set of OCAML benchmarks that were previously annotated with dependent types as part of the DML project. We show that when used in conjunction with a fixed set of array bounds checking qualifiers, DSOLVE reduces the amount of manual annotation required for proving safety from 31% of program text to under 1%.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Rondon et al. (2008) studied this question.

synapsesocial.com/papers/6a156c125347fbb1739fc304https://doi.org/10.1145/1375581.1375602
Ask AI
Helpful
Bookmark
Share
View Full Paper

Also Consider

Synapse has enriched 4 closely related papers on similar clinical questions. Consider them for comparative context:

  1. 1Simplifying subtyping constraints1996 · 76 citations
  2. 2Assertion Graphs for Verifying and Synthesizing Programs1978 · 9 citations
  3. 3Constructive mathematics and computer programming1984 · 502 citations
  4. 4Algorithmic aspects of type inference with subtypes1992 · 43 citations