Structure tailrecLib


Source File Identifier index Theory binding index

signature tailrecLib =
sig

    include Abbrev

    val mk_sum_term : term -> hol_type -> term -> term

    val tailrec_define         : string -> term -> thm
    val prove_tailrec_exists   : term -> thm

end

(* [mk_sum_term fnt inty t] generates an abstraction term c that can be an
   argument to TAILREC (or TAILCALL) such that ("roughly")

     TAILCALL c fnt x = fnt x

   The argument inty is type of the argument to fnt (x above)
*)


Source File Identifier index Theory binding index

HOL 4, Trindemossen-1