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