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

research
12/03/2018

Undecidability of Inferring Linear Integer Invariants

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

Reflections on Termination of Linear Loops

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

Monadic Decomposition in Integer Linear Arithmetic (Technical Report)

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

Iterated multiplication in VTC^0

We show that VTC^0, the basic theory of bounded arithmetic corresponding...
research
07/13/2023

Targeting Completeness: Using Closed Forms for Size Bounds of Integer Programs

We present a new procedure to infer size bounds for integer programs aut...
research
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...
research
04/07/2019

Hierarchic Superposition Revisited

Many applications of automated deduction require reasoning in first-orde...

Please sign up or login with your details

Forgot password? Click here to reset