Calculating resource bounds of programs manipulating recursive data structures and collections
Abstract
Bounding resource consumption of code that processes recursive data structures and collections includes making use of quantitative functions (based on user input) that are associated with a tuple of data-structures and whose semantics is specified by describing the effect of various data-structure methods on the relevant quantitative functions. Counter variables are incorporated into source code to count loop iterations (and number of recursive procedure call invocations). Relevant quantitative functions are incorporated into the source code to allow computation of invariants (and hence bounds) on the incorporated counter variables in terms of the quantitative functions.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 4.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A computing device comprising: one or more processors; memory that includes a plurality of instructions executed by the one or more processors to perform acts comprising: identifying a tuple of an abstract data structure in a program code to associate with a quantitative function, the quantitative function being a numeric function over the tuple of the abstract data structure; specifying semantics of the quantitative function by describing an effect of one or more data-structure methods on the quantitative function; and computing a symbolic complexity bound for a number of loop iterations or a
- Claim 2Depends on #1
The computing device of claim 1 , wherein describing
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (10)
Non-Patent Literature (2)
- Gulwani et al., "Bounding Resource Consumption Using Abstract Interpretation," presented May 10, 2007 at OSQ Retreat organized by University of California Berkeley, 5 pages.
- Gustafsson et al., "Automatic Derivation of Loop Bounds and Infeasible Paths for WCET Analysis using Abstract Execution," Proceedings of the 27th IEEE International Real-Time Systems Symposium (RTSS'06), Dec. 2006, 10 pages.