Consider I have the following in B specification :-
flower <: FLOWER
age <: AGE
owner <: OWNER
Type <: flower * age
Buyer : owner <-> flower
Is it possible for me to create a refinement as followed :-
flower <: FLOWER
age <: AGE
owner <: OWNER
Type : Owner <-> flower * age
Buyer : owner <-> flower
不,这是不可能的,因为在一种改进中,变量的类型必须与规范中的类型相同(如果规范中存在一个具有相同名称的变量,如此处所示)。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.