Automated Sized-Type Inference and Complexity Analysis
>
Proceedings 8th Workshop on Developments in Implicit Computational
Complexity and 5th Workshop on Foundational and Practical Aspects of
Resource Analysis, DICE-FOPARA@ETAPS 2017, Uppsala, Sweden, April 22-23,
2017, volume 248 of EPTCS, pages 7–16, (2017).
Abstract
This paper introduces a new methodology for the complexity analysis of higher-order functional programs, which is based on three ingredients: a powerful type system for size analysis and a sound type inference procedure for it, a ticking monadic transformation and constraint solving. Noticeably, the presented methodology can be fully automated, and is able to analyse a series of examples which cannot be handled by most competitor methodologies. This is possible due to various key ingredients, and in particular an abstract index language and index polymorphism at higher ranks. A prototype implementation is available.
Categories
Complexity Analysis, Higher-Order, Functional Programming, Automation, Sized-Types, Types