| tys + ty0 ' = ty3 ' + tys2, contains(str, ty0 ' + tys0 + ty1 '), type∃(str, ty), is_reftype(ty), ty2 ≤ ty, type∃(str, ty2), contains(str, ty3 ' + tys2), is_arraytype(ty2) → ty3 ≤ ty2 .type, is_classtype(ty2) → ¬ interface∃(str, ty2 .class) ∧ mkfs(class, ty4, fieldvar) ' ∈ instfields(ty2 .class) ∧ ty3 ≤ ty4, ∀ ty, ty1, tys0, ty0, str, tys1. # tys1 < # tys → (contains(str, ty0 ' + tys0 + ty1 ') ∧ contains(str, ty ' + tys1 + ty0 ') → contains(str, ty ' + tys1 + ty0 ' + tys0 + ty1 ')) ⊦ contains(str, tys + ty0 ' + tys0 + ty1 '), ty0 ≠ ty3 ∧ ¬ ty0 ∈ tys2, ¬ ty3 ∈ tys ∧ ty3 ≠ ty0 |
tys ≠ [] ⊦ tys + tys0 = ty ' + tys1 ↔ ty = tys .first ∧ tys1 = tys .rest + tys0
tys ≠ [], ty3 = tys .first ∧ tys2 = tys .rest + ty0 ', contains(str, ty0 ' + tys0 + ty1 '), type∃(str, ty), is_reftype(ty), ty2 ≤ ty, type∃(str, ty2), contains(str, ty3 ' + tys2), is_arraytype(ty2) → ty3 ≤ ty2 .type, is_classtype(ty2) → ¬ interface∃(str, ty2 .class) ∧ mkfs(class, ty4, fieldvar) ' ∈ instfields(ty2 .class) ∧ ty3 ≤ ty4, ∀ ty, ty1, tys0, ty0, str, tys1. # tys1 < # tys → (contains(str, ty0 ' + tys0 + ty1 ') ∧ contains(str, ty ' + tys1 + ty0 ') → contains(str, ty ' + tys1 + ty0 ' + tys0 + ty1 ')) ⊦ contains(str, tys + ty0 ' + tys0 + ty1 '), ty0 ≠ ty3 ∧ ¬ ty0 ∈ tys2, ¬ ty3 ∈ tys ∧ ty3 ≠ ty0
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ (tys + tys0) + tys1 = tys + tys0 + tys1], [CSIMPSEQ : ⊦ [] + tys = tys], [CSIMPSEQ : ⊦ ty ' = ty0 ' + tys ↔ ty = ty0 ∧ tys = []])], [EXTRATERMS : (tys2, ty3, ty0 ', tys)]]