-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
enhancementNew feature or requestNew feature or request
Description
For these constraints
(set-logic ALL)
(set-option :produce-models true)
(declare-datatypes ((Ptr 1)) ((par (T) ((null_ptr)))))
( declare-datatypes
(
( L
0
)
)
(
(
( mk-L
( val
( _
BitVec
8
)
)
( e
( Ptr
L
)
)
)
)
)
)
(declare-const l L)
(assert (= l (mk-L (_ bv0 8) (as null_ptr (Ptr L)))))
(check-sat)
(get-value (l))
Princess reports (error "Sort L not declared") while both Z3 and CVC5 correctly report sat.
What are the restrictions of using ADTs?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request