yices2 icon indicating copy to clipboard operation
yices2 copied to clipboard

problematic formula

Open agriggio opened this issue 7 years ago • 8 comments

I just found this while fuzzing my solver. It seems yices goes crazy on this formula. It gets stuck after printing (final check: 4 interface lemmas), eventually running out of memory (I don't remember what was the memory limit though)

(Sorry that I'm putting this inline, but for some reason github doesn't allow me to attach the file -- I tried many different things before giving up).

[Dejan edited] Problem at https://gist.github.com/dddejan/470dc14c770cafe8d7b892b67e9ecc8e

agriggio avatar Aug 08 '17 09:08 agriggio

Thanks for reporting. Which version are you using?

dddejan avatar Aug 08 '17 09:08 dddejan

Sorry, git master

agriggio avatar Aug 08 '17 11:08 agriggio

I tried running it for 20 minutes and didn't get anything (Ubuntu). Are there any particular options or setup you are using?

dddejan avatar Aug 08 '17 14:08 dddejan

Well, that's kind of the point :-) It takes almost no time on other solvers. And if you take a look you will see the memory growing...

agriggio avatar Aug 08 '17 14:08 agriggio

Oh I see, I misunderstood and was waiting for printouts. Will investigate.

dddejan avatar Aug 08 '17 14:08 dddejan

It's a known issue with linear integer arithmetic. Yices sometimes goes into an infinite branch because its branch algorithm is too crude.

BrunoDutertre avatar Aug 09 '17 05:08 BrunoDutertre

oh, I see. sorry for the noise then

agriggio avatar Aug 09 '17 06:08 agriggio

No need to apologize. Thanks for reporting the problem.

BrunoDutertre avatar Aug 09 '17 14:08 BrunoDutertre