src/HOL/TPTP/ATP_Problem_Import.thy
author wenzelm
Fri, 18 Aug 2017 20:47:47 +0200
changeset 66453 cc19f7ca2ed6
parent 64561 a7664ca9ffc5
child 69605 a96320074298
permissions -rw-r--r--
session-qualified theory imports: isabelle imports -U -i -d '~~/src/Benchmarks' -a;
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
63167
0909deb8059b isabelle update_cartouches -c -t;
wenzelm
parents: 58889
diff changeset
     5
section \<open>ATP Problem Importer\<close>
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
66453
cc19f7ca2ed6 session-qualified theory imports: isabelle imports -U -i -d '~~/src/Benchmarks' -a;
wenzelm
parents: 64561
diff changeset
     8
imports Complex_Main TPTP_Interpret "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
63167
0909deb8059b isabelle update_cartouches -c -t;
wenzelm
parents: 58889
diff changeset
    13
ML \<open>Proofterm.proofs := 0\<close>
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" *}
64561
a7664ca9ffc5 updated CASC instructions + tuning
blanchet
parents: 63167
diff changeset
    25
ML {* ATP_Problem_Import.isabelle_hot_tptp_file @{theory} 20 "$TPTP/Problems/SYO/SYO304^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