TY - GEN
T1 - Higher-order abstract interpretation (and application to comportment analysis generalizing strictness, termination, projection and PER analysis of functional languages)
AU - Cousot, Patrick
AU - Cousot, Radhia
PY - 1994
Y1 - 1994
N2 - The original formulation of abstract interpretation represents program properties by sets. A property is understood as the set of semantic values satisfying it. Strongest program properties are defined by the collecting semantics which extends the standard semantics to powersets of semantic values. The approximation relation corresponding to the logical implication of program properties is subset inclusion. This was expressed using set and lattice theory in the context of transition systems that is of an operational semantics. This approach was applied to imperative programs, first-order procedures, communicating processes, parallel and logic programs. Some applications of abstract interpretation, such as strictness analysis for lazy functional languages, require infinite behaviors of higher-order functions to be taken into account. In this context denotational semantics is very natural (strictness is f(⊥) = ⊥ where ⊥ denotes non-termination). The set-theoretic approach to abstract interpretation was felt incompatible with denotational semantics. The attempts to express the collecting semantics in denotational form were unsuccessful since properties of functions f ∈ D1 → D2 had to be expressed as continuous functions between powerdomains F ∈ PD1 → PD2 which is not expressive enough. We solve the problem by returning to the sources of abstract interpretation, which consists in considering collecting semantics such that e.g. properties of functions f ∈ D1 → D2 are sets of functions F ∈ p(D1 → D2). Various Galois connection based approximations of F ∈ p(D1 → D2) can then be applied. By using Galois connections, properties of the standard semantics naturally transfer to the collecting and then to the abstract semantics. This set-theoretic abstract interpretation framework is formulated in a way which is independent of both the programming language and the method used to specify its semantics. It is illustrated for a higher-order monomorphically typed lazy functional language starting from its standard denotational semantics. The chosen application is comportment analysis which generalizes strictness, termination, projection (including absence), dual projection (including totality) and PER analysis and is expressed in denotational style.
AB - The original formulation of abstract interpretation represents program properties by sets. A property is understood as the set of semantic values satisfying it. Strongest program properties are defined by the collecting semantics which extends the standard semantics to powersets of semantic values. The approximation relation corresponding to the logical implication of program properties is subset inclusion. This was expressed using set and lattice theory in the context of transition systems that is of an operational semantics. This approach was applied to imperative programs, first-order procedures, communicating processes, parallel and logic programs. Some applications of abstract interpretation, such as strictness analysis for lazy functional languages, require infinite behaviors of higher-order functions to be taken into account. In this context denotational semantics is very natural (strictness is f(⊥) = ⊥ where ⊥ denotes non-termination). The set-theoretic approach to abstract interpretation was felt incompatible with denotational semantics. The attempts to express the collecting semantics in denotational form were unsuccessful since properties of functions f ∈ D1 → D2 had to be expressed as continuous functions between powerdomains F ∈ PD1 → PD2 which is not expressive enough. We solve the problem by returning to the sources of abstract interpretation, which consists in considering collecting semantics such that e.g. properties of functions f ∈ D1 → D2 are sets of functions F ∈ p(D1 → D2). Various Galois connection based approximations of F ∈ p(D1 → D2) can then be applied. By using Galois connections, properties of the standard semantics naturally transfer to the collecting and then to the abstract semantics. This set-theoretic abstract interpretation framework is formulated in a way which is independent of both the programming language and the method used to specify its semantics. It is illustrated for a higher-order monomorphically typed lazy functional language starting from its standard denotational semantics. The chosen application is comportment analysis which generalizes strictness, termination, projection (including absence), dual projection (including totality) and PER analysis and is expressed in denotational style.
UR - http://www.scopus.com/inward/record.url?scp=0028196382&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=0028196382&partnerID=8YFLogxK
M3 - Conference contribution
AN - SCOPUS:0028196382
SN - 0818656425
T3 - IEEE International Conference on Computer Languages
SP - 95
EP - 112
BT - IEEE International Conference on Computer Languages
PB - Publ by IEEE
T2 - Proceedings of the 1994 International Conference on Computer Languages
Y2 - 16 May 1994 through 19 May 1994
ER -