uuverifiers / ostrich

An SMT Solver for string constraints
Other
35 stars 8 forks source link

Support for unsat core generation #53

Closed SimpleXiaohu closed 2 days ago

SimpleXiaohu commented 2 years ago

For example below, ostrich can not generate right unsat core:

(set-option :produce-unsat-cores true)
(declare-const x String)
(declare-const i Int)
(assert (= x "hh"))
(assert (= i (str.len x)))
(assert (= i 1))

(check-sat)
(get-unsat-core)