| is_predefined_class(class), newref(r, st), compatmode(str, st[_mode], st), _mode ∈ st, compatstatic(str, st), compatrefs(str, st) ⊦ st[_mode] = return(noval, void_type), st[_mode] = noval, r = jvmref, is_break_mode(st[_mode]), is_return_mode(st[_mode]) ∧ compat(str, st[_mode] .val, st[_mode] .type, st[r -- _type, typeval(mkclasstype(class))]), is_throw_mode(st[_mode]) ∧ st[_mode] .refval ≠ jvmref ∧ compat(str, refval(st[_mode] .refval), st[_mode] .type, st[r -- _type, typeval(mkclasstype(class))]) ∧ st[_mode] .type ≤ mkclasstype(`java.lang.Throwable' .class) ∧ ( has_classtype(st[_mode] .type) → class∃(str, st[_mode] .type .jtelemtype .class) ∨ interface∃(str, st[_mode] .type .jtelemtype .class) ∨ is_predefined_class(st[_mode] .type .jtelemtype .class)) |
⊦ compatmode(str, val, st) ↔ val = noval ∨ is_break_mode(val) ∨ val = return(noval, void_type) ∨ is_return_mode(val) ∧ compat(str, val .val, val .type, st) ∨ is_throw_mode(val) ∧ val .refval ≠ jvmref ∧ compat(str, refval(val .refval), val .type, st) ∧ is_subtype(str, val .type, mkclasstype(`java.lang.Throwable' .class))
is_predefined_class(class), newref(r, st), st[_mode] = noval ∨ is_break_mode(st[_mode]) ∨ st[_mode] = return(noval, void_type) ∨ is_return_mode(st[_mode]) ∧ compat(str, st[_mode] .val, st[_mode] .type, st) ∨ is_throw_mode(st[_mode]) ∧ st[_mode] .refval ≠ jvmref ∧ compat(str, refval(st[_mode] .refval), st[_mode] .type, st) ∧ is_subtype(str, st[_mode] .type, mkclasstype(`java.lang.Throwable' .class)), _mode ∈ st, compatstatic(str, st), compatrefs(str, st) ⊦ st[_mode] = return(noval, void_type), st[_mode] = noval, r = jvmref, is_break_mode(st[_mode]), is_return_mode(st[_mode]) ∧ compat(str, st[_mode] .val, st[_mode] .type, st[r -- _type, typeval(mkclasstype(class))]), is_throw_mode(st[_mode]) ∧ st[_mode] .refval ≠ jvmref ∧ compat(str, refval(st[_mode] .refval), st[_mode] .type, st[r -- _type, typeval(mkclasstype(class))]) ∧ st[_mode] .type ≤ mkclasstype(`java.lang.Throwable' .class) ∧ ( has_classtype(st[_mode] .type) → class∃(str, st[_mode] .type .jtelemtype .class) ∨ interface∃(str, st[_mode] .type .jtelemtype .class) ∨ is_predefined_class(st[_mode] .type .jtelemtype .class))
[[CONCRETESIMPRULES : ()], [EXTRATERMS : (st, st[_mode], str)]]