DeepAI AI Chat
Log In Sign Up

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

11/08/2022
by   Zachary Kincaid, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

12/03/2018

Undecidability of Inferring Linear Integer Invariants

We show that the problem of determining the existence of an inductive in...
05/28/2021

Reflections on Termination of Linear Loops

This paper shows how techniques for linear dynamical systems can be used...
04/26/2020

Monadic Decomposition in Integer Linear Arithmetic (Technical Report)

Monadic decomposability is a notion of variable independence, which asks...
11/05/2020

Iterated multiplication in VTC^0

We show that VTC^0, the basic theory of bounded arithmetic corresponding...
01/15/2019

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...
08/11/2021

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

We discuss the topic of unsatisfiability proofs in SMT, particularly wit...
01/09/2019

Spectral Approach to Verifying Non-linear Arithmetic Circuits

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