-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Variables without constraints do not generate model. Like the example below, the model of len_x and y will not be generated:
; sat
(declare-fun x ()String)
(declare-fun y ()String)
(declare-const len_x Int)
(declare-const len_y Int)
(assert (= len_x (str.len x)))
(assert (< 1 len_x))
(check-sat)
(get-model)The result is:
Running backward propagation
... sat
(model
(define-fun len_x () Int 2)
(define-fun x () String "\u{0}\u{0}")
)Metadata
Metadata
Assignees
Labels
No labels