| compatmode(str, st), compatstatic(str, st), compatrefs(str, st), class ≤ `java.lang.Throwable' .class ⊦ r = jvmref, r -- _type ∈ st ∧ is_typevalue(st[r -- _type]) ∧ is_reftype(st[r -- _type] .type) ∧ (has_classtype(st[r -- _type] .type) → tdname+∃(str, st[r -- _type] .type .jtelemtype .class)) ∧ (is_classtype(st[r -- _type] .type) → class+∃(str, st[r -- _type] .type .class)) ∧ asgcomp(str, refval(r), mkclasstype(class), st[_mode, throw(r, mkclasstype(class))]) ∧ tdname+∃(str, class) ↔ okval(refval(r), mkclasstype(class)) ∧ ( is_referencevalue(refval(r)) ∧ refval(r) .refval ≠ jvmref → refval(r) .refval -- _type ∈ st ∧ is_typevalue(st[refval(r) .refval -- _type]) ∧ is_reftype(st[refval(r) .refval -- _type] .type) ∧ (has_classtype(st[refval(r) .refval -- _type] .type) → tdname+∃(str, st[refval(r) .refval -- _type] .type .jtelemtype .class)) ∧ (is_classtype(st[refval(r) .refval -- _type] .type) → class+∃(str, st[refval(r) .refval -- _type] .type .class)) ∧ asgcomp(str, refval(r), mkclasstype(class), st)) |
compatmode(str, st), compatstatic(str, st), compatrefs(str, st), class ≤ `java.lang.Throwable' .class, r -- _type ∈ st, is_typevalue(st[r -- _type]), is_reftype(st[r -- _type] .type), r ∈ st, is_classtype(st[r -- _type] .type) → class+∃(str, st[r -- _type] .type .class) ⊦ r = jvmref, (has_classtype(st[r -- _type] .type) → tdname+∃(str, st[r -- _type] .type .jtelemtype .class)) ∧ asgcomp(str, refval(r), mkclasstype(class), st[_mode, throw(r, mkclasstype(class))]) ∧ tdname+∃(str, class) ↔ ( has_classtype(st[r -- _type] .type) → class∃(str, st[r -- _type] .type .jtelemtype .class) ∨ interface∃(str, st[r -- _type] .type .jtelemtype .class) ∨ is_predefined_class(st[r -- _type] .type .jtelemtype .class)) ∧ is_subtype(str, st[r -- _type] .type, mkclasstype(class))
[[CONCRETESIMPRULES : ([CSIMPFORWARD : ⊦ r -- sk ∈ st → r ∈ st], [CSIMPSEQ : ⊦ asgcomp(str, val, ty, st) ↔ ¬ is_referencevalue(val) ∨ val .refval = jvmref ∨ is_subtype (str, st[val .refval -- _type] .type, ty)], [CSIMPSEQ : ⊦ tdname∃(str, class) ↔ class∃(str, class) ∨ interface∃(str, class)], [CSIMPSEQ : ⊦ tdname+∃(str, class) ↔ tdname∃(str, class) ∨ is_predefined_class(class)], [CSIMPSEQ : ⊦ refval(r) .refval = r], [CSIMPSEQ : ⊦ is_referencevalue(refval(r))], [CSIMPSEQ : ⊦ is_reftype(mkclasstype(class))], [CSIMPSEQ : ⊦ mkclasstype(class) ≠ void_type], [CSIMPSEQ : ⊦ okval(refval(r), ty) ↔ ty = void_type ∨ is_reftype(ty)])]]