author | paulson |
Tue, 04 Oct 2005 09:59:01 +0200 | |
changeset 17746 | af59c748371d |
parent 17717 | 7c6a96cbc966 |
child 17764 | fde495b9e24b |
permissions | -rw-r--r-- |
15608 | 1 |
(* Author: Jia Meng, Cambridge University Computer Laboratory |
2 |
ID: $Id$ |
|
3 |
Copyright 2004 University of Cambridge |
|
15347 | 4 |
|
5 |
ATPs with TPTP format input. |
|
6 |
*) |
|
15452 | 7 |
|
16802
6eeee59dac4c
use Toplevel.print_state_hook instead of adhoc Proof.atp_hook;
wenzelm
parents:
16767
diff
changeset
|
8 |
signature RES_ATP = |
6eeee59dac4c
use Toplevel.print_state_hook instead of adhoc Proof.atp_hook;
wenzelm
parents:
16767
diff
changeset
|
9 |
sig |
17306 | 10 |
val prover: string ref |
16802
6eeee59dac4c
use Toplevel.print_state_hook instead of adhoc Proof.atp_hook;
wenzelm
parents:
16767
diff
changeset
|
11 |
val custom_spass: string list ref |
17484
f6a225f97f0a
simplification of the Isabelle-ATP code; hooks for batch generation of problems
paulson
parents:
17435
diff
changeset
|
12 |
val destdir: string ref |
17150
ce2a1aeb42aa
DFG output now works for untyped rules (ML "ResClause.untyped();")
quigley
parents:
17091
diff
changeset
|
13 |
val hook_count: int ref |
17484
f6a225f97f0a
simplification of the Isabelle-ATP code; hooks for batch generation of problems
paulson
parents:
17435
diff
changeset
|
14 |
val problem_name: string ref |
17690
8ba7c3cd24a8
time limit option; fixed bug concerning first line of ATP output
paulson
parents:
17525
diff
changeset
|
15 |
val time_limit: int ref |
15347 | 16 |
end; |
17 |
||
16802
6eeee59dac4c
use Toplevel.print_state_hook instead of adhoc Proof.atp_hook;
wenzelm
parents:
16767
diff
changeset
|
18 |
structure ResAtp: RES_ATP = |
15347 | 19 |
struct |
20 |
||
17150
ce2a1aeb42aa
DFG output now works for untyped rules (ML "ResClause.untyped();")
quigley
parents:
17091
diff
changeset
|
21 |
val call_atp = ref false; |
ce2a1aeb42aa
DFG output now works for untyped rules (ML "ResClause.untyped();")
quigley
parents:
17091
diff
changeset
|
22 |
val hook_count = ref 0; |
17690
8ba7c3cd24a8
time limit option; fixed bug concerning first line of ATP output
paulson
parents:
17525
diff
changeset
|
23 |
val time_limit = ref 60; |
17150
ce2a1aeb42aa
DFG output now works for untyped rules (ML "ResClause.untyped();")
quigley
parents:
17091
diff
changeset
|
24 |
|
17404
d16c3a62c396
the experimental tagging system, and the usual tidying
paulson
parents:
17317
diff
changeset
|
25 |
val prover = ref "E"; (* use E as the default prover *) |
17305
6cef3aedd661
axioms now included in tptp files, no /bin/cat and various tidying
paulson
parents:
17235
diff
changeset
|
26 |
val custom_spass = (*specialized options for SPASS*) |
17690
8ba7c3cd24a8
time limit option; fixed bug concerning first line of ATP output
paulson
parents:
17525
diff
changeset
|
27 |
ref ["-Auto=0","-FullRed=0","-IORe","-IOFc","-RTaut","-RFSub","-RBSub"]; |
15347 | 28 |
|
17484
f6a225f97f0a
simplification of the Isabelle-ATP code; hooks for batch generation of problems
paulson
parents:
17435
diff
changeset
|
29 |
val destdir = ref ""; (*Empty means write files to /tmp*) |
f6a225f97f0a
simplification of the Isabelle-ATP code; hooks for batch generation of problems
paulson
parents:
17435
diff
changeset
|
30 |
val problem_name = ref "prob"; |
f6a225f97f0a
simplification of the Isabelle-ATP code; hooks for batch generation of problems
paulson
parents:
17435
diff
changeset
|
31 |
|
17717 | 32 |
fun probfile_nosuffix _ = |
17484
f6a225f97f0a
simplification of the Isabelle-ATP code; hooks for batch generation of problems
paulson
parents:
17435
diff
changeset
|
33 |
if !destdir = "" then File.platform_path (File.tmp_path (Path.basic (!problem_name))) |
f6a225f97f0a
simplification of the Isabelle-ATP code; hooks for batch generation of problems
paulson
parents:
17435
diff
changeset
|
34 |
else if File.exists (File.unpack_platform_path (!destdir)) |
f6a225f97f0a
simplification of the Isabelle-ATP code; hooks for batch generation of problems
paulson
parents:
17435
diff
changeset
|
35 |
then !destdir ^ "/" ^ !problem_name |
f6a225f97f0a
simplification of the Isabelle-ATP code; hooks for batch generation of problems
paulson
parents:
17435
diff
changeset
|
36 |
else error ("No such directory: " ^ !destdir); |
15644 | 37 |
|
17717 | 38 |
fun prob_pathname n = probfile_nosuffix n ^ "_" ^ Int.toString n; |
39 |
||
16802
6eeee59dac4c
use Toplevel.print_state_hook instead of adhoc Proof.atp_hook;
wenzelm
parents:
16767
diff
changeset
|
40 |
|
15347 | 41 |
(**** For running in Isar ****) |
42 |
||
15608 | 43 |
(* same function as that in res_axioms.ML *) |
44 |
fun repeat_RS thm1 thm2 = |
|
45 |
let val thm1' = thm1 RS thm2 handle THM _ => thm1 |
|
46 |
in |
|
16802
6eeee59dac4c
use Toplevel.print_state_hook instead of adhoc Proof.atp_hook;
wenzelm
parents:
16767
diff
changeset
|
47 |
if eq_thm(thm1,thm1') then thm1' else (repeat_RS thm1' thm2) |
15608 | 48 |
end; |
49 |
||
50 |
(* a special version of repeat_RS *) |
|
17717 | 51 |
fun repeat_someI_ex th = repeat_RS th someI_ex; |
15608 | 52 |
|
16925
0fd7b1438d28
simpler variable names, and no types for monomorphic constants
paulson
parents:
16904
diff
changeset
|
53 |
|
17502 | 54 |
(* write out a subgoal as tptp clauses to the file "xxxx_N"*) |
17717 | 55 |
fun tptp_inputs_tfrees thms pf n (axclauses,classrel_clauses,arity_clauses) = |
16802
6eeee59dac4c
use Toplevel.print_state_hook instead of adhoc Proof.atp_hook;
wenzelm
parents:
16767
diff
changeset
|
56 |
let |
6eeee59dac4c
use Toplevel.print_state_hook instead of adhoc Proof.atp_hook;
wenzelm
parents:
16767
diff
changeset
|
57 |
val clss = map (ResClause.make_conjecture_clause_thm) thms |
6eeee59dac4c
use Toplevel.print_state_hook instead of adhoc Proof.atp_hook;
wenzelm
parents:
16767
diff
changeset
|
58 |
val (tptp_clss,tfree_litss) = ListPair.unzip (map ResClause.clause2tptp clss) |
17422 | 59 |
val tfree_clss = map ResClause.tfree_clause (ResLib.flat_noDup tfree_litss) |
17525
ae5bb6001afb
tidying, and support for axclass/classrel clauses
paulson
parents:
17502
diff
changeset
|
60 |
val classrel_cls = map ResClause.tptp_classrelClause classrel_clauses |
ae5bb6001afb
tidying, and support for axclass/classrel clauses
paulson
parents:
17502
diff
changeset
|
61 |
val arity_cls = map ResClause.tptp_arity_clause arity_clauses |
17717 | 62 |
val out = TextIO.openOut(pf n) |
15608 | 63 |
in |
17305
6cef3aedd661
axioms now included in tptp files, no /bin/cat and various tidying
paulson
parents:
17235
diff
changeset
|
64 |
ResLib.writeln_strs out (List.concat (map ResClause.tptp_clause axclauses)); |
17525
ae5bb6001afb
tidying, and support for axclass/classrel clauses
paulson
parents:
17502
diff
changeset
|
65 |
ResLib.writeln_strs out (tfree_clss @ tptp_clss @ classrel_cls @ arity_cls); |
17717 | 66 |
TextIO.closeOut out |
15608 | 67 |
end; |
15452 | 68 |
|
17502 | 69 |
(* write out a subgoal in DFG format to the file "xxxx_N"*) |
17717 | 70 |
fun dfg_inputs_tfrees thms pf n (axclauses,classrel_clauses,arity_clauses) = |
17150
ce2a1aeb42aa
DFG output now works for untyped rules (ML "ResClause.untyped();")
quigley
parents:
17091
diff
changeset
|
71 |
let val clss = map (ResClause.make_conjecture_clause_thm) thms |
17525
ae5bb6001afb
tidying, and support for axclass/classrel clauses
paulson
parents:
17502
diff
changeset
|
72 |
(*FIXME: classrel_clauses and arity_clauses*) |
ae5bb6001afb
tidying, and support for axclass/classrel clauses
paulson
parents:
17502
diff
changeset
|
73 |
val probN = ResClause.clauses2dfg clss (!problem_name ^ "_" ^ Int.toString n) |
17422 | 74 |
axclauses [] [] [] |
17717 | 75 |
val out = TextIO.openOut(pf n) |
16767 | 76 |
in |
17717 | 77 |
ResLib.writeln_strs out [probN]; TextIO.closeOut out |
17150
ce2a1aeb42aa
DFG output now works for untyped rules (ML "ResClause.untyped();")
quigley
parents:
17091
diff
changeset
|
78 |
end; |
ce2a1aeb42aa
DFG output now works for untyped rules (ML "ResClause.untyped();")
quigley
parents:
17091
diff
changeset
|
79 |
|
16357 | 80 |
|
15644 | 81 |
(*********************************************************************) |
17306 | 82 |
(* call prover with settings and problem file for the current subgoal *) |
15644 | 83 |
(*********************************************************************) |
16357 | 84 |
(* now passing in list of skolemized thms and list of sgterms to go with them *) |
17422 | 85 |
fun watcher_call_provers sign sg_terms (childin, childout,pid) = |
16802
6eeee59dac4c
use Toplevel.print_state_hook instead of adhoc Proof.atp_hook;
wenzelm
parents:
16767
diff
changeset
|
86 |
let |
17422 | 87 |
fun make_atp_list [] n = [] |
17717 | 88 |
| make_atp_list (sg_term::xs) n = |
16802
6eeee59dac4c
use Toplevel.print_state_hook instead of adhoc Proof.atp_hook;
wenzelm
parents:
16767
diff
changeset
|
89 |
let |
17746 | 90 |
val goalstring = Sign.string_of_term sign sg_term |
16904 | 91 |
val _ = debug ("goalstring in make_atp_lists is " ^ goalstring) |
17717 | 92 |
val probfile = prob_pathname n |
17690
8ba7c3cd24a8
time limit option; fixed bug concerning first line of ATP output
paulson
parents:
17525
diff
changeset
|
93 |
val time = Int.toString (!time_limit) |
17502 | 94 |
val _ = debug ("problem file in watcher_call_provers is " ^ probfile) |
16802
6eeee59dac4c
use Toplevel.print_state_hook instead of adhoc Proof.atp_hook;
wenzelm
parents:
16767
diff
changeset
|
95 |
in |
17317
3f12de2e2e6e
Isabelle-ATP link: sortable axiom names; no spaces in switches; general tidying
paulson
parents:
17306
diff
changeset
|
96 |
(*Avoid command arguments containing spaces: Poly/ML and SML/NJ |
3f12de2e2e6e
Isabelle-ATP link: sortable axiom names; no spaces in switches; general tidying
paulson
parents:
17306
diff
changeset
|
97 |
versions of Unix.execute treat them differently!*) |
17306 | 98 |
if !prover = "spass" |
16802
6eeee59dac4c
use Toplevel.print_state_hook instead of adhoc Proof.atp_hook;
wenzelm
parents:
16767
diff
changeset
|
99 |
then |
17306 | 100 |
let val optionline = |
17484
f6a225f97f0a
simplification of the Isabelle-ATP code; hooks for batch generation of problems
paulson
parents:
17435
diff
changeset
|
101 |
if !AtpCommunication.reconstruct |
17306 | 102 |
(*Proof reconstruction works for only a limited set of |
103 |
inference rules*) |
|
17690
8ba7c3cd24a8
time limit option; fixed bug concerning first line of ATP output
paulson
parents:
17525
diff
changeset
|
104 |
then space_implode "%" (!custom_spass) ^ |
8ba7c3cd24a8
time limit option; fixed bug concerning first line of ATP output
paulson
parents:
17525
diff
changeset
|
105 |
"%-DocProof%-TimeLimit=" ^ time |
8ba7c3cd24a8
time limit option; fixed bug concerning first line of ATP output
paulson
parents:
17525
diff
changeset
|
106 |
else "-DocProof%-SOS%-FullRed=0%-TimeLimit=" ^ time (*Auto mode*) |
16904 | 107 |
val _ = debug ("SPASS option string is " ^ optionline) |
16897 | 108 |
val _ = ResLib.helper_path "SPASS_HOME" "SPASS" |
109 |
(*We've checked that SPASS is there for ATP/spassshell to run.*) |
|
110 |
in |
|
17422 | 111 |
([("spass", goalstring, |
16897 | 112 |
getenv "ISABELLE_HOME" ^ "/src/HOL/Tools/ATP/spassshell", |
17422 | 113 |
optionline, probfile)] @ |
114 |
(make_atp_list xs (n+1))) |
|
16802
6eeee59dac4c
use Toplevel.print_state_hook instead of adhoc Proof.atp_hook;
wenzelm
parents:
16767
diff
changeset
|
115 |
end |
17306 | 116 |
else if !prover = "vampire" |
17235
8e55ad29b690
Added ECommunication.ML and modified res_atp.ML, Reconstruction.thy, and
quigley
parents:
17234
diff
changeset
|
117 |
then |
17435 | 118 |
let val vampire = ResLib.helper_path "VAMPIRE_HOME" "vampire" |
16802
6eeee59dac4c
use Toplevel.print_state_hook instead of adhoc Proof.atp_hook;
wenzelm
parents:
16767
diff
changeset
|
119 |
in |
17690
8ba7c3cd24a8
time limit option; fixed bug concerning first line of ATP output
paulson
parents:
17525
diff
changeset
|
120 |
([("vampire", goalstring, vampire, "-m 100000%-t " ^ time, probfile)] @ |
17435 | 121 |
(make_atp_list xs (n+1))) (*BEWARE! spaces in options!*) |
16802
6eeee59dac4c
use Toplevel.print_state_hook instead of adhoc Proof.atp_hook;
wenzelm
parents:
16767
diff
changeset
|
122 |
end |
17306 | 123 |
else if !prover = "E" |
124 |
then |
|
125 |
let val Eprover = ResLib.helper_path "E_HOME" "eproof" |
|
126 |
in |
|
17422 | 127 |
([("E", goalstring, Eprover, |
17690
8ba7c3cd24a8
time limit option; fixed bug concerning first line of ATP output
paulson
parents:
17525
diff
changeset
|
128 |
"--tptp-in%-l5%-xAuto%-tAuto%--cpu-limit=" ^ time, |
17422 | 129 |
probfile)] @ |
130 |
(make_atp_list xs (n+1))) |
|
17306 | 131 |
end |
132 |
else error ("Invalid prover name: " ^ !prover) |
|
16802
6eeee59dac4c
use Toplevel.print_state_hook instead of adhoc Proof.atp_hook;
wenzelm
parents:
16767
diff
changeset
|
133 |
end |
15452 | 134 |
|
17422 | 135 |
val atp_list = make_atp_list sg_terms 1 |
16802
6eeee59dac4c
use Toplevel.print_state_hook instead of adhoc Proof.atp_hook;
wenzelm
parents:
16767
diff
changeset
|
136 |
in |
6eeee59dac4c
use Toplevel.print_state_hook instead of adhoc Proof.atp_hook;
wenzelm
parents:
16767
diff
changeset
|
137 |
Watcher.callResProvers(childout,atp_list); |
17422 | 138 |
debug "Sent commands to watcher!" |
16802
6eeee59dac4c
use Toplevel.print_state_hook instead of adhoc Proof.atp_hook;
wenzelm
parents:
16767
diff
changeset
|
139 |
end |
16357 | 140 |
|
17717 | 141 |
(*We write out problem files for each subgoal. Argument pf generates filenames, |
142 |
and allows the suppression of the suffix "_1" in problem-generation mode.*) |
|
143 |
fun write_problem_files pf (ctxt,th) = |
|
144 |
let val prems = Thm.prems_of th |
|
145 |
val (clause_arr, axclauses) = ResClasimp.get_clasimp_lemmas ctxt (hd prems) |
|
146 |
(*FIXME: hack!! need to consider relevance for all prems*) |
|
147 |
val _ = debug ("claset and simprules total clauses = " ^ |
|
148 |
Int.toString (Array.length clause_arr)) |
|
149 |
val thy = ProofContext.theory_of ctxt |
|
150 |
val classrel_clauses = ResTypesSorts.classrel_clauses_thy thy |
|
151 |
val _ = debug ("classrel clauses = " ^ Int.toString (length classrel_clauses)) |
|
152 |
val arity_clauses = ResTypesSorts.arity_clause_thy thy |
|
153 |
val _ = debug ("arity clauses = " ^ Int.toString (length arity_clauses)) |
|
154 |
val write = if !prover = "spass" then dfg_inputs_tfrees else tptp_inputs_tfrees |
|
155 |
fun writenext n = |
|
156 |
if n=0 then () |
|
157 |
else |
|
158 |
(SELECT_GOAL |
|
159 |
(EVERY1 [rtac ccontr, ObjectLogic.atomize_tac, skolemize_tac, |
|
160 |
METAHYPS(fn negs => |
|
161 |
(write (make_clauses negs) pf n |
|
162 |
(axclauses,classrel_clauses,arity_clauses); |
|
163 |
writenext (n-1); |
|
164 |
all_tac))]) n th; |
|
165 |
()) |
|
166 |
in writenext (length prems); clause_arr end; |
|
15644 | 167 |
|
17502 | 168 |
val last_watcher_pid = ref (NONE : Posix.Process.pid option); |
17484
f6a225f97f0a
simplification of the Isabelle-ATP code; hooks for batch generation of problems
paulson
parents:
17435
diff
changeset
|
169 |
|
17525
ae5bb6001afb
tidying, and support for axclass/classrel clauses
paulson
parents:
17502
diff
changeset
|
170 |
|
ae5bb6001afb
tidying, and support for axclass/classrel clauses
paulson
parents:
17502
diff
changeset
|
171 |
(*writes out the current clasimpset to a tptp file; |
ae5bb6001afb
tidying, and support for axclass/classrel clauses
paulson
parents:
17502
diff
changeset
|
172 |
turns off xsymbol at start of function, restoring it at end *) |
17484
f6a225f97f0a
simplification of the Isabelle-ATP code; hooks for batch generation of problems
paulson
parents:
17435
diff
changeset
|
173 |
val isar_atp = setmp print_mode [] |
17717 | 174 |
(fn (ctxt, th) => |
175 |
if Thm.no_prems th then () |
|
16802
6eeee59dac4c
use Toplevel.print_state_hook instead of adhoc Proof.atp_hook;
wenzelm
parents:
16767
diff
changeset
|
176 |
else |
6eeee59dac4c
use Toplevel.print_state_hook instead of adhoc Proof.atp_hook;
wenzelm
parents:
16767
diff
changeset
|
177 |
let |
17502 | 178 |
val _ = (case !last_watcher_pid of NONE => () |
179 |
| SOME pid => (*FIXME: should kill ATP processes too; at least they time out*) |
|
180 |
(debug ("Killing old watcher, pid = " ^ |
|
181 |
Int.toString (ResLib.intOfPid pid)); |
|
182 |
Watcher.killWatcher pid)) |
|
183 |
handle OS.SysErr _ => debug "Attempt to kill watcher failed"; |
|
17717 | 184 |
val clause_arr = write_problem_files prob_pathname (ctxt,th) |
185 |
val (childin, childout, pid) = Watcher.createWatcher (th, clause_arr) |
|
15608 | 186 |
in |
17502 | 187 |
last_watcher_pid := SOME pid; |
17717 | 188 |
debug ("proof state: " ^ string_of_thm th); |
17488
67376a311a2b
further simplification of the Isabelle-ATP linkup
paulson
parents:
17484
diff
changeset
|
189 |
debug ("pid: " ^ Int.toString (ResLib.intOfPid pid)); |
17717 | 190 |
watcher_call_provers (sign_of_thm th) (Thm.prems_of th) (childin, childout, pid) |
16802
6eeee59dac4c
use Toplevel.print_state_hook instead of adhoc Proof.atp_hook;
wenzelm
parents:
16767
diff
changeset
|
191 |
end); |
15608 | 192 |
|
17422 | 193 |
val isar_atp_writeonly = setmp print_mode [] |
17717 | 194 |
(fn (ctxt,th) => |
195 |
if Thm.no_prems th then () |
|
196 |
else |
|
197 |
let val pf = if Thm.nprems_of th = 1 then probfile_nosuffix |
|
198 |
else prob_pathname |
|
199 |
in ignore (write_problem_files pf (ctxt,th)) end); |
|
15452 | 200 |
|
16357 | 201 |
|
16802
6eeee59dac4c
use Toplevel.print_state_hook instead of adhoc Proof.atp_hook;
wenzelm
parents:
16767
diff
changeset
|
202 |
(** the Isar toplevel hook **) |
6eeee59dac4c
use Toplevel.print_state_hook instead of adhoc Proof.atp_hook;
wenzelm
parents:
16767
diff
changeset
|
203 |
|
17091 | 204 |
val invoke_atp = Toplevel.unknown_proof o Toplevel.keep (fn state => |
16802
6eeee59dac4c
use Toplevel.print_state_hook instead of adhoc Proof.atp_hook;
wenzelm
parents:
16767
diff
changeset
|
205 |
let |
17091 | 206 |
val proof = Toplevel.proof_of state |
207 |
val (ctxt, (_, goal)) = Proof.get_goal proof |
|
208 |
handle Proof.STATE _ => error "No goal present"; |
|
16802
6eeee59dac4c
use Toplevel.print_state_hook instead of adhoc Proof.atp_hook;
wenzelm
parents:
16767
diff
changeset
|
209 |
val thy = ProofContext.theory_of ctxt; |
6eeee59dac4c
use Toplevel.print_state_hook instead of adhoc Proof.atp_hook;
wenzelm
parents:
16767
diff
changeset
|
210 |
in |
17091 | 211 |
debug ("initial thm in isar_atp: " ^ |
212 |
Pretty.string_of (ProofContext.pretty_thm ctxt goal)); |
|
213 |
debug ("subgoals in isar_atp: " ^ |
|
214 |
Pretty.string_of (ProofContext.pretty_term ctxt |
|
215 |
(Logic.mk_conjunction_list (Thm.prems_of goal)))); |
|
17525
ae5bb6001afb
tidying, and support for axclass/classrel clauses
paulson
parents:
17502
diff
changeset
|
216 |
debug ("number of subgoals in isar_atp: " ^ Int.toString (Thm.nprems_of goal)); |
17484
f6a225f97f0a
simplification of the Isabelle-ATP code; hooks for batch generation of problems
paulson
parents:
17435
diff
changeset
|
217 |
debug ("current theory: " ^ Context.theory_name thy); |
17150
ce2a1aeb42aa
DFG output now works for untyped rules (ML "ResClause.untyped();")
quigley
parents:
17091
diff
changeset
|
218 |
hook_count := !hook_count +1; |
17717 | 219 |
debug ("in hook for time: " ^ Int.toString (!hook_count)); |
16925
0fd7b1438d28
simpler variable names, and no types for monomorphic constants
paulson
parents:
16904
diff
changeset
|
220 |
ResClause.init thy; |
17690
8ba7c3cd24a8
time limit option; fixed bug concerning first line of ATP output
paulson
parents:
17525
diff
changeset
|
221 |
if !destdir = "" andalso !time_limit > 0 then isar_atp (ctxt, goal) |
17502 | 222 |
else isar_atp_writeonly (ctxt, goal) |
16802
6eeee59dac4c
use Toplevel.print_state_hook instead of adhoc Proof.atp_hook;
wenzelm
parents:
16767
diff
changeset
|
223 |
end); |
16357 | 224 |
|
17091 | 225 |
val call_atpP = |
17746 | 226 |
OuterSyntax.command |
17091 | 227 |
"ProofGeneral.call_atp" |
228 |
"call automatic theorem provers" |
|
229 |
OuterKeyword.diag |
|
230 |
(Scan.succeed (Toplevel.no_timing o invoke_atp)); |
|
231 |
||
232 |
val _ = OuterSyntax.add_parsers [call_atpP]; |
|
233 |
||
15347 | 234 |
end; |