| contains(str, ty, ty0), type∃(str, ty), is_reftype(ty0), is_classtype(ty0) → ¬ interface∃(str, ty0 .class) ∧ fs ' ∈ instfields(ty0 .class), is_arraytype(ty0) → fs ' = _length ⊦ ∃ tys. tys ≠ [] ∧ tys .first ≤ ty ∧ contains(str, tys) ∧ is_reftype(tys .last) ∧ (is_classtype(tys .last) → ¬ interface∃(str, tys .last .class) ∧ fs ' ∈ instfields(tys .last .class)) ∧ (is_arraytype(tys .last) → fs ' = _length) |
⊦ contains(str, ty, ty0) ↔ (∃ tys. contains(str, ty ' + (tys + ty0)))
∃ tys. contains(str, ty ' + (tys + ty0)), type∃(str, ty), is_reftype(ty0), is_classtype(ty0) → ¬ interface∃(str, ty0 .class) ∧ fs ' ∈ instfields(ty0 .class), is_arraytype(ty0) → fs ' = _length ⊦ ∃ tys. tys ≠ [] ∧ tys .first ≤ ty ∧ contains(str, tys) ∧ is_reftype(tys .last) ∧ (is_classtype(tys .last) → ¬ interface∃(str, tys .last .class) ∧ fs ' ∈ instfields(tys .last .class)) ∧ (is_arraytype(tys .last) → fs ' = _length)
[[CONCRETESIMPRULES : ()], [EXTRATERMS : (ty0, ty, str)]]