inst : (hol_type,hol_type)subst -> term -> term
inst [{redex_1, residue_1},...,{redex_n, residue_n}] tm
- show_types := true; > val it = () : unit - inst [alpha |-> Type`:num`] (Term`(x:'a) = (x:'a)`) > val it = `(x :num) = x` : term - inst [bool |-> Type`:num`] (Term`x:bool`); > val it = `(x :bool)` : term - inst [alpha |-> bool] (mk_abs(Term`x:bool`,Term`x:'a`)) > val it = `\(x' :bool). (x :bool)` : term