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

Unexpected result 'UNSAT' for sat-formula #71

Open
kensingRichardt opened this issue Nov 29, 2024 · 0 comments
Open

Unexpected result 'UNSAT' for sat-formula #71

kensingRichardt opened this issue Nov 29, 2024 · 0 comments

Comments

@kensingRichardt
Copy link

Hello again,

I found a case where eldarica returns unexpectedly UNSAT:

(declare-datatypes ((k 0)) (((k (y Int)))))
(declare-datatypes ((e 0)) (((e (f (Array Int k))))))
(declare-datatypes ((g 0)) (((g (h (Array Int e))))))
(declare-fun j (g) Bool)

(assert (forall ((r g))
    (=>  (> (y (select (f (select (h r) 0)) 0)) 0) (j r))))
   

(assert (forall ((r g))
    (=  (> (y (select (f (select (h r) 0)) 0)) 0) (j r))))
    
(check-sat)

Here is how I invoked eldarica:

$ ~/eldarica/eld -cloneArrays sat.smt2 
unsat

When omitting option -cloneArrays we get sat as expected.
I did not expect that this option changes the sat-result or is this intended behavior?

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

1 participant