Combining Quantified Domains

نویسندگان

  • Bill McCloskey
  • Mooly Sagiv
چکیده

We develop general algorithms for reasoning about numerical properties of programs manipulating the heap via pointers. We automatically infer quantified invariants regarding unbounded sets of memory locations and unbounded numeric values. As an example, we can infer that for every node in a data structure, the node’s length field is less than its capacity field. We can also infer per-node statements about cardinality, such as that each node’s count field is equal to the number of elements reachable from it. This additional power allows us to prove properties about reference counted data structures and B-trees that were previously unattainable. Besides the ability to verify more programs, we believe that our work sheds new light on the interaction between heap and numerical reasoning. Our algorithms are parametric in the heap and the numeric abstractions. They permit heap and numerical abstractions to be combined into a single abstraction while maintaining correlations between these abstractions. In certain combinations not involving cardinality, we prove that our combination technique is complete, which is surprising in the presence of quantification.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Statically Inferring Complex Heap, Array, and Numeric Invariants

We describe Deskcheck, a parametric static analyzer that is able to establish properties of programs that manipulate dynamically allocated memory, arrays, and integers. Deskcheck can verify quantified invariants over mixed abstract domains, e.g., heap and numeric domains. These domains need only minor extensions to work with our domain combination framework. The technique used for managing the ...

متن کامل

Quantified S4 in the Lebesgue measure algebra with a constant countable domain

Define quantified S4, QS4 [first-order S4, FOS4], by combining the axioms and rules of inference of propositional S4 with the axioms and rules of classical first order logic without identity [with identity]. In the 1950’s, Rasiowa and Sikorski extended the algebraic semantics for propositional S4 to a constant-domain algebraic semantics for QS4, and showed that QS4 is sound and complete for thi...

متن کامل

Generalized Constraint Solving by Elimination Methods

In this survey paper on our work in the field of constraint solving techniques, we discuss generalizations of constraint solving over various domains. These generalizations comprise paradigms from both computational algebra (e.g. parameterization) as well as from logic (e.g. expressiveness of full first-order logic). The domains include real numbers, p-adic numbers, integers, differential field...

متن کامل

Gene fusion/fission is a major contributor to evolution of multi-domain bacterial proteins

Most proteins comprise one or several domains. New domain architectures can be created by combining previously existing domains. The elementary events that create new domain architectures may be categorized into three classes, namely domain(s) insertion or deletion (indel), exchange and repetition. Using 'DomainTeam', a tool dedicated to the search for microsyntenies of domains, we quantified t...

متن کامل

Learning First-Order Probabilistic Models with Combining Rules Learning First-Order Probabilistic Models with Combining Rules

Many real-world domains exhibit rich relational structure and stochasticity and motivate the development of models that combine predicate logic with probabilities. These models describe probabilistic influences between attributes of objects that are related to each other through known domain relationships. To keep these models succinct, each such influence is considered independent of others, w...

متن کامل

A structural approach to reasoning with quantified Boolean formulas

In this paper we approach the problem of reasoning with quantified Boolean formulas (QBFs) by combining search and resolution, and by switching between them according to structural properties of QBFs. We provide empirical evidence that QBFs which cannot be solved by search or resolution alone, can be solved by combining them, and that our approach makes a proof-of-concept implementation competi...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2009