DeepAI AI Chat
Log In Sign Up

When Less Is More: Consequence-Finding in a Weak Theory of Arithmetic

by   Zachary Kincaid, et al.

This paper presents a theory of non-linear integer/real arithmetic and algorithms for reasoning about this theory. The theory can be conceived as an extension of linear integer/real arithmetic with a weakly-axiomatized multiplication symbol, which retains many of the desirable algorithmic properties of linear arithmetic. In particular, we show that the conjunctive fragment of the theory can be effectively manipulated (analogously to the usual operations on convex polyhedra, the conjunctive fragment of linear arithmetic). As a result, we can solve the following consequence-finding problem: given a ground formula F, find the strongest conjunctive formula that is entailed by F. As an application of consequence-finding, we give a loop invariant generation algorithm that is monotone with respect to the theory and (in a sense) complete. Experiments show that the invariants generated from the consequences are effective for proving safety properties of programs that require non-linear reasoning.


page 1

page 2

page 3

page 4


Undecidability of Inferring Linear Integer Invariants

We show that the problem of determining the existence of an inductive in...

Reflections on Termination of Linear Loops

This paper shows how techniques for linear dynamical systems can be used...

Monadic Decomposition in Integer Linear Arithmetic (Technical Report)

Monadic decomposability is a notion of variable independence, which asks...

Iterated multiplication in VTC^0

We show that VTC^0, the basic theory of bounded arithmetic corresponding...

Synthesising a Database of Parameterised Linear and Non-Linear Invariants for Time-Series Constraints

Many constraints restricting the result of some computations over an int...

Proving UNSAT in SMT: The Case of Quantifier Free Non-Linear Real Arithmetic

We discuss the topic of unsatisfiability proofs in SMT, particularly wit...

Spectral Approach to Verifying Non-linear Arithmetic Circuits

This paper presents a fast and effective computer algebraic method for a...