src/HOL/TPTP/ATP_Problem_Import.thy
author wenzelm
Sat, 28 Jul 2012 20:36:25 +0200
changeset 48589 fb446a780d50
parent 47812 bb477988edb4
child 48891 c0eafbd55de3
permissions -rw-r--r--
separate session HOL-Mirabelle-ex -- cannot run isolated shell scripts within build tool;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
46324
e4bccf5ec61e added problem importer
blanchet
parents:
diff changeset
     1
(*  Title:      HOL/TPTP/ATP_Problem_Import.thy
e4bccf5ec61e added problem importer
blanchet
parents:
diff changeset
     2
    Author:     Jasmin Blanchette, TU Muenchen
e4bccf5ec61e added problem importer
blanchet
parents:
diff changeset
     3
*)
e4bccf5ec61e added problem importer
blanchet
parents:
diff changeset
     4
e4bccf5ec61e added problem importer
blanchet
parents:
diff changeset
     5
header {* ATP Problem Importer *}
47812
bb477988edb4 use Nitpick as an oracle for finite problems
blanchet
parents: 47794
diff changeset
     6
46324
e4bccf5ec61e added problem importer
blanchet
parents:
diff changeset
     7
theory ATP_Problem_Import
47557
32f35b3d9e42 started integrating Nik's parser into TPTP command-line tools
blanchet
parents: 46324
diff changeset
     8
imports Complex_Main TPTP_Interpret
47790
2e1636e45770 move file to where it belongs
blanchet
parents: 47788
diff changeset
     9
uses "sledgehammer_tactics.ML"
47794
4ad62c5f9f88 thread theory cleanly and use "smt" method rather than Sledgehammer for Z3 (because of obscure debilitating bug)
blanchet
parents: 47790
diff changeset
    10
     ("atp_problem_import.ML")
46324
e4bccf5ec61e added problem importer
blanchet
parents:
diff changeset
    11
begin
e4bccf5ec61e added problem importer
blanchet
parents:
diff changeset
    12
47765
18f37b7aa6a6 more work on CASC setup
blanchet
parents: 47714
diff changeset
    13
ML {* Proofterm.proofs := 0 *}
18f37b7aa6a6 more work on CASC setup
blanchet
parents: 47714
diff changeset
    14
47670
24babc4b1925 added timeout argument to TPTP tools
blanchet
parents: 47557
diff changeset
    15
declare [[show_consts]] (* for Refute *)
47765
18f37b7aa6a6 more work on CASC setup
blanchet
parents: 47714
diff changeset
    16
declare [[smt_oracle]]
47670
24babc4b1925 added timeout argument to TPTP tools
blanchet
parents: 47557
diff changeset
    17
47794
4ad62c5f9f88 thread theory cleanly and use "smt" method rather than Sledgehammer for Z3 (because of obscure debilitating bug)
blanchet
parents: 47790
diff changeset
    18
declare [[unify_search_bound = 60]]
4ad62c5f9f88 thread theory cleanly and use "smt" method rather than Sledgehammer for Z3 (because of obscure debilitating bug)
blanchet
parents: 47790
diff changeset
    19
declare [[unify_trace_bound = 60]]
4ad62c5f9f88 thread theory cleanly and use "smt" method rather than Sledgehammer for Z3 (because of obscure debilitating bug)
blanchet
parents: 47790
diff changeset
    20
4ad62c5f9f88 thread theory cleanly and use "smt" method rather than Sledgehammer for Z3 (because of obscure debilitating bug)
blanchet
parents: 47790
diff changeset
    21
use "atp_problem_import.ML"
4ad62c5f9f88 thread theory cleanly and use "smt" method rather than Sledgehammer for Z3 (because of obscure debilitating bug)
blanchet
parents: 47790
diff changeset
    22
47785
d27bb852c430 more tweaking of TPTP/CASC setup
blanchet
parents: 47770
diff changeset
    23
(*
47794
4ad62c5f9f88 thread theory cleanly and use "smt" method rather than Sledgehammer for Z3 (because of obscure debilitating bug)
blanchet
parents: 47790
diff changeset
    24
ML {* ATP_Problem_Import.isabelle_tptp_file @{theory} 50
4ad62c5f9f88 thread theory cleanly and use "smt" method rather than Sledgehammer for Z3 (because of obscure debilitating bug)
blanchet
parents: 47790
diff changeset
    25
          "$TPTP/Problems/PUZ/PUZ107^5.p" *}
47785
d27bb852c430 more tweaking of TPTP/CASC setup
blanchet
parents: 47770
diff changeset
    26
*)
d27bb852c430 more tweaking of TPTP/CASC setup
blanchet
parents: 47770
diff changeset
    27
46324
e4bccf5ec61e added problem importer
blanchet
parents:
diff changeset
    28
end