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