| st[jvmref -- mkfs(class1, ty, fieldvar) '] = refval(r0), jvmref -- mkfs(class1, ty, fieldvar) ' ∈ st, initdone(class0, st), is_predefined_class(class), newref(r, st), compatmode(str, st), compatrefs(str, st), mkfs(class1, ty, fieldvar) ' ∈ statfields(class0), jvmref ∈ st, 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), class∃(str, class0) ∨ interface∃(str, class0), ∀ sk. sk ∈ statfields(class0) → jvmref -- sk ∈ st ∧ is_fskey(sk) ∧ compat(str, st[jvmref -- sk], sk .fs .type, st) ⊦ 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[jvmref -- mkfs(class1, ty, fieldvar) '] = refval(r0), jvmref -- mkfs(class1, ty, fieldvar) ' ∈ st, initdone(class0, st), is_predefined_class(class), newref(r, st), compatmode(str, st), compatrefs(str, st), mkfs(class1, ty, fieldvar) ' ∈ statfields(class0), jvmref ∈ st, 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), class∃(str, class0) ∨ interface∃(str, class0), ∀ sk. sk ∈ statfields(class0) → jvmref -- sk ∈ st ∧ is_fskey(sk) ∧ compat(str, st[jvmref -- sk], sk .fs .type, st) ⊦ 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)]]