2020
DOI: 10.1145/3408988
|View full text |Cite
|
Sign up to set email alerts
|

Liquid resource types

Abstract: This article presents liquid resource types, a technique for automatically verifying the resource consumption of functional programs. Existing resource analysis techniques trade automation for flexibility ś automated techniques are restricted to relatively constrained families of resource bounds, while more expressive proof techniques admitting value-dependent bounds rely on handwritten proofs. Liquid resource types combine the best of these approaches, using logical refinements to automatically prove precise … Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
4
1

Citation Types

0
5
0

Year Published

2020
2020
2022
2022

Publication Types

Select...
2
2
2

Relationship

0
6

Authors

Journals

citations
Cited by 7 publications
(5 citation statements)
references
References 45 publications
(56 reference statements)
0
5
0
Order By: Relevance
“…There are many approaches to type-based cost analysis (Crary & Weirich, 2000; Hofmann & Jost, 2003; Jost et al ., 2010; Hoffmann & Hofmann, 2010; Hoffmann et al ., 2012, 2017; Jost et al ., 2017; Knoth et al ., 2019, 2020; Avanzini & Dal Lago, 2017; ÇiÇek et al ., 2017; Wang et al ., 2017; Dal Lago & Gaboardi, 2011; Handley et al ., 2019; Rajani et al ., 2021). At a high level, these systems include special-purpose judgments or types that track cost, indexed or refinement types that track the size of values, and a type checking or inference mechanism that can automatically determine some resource bounds.…”
Section: Related Workmentioning
confidence: 99%
See 2 more Smart Citations
“…There are many approaches to type-based cost analysis (Crary & Weirich, 2000; Hofmann & Jost, 2003; Jost et al ., 2010; Hoffmann & Hofmann, 2010; Hoffmann et al ., 2012, 2017; Jost et al ., 2017; Knoth et al ., 2019, 2020; Avanzini & Dal Lago, 2017; ÇiÇek et al ., 2017; Wang et al ., 2017; Dal Lago & Gaboardi, 2011; Handley et al ., 2019; Rajani et al ., 2021). At a high level, these systems include special-purpose judgments or types that track cost, indexed or refinement types that track the size of values, and a type checking or inference mechanism that can automatically determine some resource bounds.…”
Section: Related Workmentioning
confidence: 99%
“…The basic AARA technique has been extended in numerous ways, e.g., with refinement types (Knoth et al . 2019; 2020) for synthesizing programs with desired resource bounds, and for more precise tracking of potential in values. The Timed ML system of Wang et al .…”
Section: Related Workmentioning
confidence: 99%
See 1 more Smart Citation
“…Subsequent works on the topic [Bengtson et al 2011;Schmid and Kuncak 2016;Vazou et al 2014Vazou et al , 2017 utilise SMT solvers, such as Z3 [De Moura and Bjùrner 2008], to aid the type system to decide a semantic subtyping relation [Bierman et al 2012] using SMT encodings. Refinement types have been applied to numerous domains, such as resource usage analysis [Handley et al 2019;Knoth et al 2020], secure implementations [Bengtson et al 2011;Bhargavan et al 2010], information control flow enforcements , and theorem proving [Vazou et al 2017]. Our aim is to utilise refinement types for the specification and verification of distributed protocols, by combining refinement and session types in a single practical framework.…”
Section: Related Workmentioning
confidence: 99%
“…Some languages like Resource Aware ML [31] aim for full automation, at the cost of struggling to handle some common language features. Other languages like TiML [81] or LRT [42] attempt to strike a balance by giving up on a degree of automation and requiring annotations from the programmer in order to make gains in expressiveness. In contrast to these languages 3 , LambdaAmor emphasizes expressiveness above all else.…”
Section: Introductionmentioning
confidence: 99%