mwp-Analysis Improvement and Implementation: Realizing Implicit Computational Complexity

Clément Aubert, Thomas Rubiano, Neea Rusch, Thomas Seiller

Research output: Chapter in Book/Report/Conference proceedingConference contribution

3 Scopus citations

Abstract

Implicit Computational Complexity (ICC) drives better understanding of complexity classes, but it also guides the development of resources-aware languages and static source code analyzers. Among the methods developed, the mwp-flow analysis [23] certifies polynomial bounds on the size of the values manipulated by an imperative program. This result is obtained by bounding the transitions between states instead of focusing on states in isolation, as most static analyzers do, and is not concerned with termination or tight bounds on values. Those differences, along with its built-in compositionality, make the mwp-flow analysis a good target for determining how ICC-inspired techniques diverge compared with more traditional static analysis methods. This paper’s contributions are three-fold: we fine-tune the internal machinery of the original analysis to make it tractable in practice; we extend the analysis to function calls and leverage its machinery to compute the result of the analysis efficiently; and we implement the resulting analysis as a lightweight tool to automatically perform data-size analysis of C programs. This documented effort prepares and enables the development of certified complexity analysis, by transforming a costly analysis into a tractable program, that furthermore decorrelates the problem of deciding if a bound exist with the problem of computing it.

Original languageEnglish (US)
Title of host publication7th International Conference on Formal Structures for Computation and Deduction, FSCD 2022
EditorsAmy P. Felty
PublisherSchloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing
ISBN (Electronic)9783959772334
DOIs
StatePublished - Jun 1 2022
Event7th International Conference on Formal Structures for Computation and Deduction, FSCD 2022 - Haifa, Israel
Duration: Aug 2 2022Aug 5 2022

Publication series

NameLeibniz International Proceedings in Informatics, LIPIcs
Volume228
ISSN (Print)1868-8969

Conference

Conference7th International Conference on Formal Structures for Computation and Deduction, FSCD 2022
Country/TerritoryIsrael
CityHaifa
Period8/2/228/5/22

Keywords

  • Automatic Complexity Analysis
  • Implicit Computational Complexity
  • Program Verification
  • Static Program Analysis

ASJC Scopus subject areas

  • Software

Fingerprint

Dive into the research topics of 'mwp-Analysis Improvement and Implementation: Realizing Implicit Computational Complexity'. Together they form a unique fingerprint.

Cite this