Skip to main content

Showing 1–5 of 5 results for author: Kahn, D M

.
  1. arXiv:2304.13627  [pdf, ps, other

    cs.PL cs.LO

    Automatic Amortized Resource Analysis with Regular Recursive Types

    Authors: Jessie Grosen, David M. Kahn, Jan Hoffmann

    Abstract: The goal of automatic resource bound analysis is to statically infer symbolic bounds on the resource consumption of the evaluation of a program. A longstanding challenge for automatic resource analysis is the inference of bounds that are functions of complex custom data structures. This article builds on type-based automatic amortized resource analysis (AARA) to address this challenge. AARA is bas… ▽ More

    Submitted 26 April, 2023; originally announced April 2023.

    Comments: 15 pages, 5 figures; to be published in LICS'23

  2. arXiv:2106.13936  [pdf, ps, other

    cs.PL

    Automatic Amortized Resource Analysis with the Quantum Physicist's Method

    Authors: David M Kahn, Jan Hoffmann

    Abstract: We present a novel method for working with the physicist's method of amortized resource analysis, which we call the quantum physicist's method. These principles allow for more precise analyses of resources that are not monotonically consumed, like stack. This method takes its name from its two major features, worldviews and resource tunneling, which behave analogously to quantum superposition and… ▽ More

    Submitted 25 June, 2021; originally announced June 2021.

  3. arXiv:2006.14010  [pdf, ps, other

    cs.PL

    Raising Expectations: Automating Expected Cost Analysis with Types

    Authors: Di Wang, David M Kahn, Jan Hoffmann

    Abstract: This article presents a type-based analysis for deriving upper bounds on the expected execution cost of probabilistic programs. The analysis is naturally compositional, parametric in the cost model, and supports higher order functions and inductive data types. The derived bounds are multivariate polynomials that are functions of data structures. Bound inference is enabled by local type rules that… ▽ More

    Submitted 21 September, 2020; v1 submitted 24 June, 2020; originally announced June 2020.

  4. arXiv:2002.09519  [pdf, ps, other

    cs.PL

    Exponential Automatic Amortized Resource Analysis

    Authors: David M Kahn, Jan Hoffmann

    Abstract: Automatic amortized resource analysis (AARA) is a type-based technique for inferring concrete (non-asymptotic) bounds on a program's resource usage. Existing work on AARA has focused on bounds that are polynomial in the sizes of the inputs. This paper presents and extension of AARA to exponential bounds that preserves the benefits of the technique, such as compositionality and efficient type infer… ▽ More

    Submitted 5 March, 2020; v1 submitted 21 February, 2020; originally announced February 2020.

  5. Scalable Verification of Probabilistic Networks

    Authors: Steffen Smolka, Praveen Kumar, David M Kahn, Nate Foster, Justin Hsu, Dexter Kozen, Alexandra Silva

    Abstract: This paper presents McNetKAT, a scalable tool for verifying probabilistic network programs. McNetKAT is based on a new semantics for the guarded and history-free fragment of Probabilistic NetKAT in terms of finite-state, absorbing Markov chains. This view allows the semantics of all programs to be computed exactly, enabling construction of an automatic verification tool. Domain-specific optimizati… ▽ More

    Submitted 17 April, 2019; originally announced April 2019.

    Comments: extended version with appendix

    Journal ref: In Proceedings of the 40th ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI '19), June 22-26, 2019, Phoenix, AZ, USA. ACM, New York, NY, USA