alt-ergo icon indicating copy to clipboard operation
alt-ergo copied to clipboard

fix models for Booleans

Open iguerNL opened this issue 5 years ago • 0 comments

For this example:

(declare-const s Bool)
(declare-const a Bool)
(declare-const b Bool)

(assert
 (not 
  (=
   (= s (or a b))
   (= (not a) (or (not s) b))
   )
  )
 )

(check-sat)

Alt-Ergo returns the following model:

(
  (s s)
  (a s)
  (b b)
)
; File "foo.smt2", line 14, characters 1-12:I don't know (0.0039) (6 steps) (goal g)
unknown

Because Booleans are not interpreted in theories

iguerNL avatar Jan 18 '19 07:01 iguerNL