| st[r -- mkfs(class, ty0, fieldvar) '] = refval(r1), junkref(str, r1, st), is_obj(str, r, st), st[r -- _type] .type ≤ ty, mkfs(class, ty0, fieldvar) ' ∈ instfields(st[r -- _type] .type .class), validrefs(str, r1 ' + refs0 + r0 ', ty0, st[r0 -- sk, val]) ⊦ r0 = r1, sk = _type, r0 = r, r = jvmref, r0 ∈ refs0, junkref(str, r, st), validrefs(str, r1 ' + refs0 + r0 ', ty0, st) |
⊦ is_obj(str, r, st) → ( junkref(str, r, 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 ∨ junkref(str, st[r -- fs '] .refval, st))))
is_obj(str, r, st), st[r -- mkfs(class, ty0, fieldvar) '] = refval(r1), junkref(str, r1, st), is_obj(str, r, st), st[r -- _type] .type ≤ ty, mkfs(class, ty0, fieldvar) ' ∈ instfields(st[r -- _type] .type .class), validrefs(str, r1 ' + refs0 + r0 ', ty0, st[r0 -- sk, val]) ⊦ r0 = r1, sk = _type, r0 = r, r = jvmref, r0 ∈ refs0, ∃ 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 ∨ junkref(str, st[r -- fs '] .refval, st)), validrefs(str, r1 ' + refs0 + r0 ', ty0, st)
[[CONCRETESIMPRULES : ()], [EXTRATERMS : (st, r, str)]]