| st[r -- _type] .type = mkclasstype(class), st[r -- fs '] = refval(r1), okbytearray(r1, st), fs ' ∈ instfields(class), is_obj(str, r, st) ⊦ st[r1 -- sk0] = (putByteArray(bytes, r1, st)[r1 -- sk0]), r = r1, r = jvmref, junkref(str, r, st), validrefs(str, r ' + r1 ', mkclasstype(class), st) |
⊦ is_obj(str, r, st) ∧ st[r -- _type] .type ≤ ty → ( validrefs(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 ∧ validrefs(str, refs, fs .type, st)))
is_obj(str, r, st) ∧ st[r -- _type] .type ≤ mkclasstype(class), st[r -- _type] .type = mkclasstype(class), st[r -- fs '] = refval(r1), okbytearray(r1, st), fs ' ∈ instfields(class), is_obj(str, r, st) ⊦ st[r1 -- sk0] = (putByteArray(bytes, r1, st)[r1 -- sk0]), r = r1, r = jvmref, junkref(str, r, st), r1 ' = [] ∨ (∃ fs. fs ' ∈ instfields(st[r -- _type] .type .class) ∧ is_referencevalue(st[r -- fs ']) ∧ r1 ' .first = st[r -- fs '] .refval ∧ validrefs(str, r1 ', fs .type, st))
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ mkclasstype(class1) ≤ mkclasstype(class2) ↔ class1 ≤ class2], [CSIMPSEQ : ⊦ class ≤ class])], [EXTRATERMS : (st, mkclasstype(class), r1 ', r, str)]]