Structure smlExecute


Source File Identifier index Theory binding index

signature smlExecute =
sig

  include Abbrev

  (* execution function *)
  val exec_sml         : string -> string -> bool

  (* tests *)
  val is_stype         : string -> bool
  val is_thm           : string -> bool
  val is_tactic        : string -> bool
  val is_string        : string -> bool
  val is_pointer_eq    : string -> string -> bool

  (* global references used by readers *)
  val sml_bool_glob     : bool ref
  val sml_tacticl_glob  : tactic list ref
  val sml_tactic_glob   : tactic ref
  val sml_string_glob   : string ref
  val sml_goal_glob     : goal ref
  val sml_thm_glob      : thm ref
  val sml_thml_glob     : thm list ref
  val metistac_glob     : (thm list -> tactic) option ref

  (* readers *)
  val thm_of_sml       : string -> (string * thm) option
  val thml_of_sml      : string list -> (string * thm) list option
  val tactic_of_sml    : string -> tactic
  val string_of_sml    : string -> string
  val goal_of_sml      : string -> goal
  val metistac_of_sml  : unit -> unit

  (* applying a tactic string *)
  val app_stac   : real -> string -> goal -> goal list option

end


Source File Identifier index Theory binding index

HOL 4, Kananaskis-13