src/HOL/TPTP/ATP_Problem_Import.thy
author wenzelm
Wed, 19 Aug 2015 16:21:10 +0200
changeset 60975 5f3d6e16ea78
parent 58889 5b7a9633cfa8
child 63167 0909deb8059b
permissions -rw-r--r--
avoid ambiguities on native Windows, such as / vs. /cygdrive/c/cygwin;
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
58889
5b7a9633cfa8 modernized header uniformly as section;
wenzelm
parents: 57812
diff changeset
     5
section {* 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
57812
8dc9dc241973 make TPTP tools work on polymorphic (TFF1) problems as well
blanchet
parents: 52487
diff changeset
     8
imports Complex_Main TPTP_Interpret "~~/src/HOL/Library/Refute"
46324
e4bccf5ec61e added problem importer
blanchet
parents:
diff changeset
     9
begin
e4bccf5ec61e added problem importer
blanchet
parents:
diff changeset
    10
48891
c0eafbd55de3 prefer ML_file over old uses;
wenzelm
parents: 47812
diff changeset
    11
ML_file "sledgehammer_tactics.ML"
c0eafbd55de3 prefer ML_file over old uses;
wenzelm
parents: 47812
diff changeset
    12
52487
48bc24467008 backout dedd7952a62c: static "proofs" value within theory prevents later inferencing with different configuration;
wenzelm
parents: 52470
diff changeset
    13
ML {* Proofterm.proofs := 0 *}
47765
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
48891
c0eafbd55de3 prefer ML_file over old uses;
wenzelm
parents: 47812
diff changeset
    21
ML_file "atp_problem_import.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
    22
47785
d27bb852c430 more tweaking of TPTP/CASC setup
blanchet
parents: 47770
diff changeset
    23
(*
57812
8dc9dc241973 make TPTP tools work on polymorphic (TFF1) problems as well
blanchet
parents: 52487
diff changeset
    24
ML {* ATP_Problem_Import.isabelle_tptp_file @{theory} 50 "$TPTP/Problems/PUZ/PUZ107^5.p" *}
47785
d27bb852c430 more tweaking of TPTP/CASC setup
blanchet
parents: 47770
diff changeset
    25
*)
d27bb852c430 more tweaking of TPTP/CASC setup
blanchet
parents: 47770
diff changeset
    26
46324
e4bccf5ec61e added problem importer
blanchet
parents:
diff changeset
    27
end