src/FOLP/classical.ML
changeset 4653 d60f76680bf4
parent 4440 9ed4098074bc
child 15570 8d8c70b41bab
equal deleted inserted replaced
4652:d24cca140eeb 4653:d60f76680bf4
    39   val addIs : claset * thm list -> claset
    39   val addIs : claset * thm list -> claset
    40   val addSDs: claset * thm list -> claset
    40   val addSDs: claset * thm list -> claset
    41   val addSEs: claset * thm list -> claset
    41   val addSEs: claset * thm list -> claset
    42   val addSIs: claset * thm list -> claset
    42   val addSIs: claset * thm list -> claset
    43   val print_cs: claset -> unit
    43   val print_cs: claset -> unit
    44   val rep_claset: claset -> 
    44   val rep_cs: claset -> 
    45       {safeIs: thm list, safeEs: thm list, hazIs: thm list, hazEs: thm list, 
    45       {safeIs: thm list, safeEs: thm list, hazIs: thm list, hazEs: thm list, 
    46        safe0_brls:(bool*thm)list, safep_brls: (bool*thm)list,
    46        safe0_brls:(bool*thm)list, safep_brls: (bool*thm)list,
    47        haz_brls: (bool*thm)list}
    47        haz_brls: (bool*thm)list}
    48   val best_tac : claset -> int -> tactic
    48   val best_tac : claset -> int -> tactic
    49   val contr_tac : int -> tactic
    49   val contr_tac : int -> tactic
   100         (*the following are computed from the above*)
   100         (*the following are computed from the above*)
   101         safe0_brls: (bool*thm)list,
   101         safe0_brls: (bool*thm)list,
   102         safep_brls: (bool*thm)list,
   102         safep_brls: (bool*thm)list,
   103         haz_brls: (bool*thm)list};
   103         haz_brls: (bool*thm)list};
   104   
   104   
   105 fun rep_claset (CS x) = x;
   105 fun rep_cs (CS x) = x;
   106 
   106 
   107 (*For use with biresolve_tac.  Combines intrs with swap to catch negated
   107 (*For use with biresolve_tac.  Combines intrs with swap to catch negated
   108   assumptions.  Also pairs elims with true. *)
   108   assumptions.  Also pairs elims with true. *)
   109 fun joinrules (intrs,elims) =  
   109 fun joinrules (intrs,elims) =  
   110   map (pair true) (elims @ swapify intrs)  @  map (pair false) intrs;
   110   map (pair true) (elims @ swapify intrs)  @  map (pair false) intrs;