| st[r -- mkfs(class, ty1, fieldvar) '] = refval(r0), is_obj(str, r, st), is_obj(str0, r, st), level⊆(str, str0), validref(str, r, ty, st), st[r -- _type] .type ≤ ty0, st[r -- _type] .type ≤ ty, mkfs(class, ty1, fieldvar) ' ∈ instfields(st[r -- _type] .type .class), validrefs(str0, r0 ' + refs, ty1, st), ∀ str1, str2, ty2, st0, ty3. level⊆(str1, str2) ∧ validrefs(str2, r0 ' + refs, ty2, st0) ∧ validref(str1, r0, ty3, st0) → validrefs(str1, r0 ' + refs, ty2, st0) ⊦ r = jvmref, validrefs(str, r0 ' + refs, ty1, st) |
⊦ is_obj(str, r, st) ∧ st[r -- _type] .type ≤ ty → ( validref(str, r, ty, st) ↔ ¬ (∃ fs. fs ' ∈ instfields(st[r -- _type] .type .class) ∧ is_referencevalue(st[r -- fs ']) ∧ st[r -- fs '] .refval ≠ jvmref ∧ (¬ st[st[r -- fs '] .refval -- _type] .type ≤ fs .type ∨ ¬ validref(str, st[r -- fs '] .refval, fs .type, st))))
is_obj(str, r, st) ∧ st[r -- _type] .type ≤ ty, st[r -- mkfs(class, ty1, fieldvar) '] = refval(r0), is_obj(str, r, st), is_obj(str0, r, st), level⊆(str, str0), ∀ fs. ¬ ( fs ' ∈ instfields(st[r -- _type] .type .class) ∧ is_referencevalue(st[r -- fs ']) ∧ st[r -- fs '] .refval ≠ jvmref ∧ (¬ st[st[r -- fs '] .refval -- _type] .type ≤ fs .type ∨ ¬ validref(str, st[r -- fs '] .refval, fs .type, st))), st[r -- _type] .type ≤ ty0, st[r -- _type] .type ≤ ty, mkfs(class, ty1, fieldvar) ' ∈ instfields(st[r -- _type] .type .class), validrefs(str0, r0 ' + refs, ty1, st), ∀ str1, str2, ty2, st0, ty3. level⊆(str1, str2) ∧ validrefs(str2, r0 ' + refs, ty2, st0) ∧ validref(str1, r0, ty3, st0) → validrefs(str1, r0 ' + refs, ty2, st0) ⊦ r = jvmref, validrefs(str, r0 ' + refs, ty1, st)
[[CONCRETESIMPRULES : ()], [EXTRATERMS : (st, ty, r, str)]]