Automating program analysis (Q3769944)
From MaRDI portal
!
This is the item page for this Wikibase entity, intended for internal use and editing purposes. Please use the normal view instead:
scientific article; zbMATH DE number 4028869
| Language | Label | Description | Also known as |
|---|---|---|---|
| default for all languages | No label defined |
||
| English | Automating program analysis |
scientific article; zbMATH DE number 4028869 |
Statements
Automating program analysis (English)
0 references
1988
0 references
computer-aided program analysis
0 references
probabilistic programs
0 references
symbolic manipulation
0 references
semantics of probabilistic programs
0 references
correctness
0 references
assignments
0 references
conditionals
0 references
loops
0 references
performance compiler
0 references
functional programs
0 references
recursion
0 references
complex data structures
0 references
binary tree sort
0 references
attributed probabilistic grammars
0 references
0.7879468202590942
0 references
0.7803984880447388
0 references
0.7492761611938477
0 references
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.
0 references