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