Automatic Complexity Analysis of Integer Programs via Triangular Weakly Non-Linear Loops

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Lommen, Nils, Meyer, Fabian, Giesl, Jürgen
Format: Preprint
Publié: 2022
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866913578954522624
author Lommen, Nils
Meyer, Fabian
Giesl, Jürgen
author_facet Lommen, Nils
Meyer, Fabian
Giesl, Jürgen
contents There exist several results on deciding termination and computing runtime bounds for triangular weakly non-linear loops (twn-loops). We show how to use results on such subclasses of programs where complexity bounds are computable within incomplete approaches for complexity analysis of full integer programs. To this end, we present a novel modular approach which computes local runtime bounds for subprograms which can be transformed into twn-loops. These local runtime bounds are then lifted to global runtime bounds for the whole program. The power of our approach is shown by our implementation in the tool KoAT which analyzes complexity of programs where all other state-of-the-art tools fail.
format Preprint
id arxiv_https___arxiv_org_abs_2205_08869
institution arXiv
publishDate 2022
record_format arxiv
spellingShingle Automatic Complexity Analysis of Integer Programs via Triangular Weakly Non-Linear Loops
Lommen, Nils
Meyer, Fabian
Giesl, Jürgen
Logic in Computer Science
There exist several results on deciding termination and computing runtime bounds for triangular weakly non-linear loops (twn-loops). We show how to use results on such subclasses of programs where complexity bounds are computable within incomplete approaches for complexity analysis of full integer programs. To this end, we present a novel modular approach which computes local runtime bounds for subprograms which can be transformed into twn-loops. These local runtime bounds are then lifted to global runtime bounds for the whole program. The power of our approach is shown by our implementation in the tool KoAT which analyzes complexity of programs where all other state-of-the-art tools fail.
title Automatic Complexity Analysis of Integer Programs via Triangular Weakly Non-Linear Loops
topic Logic in Computer Science
url https://arxiv.org/abs/2205.08869