Skip to content
This repository has been archived by the owner on Aug 23, 2024. It is now read-only.

Error with Array sort as input to function #17

Closed
SeanHeelan opened this issue Aug 25, 2018 · 2 comments
Closed

Error with Array sort as input to function #17

SeanHeelan opened this issue Aug 25, 2018 · 2 comments

Comments

@SeanHeelan
Copy link

Hi,

When trying to use an array as an input to a function I get the following

(set-logic QF_AUFBV)

(define-fun Store-2 
  ((m (Array (_ BitVec 32) (_ BitVec 8))) (a (_ BitVec 32)))
  (Array (_ BitVec 32) (_ BitVec 8))
  (store m a #x08))

(check-sat)
(get-model)
$ boolector no_overlap.smt2
boolector: no_overlap.smt2:4:8: expected '_' at 'Array'

I can't see anything in the SMT-LIB2 standard that would forbid this and CVC4 seems not to mind.

$ cvc4 no_overlap.smt2 
sat
(error "Cannot get model when produce-models options is off.")

Is this a design decision in boolector or am I doing something wrong?

Thanks,
Sean

@mpreiner
Copy link
Member

Hi Sean,

There is nothing wrong with the input - it is valid SMT2. This is currently not supported by Boolector.

@SeanHeelan
Copy link
Author

Hey,

Thanks for the clarification.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants