| has_classtype(ty), contains(str0, ty, ty0), type∃(str0, ty0), type∃(str, ty0), type∃(str0, ty), mkfs(class, ty2, fieldvar) ' ∈ instfields(class0), ty0 ≤ ty2, tdname+∃(str, class0), class+∃(str0, class0), is_classtype(ty), class0 ≤ ty .class, type∃(str, ty), same-subclasses-contains(ty .class, str, str0), ∀ ty0, str0, str, ty, tys0. # tys0 < # [] → ( has_classtype(ty) ∧ same-subclasses-contains(ty .jtelemtype .class, str, str0) ∧ type∃(str, ty) ∧ contains(str0, ty ' + tys0 + ty0 ') → contains(str, ty, ty0) ∨ dups(tys0) ∨ ty ∈ tys0) ⊦ interface∃(str0, class0), ∃ ty1, ty2. ty1 ≤ ty ∧ type∃(str, ty1) ∧ (is_classtype(ty1) → ¬ interface∃(str, ty1 .class) ∧ (∃ fs. fs ' ∈ instfields(ty1 .class) ∧ ty2 ≤ fs .type)) ∧ (is_arraytype(ty1) → ty2 ≤ ty1 .type) ∧ contains(str, ty2, ty0), ¬ interface∃(str, class0) ∧ (∃ fs. fs ' ∈ instfields(class0) ∧ ty0 ≤ fs .type) |
ty = mkclasstype(class1), has_classtype(ty), contains(str0, ty, ty0), type∃(str0, ty0), type∃(str, ty0), type∃(str0, ty), mkfs(class, ty2, fieldvar) ' ∈ instfields(class0), ty0 ≤ ty2, tdname+∃(str, class0), class+∃(str0, class0), is_classtype(ty), class0 ≤ class1, type∃(str, ty), same-subclasses-contains(class1, str, str0), ∀ ty0, str0, str, ty, tys0. # tys0 < # [] → ( has_classtype(ty) ∧ same-subclasses-contains(ty .jtelemtype .class, str, str0) ∧ type∃(str, ty) ∧ contains(str0, ty ' + tys0 + ty0 ') → contains(str, ty, ty0) ∨ dups(tys0) ∨ ty ∈ tys0) ⊦ interface∃(str0, class0), ∃ ty1, ty2. ty1 ≤ ty ∧ type∃(str, ty1) ∧ (is_classtype(ty1) → ¬ interface∃(str, ty1 .class) ∧ (∃ fs. fs ' ∈ instfields(ty1 .class) ∧ ty2 ≤ fs .type)) ∧ (is_arraytype(ty1) → ty2 ≤ ty1 .type) ∧ contains(str, ty2, ty0), ¬ interface∃(str, class0) ∧ (∃ fs. fs ' ∈ instfields(class0) ∧ ty0 ≤ fs .type)
[[CONCRETESIMPRULES : ([CSIMPELIM : ⊦ is_classtype(ty) → ( class = ty .class ↔ ty = mkclasstype(class))])], [EXTRATERMS : (ty, class1)]]