| has_classtype(ty), type∃(str0, ty), is_classtype(ty), class0 ≤ ty .class, class+∃(str0, class0), type∃(str, ty0), tdname+∃(str, class0), mkfs(class, ty2, fieldvar) ' ∈ instfields(class0), ty0 ≤ ty2, type∃(str0, ty0), type∃(str, ty), level⊆(str0, str), same-subclasses-contains(ty .class, str, str0), ∀ ty0, str0, str, ty, tys0. # tys0 < # [] → ( has_classtype(ty) ∧ same-subclasses-contains(ty .jtelemtype .class, str, str0) ∧ level⊆(str0, str) ∧ 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), ∃ fs. fs ' ∈ instfields(class0) ∧ ty0 ≤ fs .type |
ty = mkclasstype(class1), has_classtype(ty), type∃(str0, ty), is_classtype(ty), class0 ≤ class1, class+∃(str0, class0), type∃(str, ty0), tdname+∃(str, class0), mkfs(class, ty2, fieldvar) ' ∈ instfields(class0), ty0 ≤ ty2, type∃(str0, ty0), type∃(str, ty), level⊆(str0, str), same-subclasses-contains(class1, str, str0), ∀ ty0, str0, str, ty, tys0. # tys0 < # [] → ( has_classtype(ty) ∧ same-subclasses-contains(ty .jtelemtype .class, str, str0) ∧ level⊆(str0, str) ∧ 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), ∃ fs. fs ' ∈ instfields(class0) ∧ ty0 ≤ fs .type
[[CONCRETESIMPRULES : ([CSIMPELIM : ⊦ is_classtype(ty) → ( class = ty .class ↔ ty = mkclasstype(class))])], [EXTRATERMS : (ty, class1)]]