| is_obj(str, r, st), st[r -- _type] .type ≤ ty, ∀ str, ty, st, sk, val. validrefs(str, acc, ty, st[jvmref -- sk, val]) ↔ validrefs(str, acc, ty, st) ⊦ r = jvmref, (∃ fs. fs ' ∈ instfields(st[r -- _type] .type .class) ∧ is_referencevalue(st[r -- fs ']) ∧ acc .first = st[r -- fs '] .refval ∧ validrefs(str, acc, fs .type, st[jvmref -- sk, val])) ↔ (∃ fs. fs ' ∈ instfields(st[r -- _type] .type .class) ∧ is_referencevalue(st[r -- fs ']) ∧ acc .first = st[r -- fs '] .refval ∧ validrefs(str, acc, fs .type, st)), acc = [] |
acc = r0 + refs, is_obj(str, r, st), st[r -- _type] .type ≤ ty, ∀ str, ty, st, sk, val. validrefs(str, acc, ty, st[jvmref -- sk, val]) ↔ validrefs(str, acc, ty, st) ⊦ r = jvmref, (∃ fs. fs ' ∈ instfields(st[r -- _type] .type .class) ∧ is_referencevalue(st[r -- fs ']) ∧ r0 = st[r -- fs '] .refval ∧ validrefs(str, acc, fs .type, st[jvmref -- sk, val])) ↔ (∃ fs. fs ' ∈ instfields(st[r -- _type] .type .class) ∧ is_referencevalue(st[r -- fs ']) ∧ r0 = st[r -- fs '] .refval ∧ validrefs(str, acc, fs .type, st)), acc = []
[[CONCRETESIMPRULES : ([CSIMPELIM : refs ≠ [] ⊦ r = refs .first ∧ refs0 = refs .rest ↔ refs = r + refs0])], [EXTRATERMS : (acc, r0, refs)]]