| st[_mode] = return(refval(r0), ty), compatrefs(str, st), compatstatic(str, st), _mode ∈ st, newref(r, st), is_predefined_class(class), okval(refval(r0), ty), r0 ≠ jvmref → r0 -- _type ∈ st ∧ is_typevalue(st[r0 -- _type]) ∧ is_reftype(st[r0 -- _type] .type) ∧ (has_classtype(st[r0 -- _type] .type) → tdname+∃(str, st[r0 -- _type] .type .jtelemtype .class)) ∧ (is_classtype(st[r0 -- _type] .type) → class+∃(str, st[r0 -- _type] .type .class)) ∧ is_subtype(str, st[r0 -- _type] .type, ty) ⊦ r = jvmref, return(refval(r0), ty) = return(noval, void_type), compat(str, refval(r0), ty, st[r -- _type, typeval(mkclasstype(class))]) |
⊦ compat(str, val, ty, st) ↔ okval(val, ty) ∧ ( is_referencevalue(val) ∧ val .refval ≠ jvmref → val .refval -- _type ∈ st ∧ is_typevalue(st[val .refval -- _type]) ∧ is_reftype(st[val .refval -- _type] .type) ∧ (has_classtype(st[val .refval -- _type] .type) → tdname+∃(str, st[val .refval -- _type] .type .jtelemtype .class)) ∧ (is_classtype(st[val .refval -- _type] .type) → class+∃(str, st[val .refval -- _type] .type .class)) ∧ asgcomp(str, val, ty, st))
st[_mode] = return(refval(r0), ty), compatrefs(str, st), compatstatic(str, st), _mode ∈ st, newref(r, st), is_predefined_class(class), okval(refval(r0), ty), r0 ≠ jvmref → r0 -- _type ∈ st ∧ is_typevalue(st[r0 -- _type]) ∧ is_reftype(st[r0 -- _type] .type) ∧ (has_classtype(st[r0 -- _type] .type) → tdname+∃(str, st[r0 -- _type] .type .jtelemtype .class)) ∧ (is_classtype(st[r0 -- _type] .type) → class+∃(str, st[r0 -- _type] .type .class)) ∧ is_subtype(str, st[r0 -- _type] .type, ty) ⊦ r = jvmref, return(refval(r0), ty) = return(noval, void_type), okval(refval(r0), ty) ∧ ( is_referencevalue(refval(r0)) ∧ refval(r0) .refval ≠ jvmref → refval(r0) .refval -- _type ∈ st[r -- _type, typeval(mkclasstype(class))] ∧ is_typevalue(st[r -- _type, typeval(mkclasstype(class))][refval(r0) .refval -- _type]) ∧ is_reftype((st[r -- _type, typeval(mkclasstype(class))][refval(r0) .refval -- _type]) .type) ∧ ( has_classtype((st[r -- _type, typeval(mkclasstype(class))][refval(r0) .refval -- _type]) .type) → tdname+∃(str, (st[r -- _type, typeval(mkclasstype(class))][refval(r0) .refval -- _type]) .type .jtelemtype .class)) ∧ ( is_classtype((st[r -- _type, typeval(mkclasstype(class))][refval(r0) .refval -- _type]) .type) → class+∃(str, (st[r -- _type, typeval(mkclasstype(class))][refval(r0) .refval -- _type]) .type .class)) ∧ asgcomp(str, refval(r0), ty, st[r -- _type, typeval(mkclasstype(class))]))
[[CONCRETESIMPRULES : ()], [EXTRATERMS : (st[r -- _type, typeval(mkclasstype(class))], ty, refval(r0), str)]]