We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, This stack overflow question revealed what seems to be a bug:
(declare-fun max ((Seq Int)) Int) (assert (forall ((A (Seq Int))) (=> (> (seq.len A) 0) (<= 0 (max A))))) (assert (forall ((A (Seq Int))) (=> (> (seq.len A) 0) (< (max A) (seq.len A))))) (assert (forall ((A (Seq Int)) (i Int)) (=> (and (> (seq.len A) 0) (<= 0 i) (< i (seq.len A))) (<= (seq.nth A i) (seq.nth A (max A)))))) (assert (= (max (seq.++ (seq.unit 8) (seq.unit 3))) 0)) ;(assert (= (max (seq.++ (seq.unit 8) (seq.unit 3))) 1)) (check-sat) (get-model)
And I get a wrong sat answer:
sat (model (define-fun max ((x!0 (Seq Int))) Int (ite (= x!0 (seq.++ (seq.unit 7718) (seq.++ (seq.unit 15) (seq.unit 7719)))) 2 0)) )
The text was updated successfully, but these errors were encountered:
fixing #2448 and #2445 and #2443
c448033
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
584eee2
fixing #2443 #2445 #2447 #2448
2d5714a
now it simply will not produce a model
Sorry, something went wrong.
No branches or pull requests
Hi,
This stack overflow question revealed what seems to be a bug:
And I get a wrong sat answer:
The text was updated successfully, but these errors were encountered: