| is_obj(str, r, st), okval(val, st[r1 -- _type] .type .type), junkrefs(str, r ' + acc, ty, st[r1 -- i ', val]), st[r -- _type] .type ≤ ty, ∀ val, st, r1, str, ty, i. okval(val, st[r1 -- _type] .type .type) ∧ junkrefs(str, acc, ty, st[r1 -- i ', val]) → is_referencevalue(val) ∨ junkrefs(str, acc, ty, st) ⊦ r = jvmref, is_referencevalue(val), junkrefs(str, r ' + 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, r, st[r1 -- i ', val]) ∧ (st[r1 -- i ', val][r -- _type]) .type ≤ ty, is_obj(str, r, st), okval(val, st[r1 -- _type] .type .type), acc ≠ [] ∧ (∃ fs. fs ' ∈ instfields((st[r1 -- i ', val][r -- _type]) .type .class) ∧ is_referencevalue(st[r1 -- i ', val][r -- fs ']) ∧ acc .first = (st[r1 -- i ', val][r -- fs ']) .refval ∧ junkrefs(str, acc, fs .type, st[r1 -- i ', val])), st[r -- _type] .type ≤ ty, ∀ val, st, r1, str, ty, i. okval(val, st[r1 -- _type] .type .type) ∧ junkrefs(str, acc, ty, st[r1 -- i ', val]) → is_referencevalue(val) ∨ junkrefs(str, acc, ty, st) ⊦ r = jvmref, is_referencevalue(val), junkrefs(str, r ' + acc, ty, st)
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ (refs + refs0) + refs1 = refs + refs0 + refs1], [CSIMPSEQ : ⊦ is_obj (str, r, st[r0 -- i ', val]) ↔ is_obj(str, r, st)], [CSIMPSEQ : ⊦ (st[r -- i ', val][r0 -- _type]) = st[r0 -- _type]])], [EXTRATERMS : (st[r1 -- i ', val], ty, acc, r, str)]]