Resource Analysis driven by (Conditional) Termination Proofs
dc.contributor.author
dc.date.accessioned
2020-06-05T12:26:22Z
dc.date.available
2020-06-05T12:26:22Z
dc.date.issued
2019-09-20
dc.identifier.issn
1471-0684
dc.identifier.uri
dc.description.abstract
When programs feature a complex control flow, existing techniques for resource analysis produce cost relation systems (CRS) whose cost functions retain the complex flow of the program and, consequently, might not be solvable into closed-form upper bounds. This paper presents a novel approach to resource analysis that is driven by the result of a termination analysis. The fundamental idea is that the termination proof encapsulates the flows of the program which are relevant for the cost computation so that, by driving the generation of the CRS using the termination proof, we produce a linearly-bounded CRS (LB-CRS). A LB-CRS is composed of cost functions that are guaranteed to be locally bounded by linear ranking functions and thus greatly simplify the process of CRS solving. We have built a new resource analysis tool, named MaxCore, that is guided by the VeryMax termination analyzer and uses CoFloCo and PUBS as CRS solvers. Our experimental results on the set of benchmarks from the Complexity and Termination Competition 2019 for C Integer programs show that MaxCore outperforms all other resource analysis tools
dc.description.sponsorship
This work was funded partially by the Spanish MICINN/FEDER, UE projects RTI2018-094403-BC31, RTI2018-094403-B-C33 and RTI2018-095609-B-I00, the MINECO project TIN2015-69175-C4-2-R, the MINECO/FEDER, UE projects TIN2015-69175-C4-3-R and TIN2015-66293-R, and by the CM project S2018/TCS-4314
dc.format.mimetype
application/pdf
dc.language.iso
eng
dc.publisher
Cambridge University Press (CUP)
dc.relation
info:eu-repo/grantAgreement/MINECO//TIN2015-66293-R/ES/LOGICA PARA PROBLEMAS COMBINATORIOS/
dc.relation.isformatof
Versió preprint del document publicat a: https://doi.org/10.1017/S1471068419000152
dc.relation.ispartof
© Theory and Practice of Logic Programming, 2019, vol. 19, núm. 5-6 (special issue 35th International Conference on Logic Programming)
dc.relation.ispartofseries
Articles publicats (D-IMA)
dc.rights
Protegit per dret d'autor
dc.rights.uri
dc.title
Resource Analysis driven by (Conditional) Termination Proofs
dc.type
info:eu-repo/semantics/article
dc.rights.accessRights
info:eu-repo/semantics/openAccess
dc.date.embargoEndDate
info:eu-repo/date/embargoEnd/2020-09-20
dc.type.version
info:eu-repo/semantics/submittedVersion
dc.identifier.doi
dc.identifier.idgrec
030442
dc.contributor.funder
dc.relation.ProjectAcronym
dc.identifier.eissn
1475-3081
DUGiDocs