src/HOL/Tools/Sledgehammer/sledgehammer_isar.ML
changeset 41087 d7b5fd465198
parent 40941 a3e6f8634a11
child 41134 de9e0adc21da
equal deleted inserted replaced
41086:b4cccce25d9a 41087:d7b5fd465198
     4 Adds "sledgehammer" and related commands to Isabelle/Isar's outer syntax.
     4 Adds "sledgehammer" and related commands to Isabelle/Isar's outer syntax.
     5 *)
     5 *)
     6 
     6 
     7 signature SLEDGEHAMMER_ISAR =
     7 signature SLEDGEHAMMER_ISAR =
     8 sig
     8 sig
     9   type params = Sledgehammer.params
     9   type params = Sledgehammer_Provers.params
    10 
    10 
    11   val auto : bool Unsynchronized.ref
    11   val auto : bool Unsynchronized.ref
    12   val provers : string Unsynchronized.ref
    12   val provers : string Unsynchronized.ref
    13   val timeout : int Unsynchronized.ref
    13   val timeout : int Unsynchronized.ref
    14   val full_types : bool Unsynchronized.ref
    14   val full_types : bool Unsynchronized.ref
    19 structure Sledgehammer_Isar : SLEDGEHAMMER_ISAR =
    19 structure Sledgehammer_Isar : SLEDGEHAMMER_ISAR =
    20 struct
    20 struct
    21 
    21 
    22 open ATP_Systems
    22 open ATP_Systems
    23 open Sledgehammer_Util
    23 open Sledgehammer_Util
    24 open Sledgehammer
    24 open Sledgehammer_Provers
    25 open Sledgehammer_Minimize
    25 open Sledgehammer_Minimize
       
    26 open Sledgehammer_Run
    26 
    27 
    27 val auto = Unsynchronized.ref false
    28 val auto = Unsynchronized.ref false
    28 
    29 
    29 val _ =
    30 val _ =
    30   ProofGeneralPgip.add_preference Preferences.category_tracing
    31   ProofGeneralPgip.add_preference Preferences.category_tracing