src/HOL/ATP.thy
author blanchet
Tue May 31 16:38:36 2011 +0200 (2011-05-31)
changeset 43085 0a2f5b86bdd7
parent 40178 00152d17855b
child 43108 eb1e31eb7449
permissions -rw-r--r--
first step in sharing more code between ATP and Metis translation
     1 (*  Title:      HOL/ATP.thy
     2     Author:     Fabian Immler, TU Muenchen
     3     Author:     Jasmin Blanchette, TU Muenchen
     4 *)
     5 
     6 header {* Automatic Theorem Provers (ATPs) *}
     7 
     8 theory ATP
     9 imports Meson
    10 uses "Tools/ATP/atp_util.ML"
    11      "Tools/ATP/atp_problem.ML"
    12      "Tools/ATP/atp_proof.ML"
    13      "Tools/ATP/atp_systems.ML"
    14      ("Tools/ATP/atp_translate.ML")
    15      ("Tools/ATP/atp_reconstruct.ML")
    16 begin
    17 
    18 subsection {* Higher-order reasoning helpers *}
    19 
    20 definition fFalse :: bool where [no_atp]:
    21 "fFalse \<longleftrightarrow> False"
    22 
    23 definition fTrue :: bool where [no_atp]:
    24 "fTrue \<longleftrightarrow> True"
    25 
    26 definition fNot :: "bool \<Rightarrow> bool" where [no_atp]:
    27 "fNot P \<longleftrightarrow> \<not> P"
    28 
    29 definition fconj :: "bool \<Rightarrow> bool \<Rightarrow> bool" where [no_atp]:
    30 "fconj P Q \<longleftrightarrow> P \<and> Q"
    31 
    32 definition fdisj :: "bool \<Rightarrow> bool \<Rightarrow> bool" where [no_atp]:
    33 "fdisj P Q \<longleftrightarrow> P \<or> Q"
    34 
    35 definition fimplies :: "bool \<Rightarrow> bool \<Rightarrow> bool" where [no_atp]:
    36 "fimplies P Q \<longleftrightarrow> (P \<longrightarrow> Q)"
    37 
    38 definition fequal :: "'a \<Rightarrow> 'a \<Rightarrow> bool" where [no_atp]:
    39 "fequal x y \<longleftrightarrow> (x = y)"
    40 
    41 
    42 subsection {* Setup *}
    43 
    44 use "Tools/ATP/atp_translate.ML"
    45 use "Tools/ATP/atp_reconstruct.ML"
    46 
    47 setup ATP_Systems.setup
    48 
    49 end