| st[r0 -- _type] = typeval(mkclasstype(class0)), class+∃(str, class0), r0 ∈ st, r0 -- _type ∈ st, compatstatic(str, st), compatmode(str, st), newref(r, st), is_predefined_class(class), compatobj(str, r0, st) ⊦ r0 = jvmref, r = jvmref, compatobj(str, r0, addobj(r, class, [], st)) |
⊦ compatobj(str, r, st) ↔ is_classtype(st[r -- _type] .type) ∧ class+∃(str, st[r -- _type] .type .class) ∧ compatfields(str, r, instfields(st[r -- _type] .type .class), st)
st[r0 -- _type] = typeval(mkclasstype(class0)), class+∃(str, class0), r0 ∈ st, r0 -- _type ∈ st, compatstatic(str, st), compatmode(str, st), newref(r, st), is_predefined_class(class), compatobj(str, r0, st) ⊦ r0 = jvmref, r = jvmref, is_classtype((addobj(r, class, [], st)[r0 -- _type]) .type) ∧ class+∃(str, (addobj(r, class, [], st)[r0 -- _type]) .type .class) ∧ compatfields(str, r0, instfields((addobj(r, class, [], st)[r0 -- _type]) .type .class), addobj(r, class, [], st))
[[CONCRETESIMPRULES : ()], [EXTRATERMS : (addobj(r, class, [], st), r0, str)]]