2017
DOI: 10.1145/3093333.3009842
|View full text |Cite
|
Sign up to set email alerts
|

Towards automatic resource bound analysis for OCaml

Abstract: This article presents a resource analysis system for OCaml programs. The system automatically derives worst-case resource bounds for higher-order polymorphic programs with user-defined inductive types. The technique is parametric in the resource and can derive bounds for time, memory allocations and energy usage. The derived bounds are multivariate resource polynomials which are functions of different size parameters that depend on the standard OCaml types. Bound inference is fully automatic and reduced to a l… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
6
0

Year Published

2018
2018
2021
2021

Publication Types

Select...
5
2

Relationship

0
7

Authors

Journals

citations
Cited by 24 publications
(6 citation statements)
references
References 68 publications
(103 reference statements)
0
6
0
Order By: Relevance
“…However, there is a vast amount of literature on (automated) resource analysis. Without hope for a completeness, we briefly mention [1][2][3][4][5][6][7][9][10][11]14,15,17,18,20,[22][23][24][25]39,[44][45][46]52] for an overview of the field. Logarithmic and sublinear bounds are typically not in the focus of the cited approaches, but can be inferred by some tools.…”
Section: Related Workmentioning
confidence: 99%
See 2 more Smart Citations
“…However, there is a vast amount of literature on (automated) resource analysis. Without hope for a completeness, we briefly mention [1][2][3][4][5][6][7][9][10][11]14,15,17,18,20,[22][23][24][25]39,[44][45][46]52] for an overview of the field. Logarithmic and sublinear bounds are typically not in the focus of the cited approaches, but can be inferred by some tools.…”
Section: Related Workmentioning
confidence: 99%
“…Based on earlier work [6,20,[22][23][24][25]27,28] employs a type-and-effect system that uses template potential functions, i.e. functions of a fixed shape with indeterminate coefficients.…”
Section: Step By Step To An Automated Analysis Of Splayingmentioning
confidence: 99%
See 1 more Smart Citation
“…Aside from correctness, test quality, and code style, another metric of student code that would be useful to assess automatically is time complexity. Hoffmann et al's work on automatically analyzing resource bounds of OCaml programs has led to the development of Resource Aware ML (RAML) [Hoffmann et al 2012[Hoffmann et al , 2017, a resourceaware version of the OCaml language. Currently only a subset of OCaml is supported and the language is not ready for deployment in a learning setting.…”
Section: Resultsmentioning
confidence: 99%
“…To decompose a tree of size 21, (m, n), the third and fourth size parameters of the constructor T, have the constraint 21 = 1+m+n. Therefore, (m, n) = (1, 19), (2,18), (3,17), . .…”
Section: Top10sum Modulementioning
confidence: 99%