From: Florian Weimer <fw@deneb.enyo.de>
Subject: Re: SPARK and integer arithmetic
Date: Sun, 18 Sep 2016 21:49:09 +0200
Date: 2016-09-18T21:49:09+02:00 [thread overview]
Message-ID: <877fa9ugy2.fsf@mid.deneb.enyo.de> (raw)
In-Reply-To: 87poo1atpb.fsf@jester.gateway.pace.com
* Paul Rubin:
> Florian Weimer <fw@deneb.enyo.de> writes:
>> The intent is that I can write unbounded integer arithmetic in
>> predicates and post-conditions.
>> Not too surprisingly, gnatprove can't deal with this (I've already
>> been told it's beyond alt-ergo, and Z3 can only brute-force it). But
>> perhaps there is a way to express the unbounded arithmetic so that
>> there is less work left for the prover?
>
> I think there is some way for Spark to use Coq, which can deal with
> things like that easily. The Wikipedia article on Presburger arithmetic
> also cites http://ieeexplore.ieee.org/document/6987606/?arnumber=6987606
> about using (adapting?) the CVC4 SMT solver on quantifier-free
> arithmetic expressions.
The actual formula in the program uses modular arithmetic, so I don't
think this can be represented efficiently in Presburger arithmetic.
Or am I missing something?
next prev parent reply other threads:[~2016-09-18 19:49 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-18 10:10 SPARK and integer arithmetic Florian Weimer
2016-09-18 15:37 ` Simon Wright
2016-09-18 18:01 ` Florian Weimer
2016-09-18 19:33 ` Paul Rubin
2016-09-18 19:49 ` Florian Weimer [this message]
2016-09-19 7:14 ` Paul Rubin
2017-08-09 19:47 ` moy
2016-10-03 10:09 ` Mark Lorenzen
2016-10-03 15:39 ` Florian Weimer
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox