| is_reftype(st[r -- _type] .type .type), st[r0 -- _type] .type ≤ ty, is_obj(str, r0, st), fs ' ∈ instfields(st[r0 -- _type] .type .class), is_referencevalue(st[r0 -- fs ']), junkrefs(str, st[r0 -- fs '] .refval ' + refs, fs .type, st[r -- i ', refval(jvmref)]), ∀ st0, r1, str0, ty0, i0. is_reftype(st0[r1 -- _type] .type .type) ∧ junkrefs(str0, st[r0 -- fs '] .refval ' + refs, ty0, st0[r1 -- i0 ', refval(jvmref)]) → r1 = jvmref ∨ junkrefs(str0, st[r0 -- fs '] .refval ' + refs, ty0, st0) ⊦ r0 = jvmref, r = jvmref, junkrefs(str, r0 ' + st[r0 -- fs '] .refval ' + refs, ty, st) |
fs = mkfs(class, ty1, fieldvar), is_reftype(st[r -- _type] .type .type), st[r0 -- _type] .type ≤ ty, is_obj(str, r0, st), fs ' ∈ instfields(st[r0 -- _type] .type .class), is_referencevalue(st[r0 -- fs ']), junkrefs(str, st[r0 -- fs '] .refval ' + refs, ty1, st[r -- i ', refval(jvmref)]), ∀ st0, r1, str0, ty0, i0. is_reftype(st0[r1 -- _type] .type .type) ∧ junkrefs(str0, st[r0 -- fs '] .refval ' + refs, ty0, st0[r1 -- i0 ', refval(jvmref)]) → r1 = jvmref ∨ junkrefs(str0, st[r0 -- fs '] .refval ' + refs, ty0, st0) ⊦ r0 = jvmref, r = jvmref, junkrefs(str, r0 ' + st[r0 -- fs '] .refval ' + refs, ty, st)
[[CONCRETESIMPRULES : ([CSIMPELIM : ⊦ class = fs .class ∧ ty = fs .type ∧ fieldvar = fs .field ↔ fs = mkfs(class, ty, fieldvar)])], [EXTRATERMS : (fs, class, ty1, fieldvar)]]