| ty1 = mkclasstype(class0), type∃(str0, ty0), type∃(str0, ty1), type∃(str, ty0), level⊆(str, str0), type∃(str, ty), is_reftype(ty), ty1 ≤ ty, type∃(str, ty1), type∃(str0, ty), is_classtype(ty1), type∃(str0, ty0), type∃(str0, ty1), mkfs(class, ty2, fieldvar) ' ∈ instfields(class0), ty0 ≤ ty2, ∀ ty0, ty, str0, str, tys0. # tys0 < # [] → (level⊆(str, str0) ∧ contains(str, ty ' + tys0 + ty0 ') → contains(str0, ty, ty0) ∨ dups(tys0) ∨ ty ∈ tys0) ⊦ interface∃(str, class0), ∃ ty1, ty2. ty1 ≤ ty ∧ type∃(str0, ty1) ∧ (is_classtype(ty1) → ¬ interface∃(str0, ty1 .class) ∧ (∃ fs. fs ' ∈ instfields(ty1 .class) ∧ ty2 ≤ fs .type)) ∧ (is_arraytype(ty1) → ty2 ≤ ty1 .type) ∧ contains(str0, ty2, ty0), ¬ interface∃(str0, class0) ∧ (∃ fs. fs ' ∈ instfields(class0) ∧ ty0 ≤ fs .type) |
mkfs(class, ty2, fieldvar) ' ∈ instfields(class0), ty0 ≤ ty2, type∃(str, ty0), level⊆(str, str0), type∃(str, ty), is_classtype(ty), class0 ≤ ty .class, tdname+∃(str, class0), type∃(str0, ty), type∃(str0, ty0), tdname+∃(str0, class0), ∀ ty0, ty, str0, str, tys0. # tys0 < # [] → (level⊆(str, str0) ∧ contains(str, ty ' + tys0 + ty0 ') → contains(str0, ty, ty0) ∨ dups(tys0) ∨ ty ∈ tys0) ⊦ interface∃(str, class0), ∃ ty1, ty2. ty1 ≤ ty ∧ type∃(str0, ty1) ∧ (is_classtype(ty1) → ¬ interface∃(str0, ty1 .class) ∧ (∃ fs. fs ' ∈ instfields(ty1 .class) ∧ ty2 ≤ fs .type)) ∧ (is_arraytype(ty1) → ty2 ≤ ty1 .type) ∧ contains(str0, ty2, ty0), ¬ interface∃(str0, class0) ∧ (∃ fs. fs ' ∈ instfields(class0) ∧ ty0 ≤ fs .type)
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ is_classtype(ty) → is_reftype(ty)], [CSIMPSEQ : ⊦ is_classtype(mkclasstype(class))], [CSIMPSEQ : ⊦ type∃(str, mkclasstype(class)) ↔ tdname+∃(str, class)], [CSIMPSEQ : ⊦ mkclasstype(class) ≤ ty ↔ is_classtype(ty) ∧ class ≤ ty .class])]]