qualified name Pure.skip_proof;
authorwenzelm
Sat, 23 Apr 2005 19:51:04 +0200
changeset 15831 aa58e4ec3a1f
parent 15830 74d8412b1a27
child 15832 df958c7afe50
qualified name Pure.skip_proof;
src/Pure/Isar/skip_proof.ML
--- a/src/Pure/Isar/skip_proof.ML	Sat Apr 23 19:50:51 2005 +0200
+++ b/src/Pure/Isar/skip_proof.ML	Sat Apr 23 19:51:04 2005 +0200
@@ -29,22 +29,19 @@
 
 (* oracle setup *)
 
-val skip_proofN = "skip_proof";
-
 exception SkipProof of term;
 
 fun skip_proof (_, SkipProof t) =
   if ! quick_and_dirty then t
   else error "Proof may be skipped in quick_and_dirty mode only!";
 
-val _ = Context.add_setup
- [PureThy.global_path, Theory.add_oracle (skip_proofN, skip_proof), PureThy.local_path];
+val _ = Context.add_setup [Theory.add_oracle ("skip_proof", skip_proof)];
 
 
 (* basic cheating *)
 
 fun make_thm thy t =
-  Thm.invoke_oracle_i thy skip_proofN (Theory.sign_of thy, SkipProof t);
+  Thm.invoke_oracle_i thy "Pure.skip_proof" (Theory.sign_of thy, SkipProof t);
 
 fun cheat_tac thy st =
   ALLGOALS (Tactic.rtac (make_thm thy (Var (("A", 0), propT)))) st;