2019
DOI: 10.1145/3341714
|View full text |Cite
|
Sign up to set email alerts
|

Quantitative program reasoning with graded modal types

Abstract: In programming, some data acts as a resource (e.g., file handles, channels) subject to usage constraints. This poses a challenge to software correctness as most languages are agnostic to constraints on data. The approach of linear types provides a partial remedy, delineating data into resources to be used but never copied or discarded, and unconstrained values. Bounded Linear Logic provides a more fine-grained approach, quantifying non-linear use via an indexed-family of modalities. Recent work on coeffect typ… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
2
1

Citation Types

1
116
0

Year Published

2020
2020
2021
2021

Publication Types

Select...
5
2
1

Relationship

3
5

Authors

Journals

citations
Cited by 67 publications
(117 citation statements)
references
References 54 publications
1
116
0
Order By: Relevance
“…The work of Orchard et al [2019] is perhaps one of the pieces of work nearest to ours, and as such deserves a detailed comparison. One of the main difference is that of focus: Orchard et al describe a complete system, and thus focus more on user-facing features, such as a type-checker Ð which we do not present here.…”
Section: On Church Encodingsmentioning
confidence: 88%
See 2 more Smart Citations
“…The work of Orchard et al [2019] is perhaps one of the pieces of work nearest to ours, and as such deserves a detailed comparison. One of the main difference is that of focus: Orchard et al describe a complete system, and thus focus more on user-facing features, such as a type-checker Ð which we do not present here.…”
Section: On Church Encodingsmentioning
confidence: 88%
“…A somewhat more subtle benefit is that one can combine several applications in a single program: for example one can have an system which combines aspects of differential privacy and information-flow secrecy 1 (by, say, having several dimensions of differential privacy, themselves organised in a lattice). This can be done using a product of modalities, as Orchard et al [2019] suggests. This would mean that informational and quantitative aspects are both checked, but separately; i. e., when counting occurrences, convertibility is ignored and vice versa.…”
Section: Combining Informational and Quantitative Aspectsmentioning
confidence: 99%
See 1 more Smart Citation
“…Languages with index refinements such as Zenger's [37], DML [36] or, more recently, Granule [23] (to name just three of them) were developed in the realm of functional languages. Bidirectional type checking was developed in part to tame the complexity of type checking in DML, which, as a functional language, exhibited an analogy to natural deduction.…”
Section: Further Related Workmentioning
confidence: 99%
“…dℓPCF [Lago and Gaboardi 2011] introduced linear dependent types to reason about the worst-case cost of PCF terms. Granule [Orchard et al 2019] introduces graded modal types, combining the indexed types of dℓPCF with bounded linear logic [Girard et al 1992] and other modal type systems [Brunel et al 2014;Ghica and Smith 2014]. While useful for a variety of applications, such as enforcing stateful protocols, reasoning about privacy, and bounding variable reuse, these techniques do not allow an amortized resource analysis.…”
Section: Related Workmentioning
confidence: 99%