Skip to content
New issue

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

Crash using partial-order #6267

Closed
philzook58 opened this issue Aug 9, 2022 · 0 comments
Closed

Crash using partial-order #6267

philzook58 opened this issue Aug 9, 2022 · 0 comments

Comments

@philzook58
Copy link
Contributor

The following was part of an encoding of an intuitionistic Kripke model.

(declare-sort World)
(define-fun R ((x World) (y World)) Bool ((_ partial-order 0) x y))

(declare-sort Atom)
(declare-fun value (World Atom) Bool)
(declare-const w World)
(assert (R w w))

(assert
  (forall ((p Atom) (u World) (w World))
  (=>
    (and (value w p) (R w u))
    (value u p)
  )
  )
)

(check-sat)
(get-model)

on Z3 version 4.10.2 - 64 bit it crashes with the message

terminate called after throwing an instance of 'std::bad_variant_access'
  what():  Unexpected index
Aborted (core dumped)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant