Automating program analysis
The first part of the paper shows that previous theoretical work on the semantics of probabilistic programs (Kozen) and on the correctness of performance annotated programs (Ramshaw) can be used to automate the average-case analysis of simple programs containing assignments, conditionals, and loops. A performance compiler has been developed using this theoretical foundation. The compiler is described, and it is shown that special cases of symbolic simplifications of formulas play a major role in rendering the system usable. The performance compiler generates a system of recurrence equations derived from a given program whose efficiency one wishes to analyze. This generation is always possible, but the problem of solving the resulting equations may be complex. The second part of the paper presents an original method that generalizes the previous approach and is applicable to functional programs that make use of recursion and complex data structures. Several examples are presented, including an analysis of binary tree sort. A key feature of the analysis of such programs is that distributions on complex data structures are represented using attributed probabilistic grammars.
- Some methods of automatic analysis and controllable transformation of programs
- \(\mathcal{MOQA}\); unlocking the potential of compositional static average-case analysis
- Automatic average-case analysis of algorithms
- Axiomatic-like performance analysis (ALPA)
- Function composition and automatic average case analysis
- Closed-form upper bounds in static cost analysis
- Computer algebra for automated performance modeling of Fortran programs
- Weakest precondition reasoning for expected run-times of probabilistic programs
- Probabilistic analysis of programs: a weak limit approach
- Automatic inference of upper bounds for recurrence relations in cost analysis
- A probabilistic analysis of loop programs
- Control flow refinement and symbolic computation of average case bound
- scientific article; zbMATH DE number 3225739 (Why is no real title available?)
- Probabilistic program analysis for parallelizing compilers
- Type-based complexity analysis of probabilistic functional programs
- Amortized complexity verified
This page was built for publication: Automating program analysis
Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q3769944)