English

An extended and more practical mwp flow analysis

Logic in Computer Science 2021-07-05 v2 Computational Complexity Programming Languages Logic

Abstract

We improve and refine a method for certifying that the values' sizes computed by an imperative program will be bounded by polynomials in the program's inputs' sizes. Our work ''tames'' the non-determinism of the original analysis, and offers an innovative way of completing the analysis when a non-polynomial growth is found. We furthermore enrich the analyzed language by adding function definitions and calls, allowing to compose the analysis of different libraries and offering generally more modularity. The implementation of our improved method, discussed in a tool paper (https://hal.archives-ouvertes.fr/hal-03269121), also required to reason about the efficiency of some of the needed operations on the matrices produced by the analysis. It is our hope that this work will enable and facilitate static analysis of source code to guarantee its correctness with respect to resource usages.

Keywords

Cite

@article{arxiv.2107.00086,
  title  = {An extended and more practical mwp flow analysis},
  author = {Clément Aubert and Thomas Rubiano and Neea Rusch and Thomas Seiller},
  journal= {arXiv preprint arXiv:2107.00086},
  year   = {2021}
}
R2 v1 2026-06-24T03:46:59.327Z