| validrefs(str, st[r -- i '] .refval ' + refs, st[r -- _type] .type .type, st), is_referencevalue(st[r -- i ']), i < st[r -- _length] .intval, is_array(str, r, st), 0 < st[r -- _length] .intval, 0 ≤ i, is_valid_ref(str, st[r -- i '] .refval, st), st[st[r -- i '] .refval -- _type] .type ≤ st[r -- _type] .type .type ⊦ r = (st[r -- i '] .refval ' + refs) .last, st[r -- i '] .refval = jvmref, path∃(str, st[r -- i '] .refval, (st[r -- i '] .refval ' + refs) .last, st) |
⊦ path∃(str, r, r0, st) ↔ (∃ refs. refs ≠ [] ∧ refs .first = r ∧ refs .last = r0 ∧ validrefs(str, refs, st[r -- _type] .type, st))
validrefs(str, st[r -- i '] .refval ' + refs, st[r -- _type] .type .type, st), is_referencevalue(st[r -- i ']), i < st[r -- _length] .intval, is_array(str, r, st), 0 < st[r -- _length] .intval, 0 ≤ i, is_valid_ref(str, st[r -- i '] .refval, st), st[st[r -- i '] .refval -- _type] .type ≤ st[r -- _type] .type .type ⊦ r = (st[r -- i '] .refval ' + refs) .last, st[r -- i '] .refval = jvmref, ∃ refs0. refs0 ≠ [] ∧ refs0 .first = st[r -- i '] .refval ∧ refs0 .last = (st[r -- i '] .refval ' + refs) .last ∧ validrefs(str, refs0, st[st[r -- i '] .refval -- _type] .type, st)
[[CONCRETESIMPRULES : ()], [EXTRATERMS : (st, (st[r -- i '] .refval ' + refs) .last, st[r -- i '] .refval, str)]]