Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullPointerException for NIA and ALIA formulas (unsat-core) #77

Open
rainoftime opened this issue Apr 17, 2020 · 3 comments
Open

NullPointerException for NIA and ALIA formulas (unsat-core) #77

rainoftime opened this issue Apr 17, 2020 · 3 comments
Assignees

Comments

@rainoftime
Copy link

Hi, for the following formulas,

NPD.txt
NPD2.txt

smtinterpol commit 0610d35 throws a NPD

@rainoftime rainoftime changed the title NullPointerException for NIA and ALIA formulas NullPointerException for NIA and ALIA formulas (unsat-core) Apr 19, 2020
@rainoftime
Copy link
Author

At commit 7625fe2, NPD.txt is fixed, while NPD2.txt is not

@tanjaschindler
Copy link
Contributor

There seem to be problems with NamedAtom and check-sat-assuming.

@rainoftime
Copy link
Author

Here is small case

(set-logic LRA)
(declare-const v0 Bool)
(declare-const v1 Bool)
(declare-const v2 Bool)
(declare-const r1 Real)
(declare-const r3 Real)
(declare-const r4 Real)
(declare-const r6 Real)
(declare-const r8 Real)
(declare-const r11 Real)
(declare-const r13 Real)
(assert (! (xor v0 v1) :named IP_1))
(declare-const v3 Bool)
(declare-const r14 Real)
(declare-const r15 Real)
(assert (! (xor v2 (>= r1 0.79402645 r4 (- r13)) v1 (= 525.0 (- r13) 525.0 531735050.0 r4) v0 v1 v3 (= 525.0 (- r13) 525.0 531735050.0 r4) (= (xor v0 v1) v2 v1 v0 v1 v0 v0 (xor v0 v1) v1 (>= r1 0.79402645 r4 (- r13))) (>= r1 0.79402645 r4 (- r13)) v1) :named IP_2))
(assert (! v2 :named IP_3))
(check-sat)
(check-sat-assuming (IP_1 IP_3))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants