Structure GrammarSpecials


Source File Identifier index Theory binding index

signature GrammarSpecials =
sig

  val fnapp_special : string
  val bracket_special : string
  val vs_cons_special : string
  val resquan_special : string
  val let_special : string
  val letcons_special : string
  val letnil_special : string
  val and_special : string
  val fakeconst_special : string
  val mk_fakeconst_name :
      {original : KernelSig.kernelname option, fake : string} -> string
  val dest_fakeconst_name :
      string -> {original : KernelSig.kernelname option, fake : string} option
  val decimal_fraction_special : string

  (* special strings for records *)
  val recsel_special : string
  val recupd_special : string
  val recfupd_special : string
  val reccons_special : string
  val recnil_special : string
  val recwith_special : string

  val std_binder_precedence : int

  val nat_elim_term : string
  val fromNum_str : string
  val num_injection : string
  val mk_lform_name : {cons:string,nilstr:string} -> string
  val term_name_is_lform : string -> bool
  val recd_lform_name : string

  val mk_stringinjn_name : string -> string
  val std_stringinjn_name : string (* above applied to "\"" *)
  val string_elim_term : string

  (* handling case expressions *)
  val mk_case_special : string -> string
  val dest_case_special : string -> string option
  val is_case_special : string -> bool
  val core_case_special : string
  val case_split_special : string
  val case_arrow_special : string

  val set_case_specials :
      ((Term.term -> Term.term) *
       ({Thy:string,Tyop:string} -> Term.term list)) -> unit
  val compile_pattern_match : Term.term -> Term.term
  val type_constructors : {Thy:string,Tyop:string} -> Term.term list
  val case_initialised : unit -> bool


end


Source File Identifier index Theory binding index

HOL 4, Kananaskis-14