TFL/rules.sig
author paulson
Thu May 22 15:13:16 1997 +0200 (1997-05-22)
changeset 3302 404fe31fd8d2
parent 3245 241838c01caf
child 3353 9112a2efb9a3
permissions -rw-r--r--
New headers and other minor changes
paulson@3302
     1
(*  Title:      TFL/rules
paulson@3302
     2
    ID:         $Id$
paulson@3302
     3
    Author:     Konrad Slind, Cambridge University Computer Laboratory
paulson@3302
     4
    Copyright   1997  University of Cambridge
paulson@3302
     5
paulson@3302
     6
Emulation of HOL inference rules for TFL
paulson@3302
     7
*)
paulson@3302
     8
paulson@2112
     9
signature Rules_sig =
paulson@2112
    10
sig
paulson@2112
    11
(*  structure USyntax : USyntax_sig *)
paulson@2112
    12
  type 'a binding
paulson@2112
    13
paulson@3245
    14
  val dest_thm : thm -> term list * term
paulson@2112
    15
paulson@2112
    16
  (* Inference rules *)
paulson@3245
    17
  val REFL      :cterm -> thm
paulson@3245
    18
  val ASSUME    :cterm -> thm
paulson@3245
    19
  val MP        :thm -> thm -> thm
paulson@3245
    20
  val MATCH_MP  :thm -> thm -> thm
paulson@3245
    21
  val CONJUNCT1 :thm -> thm
paulson@3245
    22
  val CONJUNCT2 :thm -> thm
paulson@3245
    23
  val CONJUNCTS :thm -> thm list
paulson@3245
    24
  val DISCH     :cterm -> thm -> thm
paulson@3245
    25
  val UNDISCH   :thm  -> thm
paulson@3245
    26
  val INST_TYPE :typ binding list -> thm -> thm
paulson@3245
    27
  val SPEC      :cterm -> thm -> thm
paulson@3245
    28
  val ISPEC     :cterm -> thm -> thm
paulson@3245
    29
  val ISPECL    :cterm list -> thm -> thm
paulson@3245
    30
  val GEN       :cterm -> thm -> thm
paulson@3245
    31
  val GENL      :cterm list -> thm -> thm
paulson@3245
    32
  val LIST_CONJ :thm list -> thm
paulson@2112
    33
paulson@3245
    34
  val SYM : thm -> thm
paulson@3245
    35
  val DISCH_ALL : thm -> thm
paulson@3245
    36
  val FILTER_DISCH_ALL : (term -> bool) -> thm -> thm
paulson@3245
    37
  val SPEC_ALL  : thm -> thm
paulson@3245
    38
  val GEN_ALL   : thm -> thm
paulson@3245
    39
  val IMP_TRANS : thm -> thm -> thm
paulson@3245
    40
  val PROVE_HYP : thm -> thm -> thm
paulson@2112
    41
paulson@3245
    42
  val CHOOSE : cterm * thm -> thm -> thm
paulson@3245
    43
  val EXISTS : cterm * cterm -> thm -> thm
paulson@3245
    44
  val EXISTL : cterm list -> thm -> thm
paulson@3245
    45
  val IT_EXISTS : cterm binding list -> thm -> thm
paulson@2112
    46
paulson@3245
    47
  val EVEN_ORS : thm list -> thm list
paulson@3245
    48
  val DISJ_CASESL : thm -> thm list -> thm
paulson@2112
    49
paulson@3245
    50
  val SUBS : thm list -> thm -> thm
paulson@3245
    51
  val simplify : thm list -> thm -> thm
paulson@3245
    52
  val simpl_conv : thm list -> cterm -> thm
paulson@2112
    53
paulson@2112
    54
(* For debugging my isabelle solver in the conditional rewriter *)
paulson@2112
    55
(*
paulson@3245
    56
  val term_ref : term list ref
paulson@3245
    57
  val thm_ref : thm list ref
paulson@2112
    58
  val mss_ref : meta_simpset list ref
paulson@2112
    59
  val tracing :bool ref
paulson@2112
    60
*)
paulson@3245
    61
  val CONTEXT_REWRITE_RULE : term * term
paulson@3245
    62
                             -> {thms:thm list,congs: thm list, th:thm} 
paulson@3245
    63
                             -> thm * term list
paulson@3245
    64
  val RIGHT_ASSOC : thm -> thm 
paulson@2112
    65
paulson@3245
    66
  val prove : cterm * tactic -> thm
paulson@2112
    67
end;