a datatype contains a set in Z3

后端 未结 2 1032
无人及你
无人及你 2021-01-02 15:01

how can I make a datatype that contains a set of another objects. Basically, I am doing the following code:

(define-sort Set(T) (Array Int T))
(declare-datat         


        
2条回答
  •  日久生厌
    2021-01-02 15:29

    This is not supported in Z3. You can use arrays in datatype declarations, but they can't contain "references" to the datatypes you are declaring. For example, it is ok to use (Set Int).

提交回复
热议问题