| is_obj(str, r0, st), junkrefs(str, r0 ' + acc, ty, st[r -- mkfs(class, ty0, fieldvar) ', refval(jvmref)]), is_reftype(ty0), st[r0 -- _type] .type ≤ ty, ∀ str, ty, st, fs, r. ¬ junkrefs(str, acc, ty, st) ∧ is_reftype(fs .type) → ¬ junkrefs(str, acc, ty, st[r -- fs ', refval(jvmref)]) ⊦ r0 = jvmref, junkrefs(str, r0 ' + acc, ty, st) |
⊦ is_obj(str, r, st) ∧ st[r -- _type] .type ≤ ty → ( junkrefs(str, r ' + refs, ty, st) ↔ refs ≠ [] ∧ (∃ fs. fs ' ∈ instfields(st[r -- _type] .type .class) ∧ is_referencevalue(st[r -- fs ']) ∧ refs .first = st[r -- fs '] .refval ∧ junkrefs(str, refs, fs .type, st)))
¬ ( is_obj(str, r0, st[r -- mkfs(class, ty0, fieldvar) ', refval(jvmref)]) ∧ (st[r -- mkfs(class, ty0, fieldvar) ', refval(jvmref)][r0 -- _type]) .type ≤ ty), is_obj(str, r0, st), junkrefs(str, r0 ' + acc, ty, st[r -- mkfs(class, ty0, fieldvar) ', refval(jvmref)]), is_reftype(ty0), st[r0 -- _type] .type ≤ ty, ∀ str, ty, st, fs, r. ¬ junkrefs(str, acc, ty, st) ∧ is_reftype(fs .type) → ¬ junkrefs(str, acc, ty, st[r -- fs ', refval(jvmref)]) ⊦ r0 = jvmref, junkrefs(str, r0 ' + acc, ty, st)
is_obj(str, r0, st[r -- mkfs(class, ty0, fieldvar) ', refval(jvmref)]) ∧ (st[r -- mkfs(class, ty0, fieldvar) ', refval(jvmref)][r0 -- _type]) .type ≤ ty, is_obj(str, r0, st), acc ≠ [] ∧ (∃ fs. fs ' ∈ instfields((st[r -- mkfs(class, ty0, fieldvar) ', refval(jvmref)][r0 -- _type]) .type .class) ∧ is_referencevalue(st[r -- mkfs(class, ty0, fieldvar) ', refval(jvmref)][r0 -- fs ']) ∧ acc .first = (st[r -- mkfs(class, ty0, fieldvar) ', refval(jvmref)][r0 -- fs ']) .refval ∧ junkrefs(str, acc, fs .type, st[r -- mkfs(class, ty0, fieldvar) ', refval(jvmref)])), is_reftype(ty0), st[r0 -- _type] .type ≤ ty, ∀ str, ty, st, fs, r. ¬ junkrefs(str, acc, ty, st) ∧ is_reftype(fs .type) → ¬ junkrefs(str, acc, ty, st[r -- fs ', refval(jvmref)]) ⊦ r0 = jvmref, junkrefs(str, r0 ' + acc, ty, st)
[[CONCRETESIMPRULES : ()], [EXTRATERMS : (st[r -- mkfs(class, ty0, fieldvar) ', refval(jvmref)], ty, acc, r0, str)]]