SUBS_OCCS : (int list * thm) list -> thm -> thm
(l1,A1|-t1=v1) ... (ln,An|-tn=vn) A|-t ------------------------------------------- SUBS_OCCS[(l1,A1|-t1=v1),..., A1 u ... An u A |- t[v1,...,vn/t1,...,tn] (ln,An|-tn=vn)] (A|-t)
- val thm = SPECL [Term `m:num`, Term`n:num`] arithmeticTheory.ADD_SYM; > val thm = |- m + n = n + m : thm
- SUBS_OCCS [([2],thm)] (ASSUME (Term `(n + m) + (m + n) = (m + n) + (m + n)`)); > val it = [.] |- n + m + (m + n) = n + m + (m + n) : thm