| is_obj(str, r, st), st[r -- _type] .type = mkclasstype(class0), st[r -- mkfs(class, ty, fieldvar) '] = refval(r0), is_obj(str, r, st), mkfs(class, ty, fieldvar) ' ∈ instfields(class0), unchanged(str, r, st, st0) ⊦ r = jvmref, r0 = jvmref, unchanged(str, r0, st, st0), ∃ fs. fs ' ∈ instfields(st[r -- _type] .type .class) ∧ is_referencevalue(st[r -- fs ']) ∧ st[r -- fs '] .refval ≠ jvmref ∧ (¬ st[st[r -- fs '] .refval -- _type] .type ≤ fs .type ∨ junkref(str, st[r -- fs '] .refval, st)), st[r0 -- _type] .type ≤ ty ∧ is_valid_ref(str, r0, st) |
st[r -- mkfs(class, ty, fieldvar) '] = refval(r0), st[r -- _type] .type = mkclasstype(class0), unchanged(str, r, st, st0), mkfs(class, ty, fieldvar) ' ∈ instfields(class0), is_obj(str, r, st) ⊦ r0 = jvmref, r = jvmref, unchanged(str, r0, st, st0), st[r0 -- _type] .type ≤ ty ∧ is_valid_ref(str, r0, st), ∃ fs. fs ' ∈ instfields(class0) ∧ is_referencevalue(st[r -- fs ']) ∧ st[r -- fs '] .refval ≠ jvmref ∧ (¬ st[st[r -- fs '] .refval -- _type] .type ≤ fs .type ∨ junkref(str, st[r -- fs '] .refval, st))
[[CONCRETESIMPRULES : ([CSIMPNAMEDSEQ : javatype, , sel-02, ⊦ mkclasstype(class) .class = class])]]