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