| fs ' ∈ instfields(st[r -- _type] .type .class), is_referencevalue(st[r -- fs ']), junkrefs(str, st[r -- fs '] .refval ' + refs, fs .type, st), st[r -- _type] .type ≤ ty, is_obj(str, r, st), ∀ str0, refs1, ty0, st0. junkrefs(str0, (st[r -- fs '] .refval ' + refs) + jvmref ' + refs1, ty0, st0) ↔ junkrefs(str0, st[r -- fs '] .refval ' + refs, ty0, st0) ⊦ r = jvmref, ∃ fs0. fs0 ' ∈ instfields(st[r -- _type] .type .class) ∧ is_referencevalue(st[r -- fs0 ']) ∧ st[r -- fs '] .refval = st[r -- fs0 '] .refval ∧ junkrefs(str, (st[r -- fs0 '] .refval ' + refs) + jvmref ' + refs0, fs0 .type, st) |
fs = mkfs(class, ty1, fieldvar), fs ' ∈ instfields(st[r -- _type] .type .class), is_referencevalue(st[r -- fs ']), junkrefs(str, st[r -- fs '] .refval ' + refs, ty1, st), st[r -- _type] .type ≤ ty, is_obj(str, r, st), ∀ str0, refs1, ty0, st0. junkrefs(str0, (st[r -- fs '] .refval ' + refs) + jvmref ' + refs1, ty0, st0) ↔ junkrefs(str0, st[r -- fs '] .refval ' + refs, ty0, st0) ⊦ r = jvmref, ∃ fs0. fs0 ' ∈ instfields(st[r -- _type] .type .class) ∧ is_referencevalue(st[r -- fs0 ']) ∧ st[r -- fs '] .refval = st[r -- fs0 '] .refval ∧ junkrefs(str, (st[r -- fs0 '] .refval ' + refs) + jvmref ' + refs0, fs0 .type, st)
[[CONCRETESIMPRULES : ([CSIMPELIM : ⊦ class = fs .class ∧ ty = fs .type ∧ fieldvar = fs .field ↔ fs = mkfs(class, ty, fieldvar)])], [EXTRATERMS : (fs, class, ty1, fieldvar)]]