Structure hhTranslate


Source File Identifier index Theory binding index

signature hhTranslate =
sig

include Abbrev

  val is_tptp_fv : term -> bool
  val is_tptp_bv : term -> bool
  val is_app : term -> bool
  val atoms : term -> term list
  val must_pred : term -> bool

  (* new definitions using free variables *)
  val ATOM_CONV     : conv -> conv
  val LIFT_CONV     : int ref -> conv
  val RPT_LIFT_CONV : int ref -> term -> thm list

  (* inserting apply operators *)
  val APP_CONV_ONCE      : conv
  val APP_CONV_STRIPCOMB : conv
  val APP_CONV_BV        : conv
  val APP_CONV_BV_REC    : conv
  val APP_CONV_MAX       : conv
  val APP_CONV_MAX_REC   : conv

  (* translation *)
  val translate_nocache : term -> term
  val translate : term -> term
  val translate_thm : thm -> term

  (* arity equations *)
  val strip_type : hol_type -> (hol_type list * hol_type)
  val collect_arity_noapp : term -> (term * int) list
  val mk_arity_eq : (term * int) -> term


end


Source File Identifier index Theory binding index

HOL 4, Trindemossen-1