| is_obj(str, r, st), st[r0 -- _type] .type = mkclasstype(class), st[r -- mkfs(class0, ty0, fieldvar) '] = refval(r1), validrefs(str, r1 ' + refs, ty0, st), junkref(str, r1, st), is_obj(str, r, st[r0 -- fs ', val]), is_classtype(st[r -- _type] .type), is_obj(str, r, st), st[r -- _type] .type ≤ ty, mkfs(class0, ty0, fieldvar) ' ∈ instfields(st[r -- _type] .type .class), r ≠ r0 ∨ mkfs(class0, ty0, fieldvar) ≠ fs ⊦ r = jvmref, fs ' = _type, dups((r1 ' + refs) .butlast), r ∈ (r1 ' + refs) .butlast, validrefs(str, r1 ' + refs, ty0, st[r0 -- fs ', val]), fs ' ∈ instfields(class), ∃ 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)), junkref(str, r, st[r0 -- fs ', val]) |
⊦ validrefs(str, jvmref ' + refs, ty, st) ↔ refs = []
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ (refs + refs0) + refs1 = refs + refs0 + refs1], [CSIMPSEQ : ⊦ mkfs(class, ty, fieldvar) .type = ty], [CSIMPSEQ : ⊦ is_referencevalue(refval(r))], [CSIMPSEQ : ⊦ refval(r) .refval = r], [CSIMPSEQ : ⊦ ¬ junkref(str, jvmref, st)])], [EXTRATERMS : (mkfs(class0, ty0, fieldvar))]]