tuned signature;
authorwenzelm
Sat, 03 Sep 2022 23:10:38 +0200
changeset 76051 854e9223767f
parent 76050 f1dc3d9d5164
child 76052 6a20d0ebd5b3
child 76058 d45a45eb1aee
tuned signature;
src/HOL/Library/conditional_parametricity.ML
src/Pure/goal.ML
src/Pure/tactical.ML
--- a/src/HOL/Library/conditional_parametricity.ML	Sat Sep 03 22:25:22 2022 +0200
+++ b/src/HOL/Library/conditional_parametricity.ML	Sat Sep 03 23:10:38 2022 +0200
@@ -110,8 +110,7 @@
 (* Tactics  *)
 (* helper tactics for printing *)
 fun error_tac ctxt msg st =
-  (error(msg ^ "\n" ^ Pretty.string_of (Pretty.chunks (Goal_Display.pretty_goals ctxt st)));
-  Seq.single st);
+  (error (msg ^ "\n" ^ Goal_Display.string_of_goal ctxt st); Seq.single st);
 
 fun error_tac' ctxt msg = SELECT_GOAL (error_tac ctxt msg);
 
--- a/src/Pure/goal.ML	Sat Sep 03 22:25:22 2022 +0200
+++ b/src/Pure/goal.ML	Sat Sep 03 23:10:38 2022 +0200
@@ -80,8 +80,7 @@
 *)
 fun check_finished ctxt th =
   if Thm.no_prems th then th
-  else
-    raise THM ("Proof failed.\n" ^ Pretty.string_of (Goal_Display.pretty_goal ctxt th), 0, [th]);
+  else raise THM ("Proof failed.\n" ^ Goal_Display.string_of_goal ctxt th, 0, [th]);
 
 fun finish ctxt = check_finished ctxt #> conclude;
 
--- a/src/Pure/tactical.ML	Sat Sep 03 22:25:22 2022 +0200
+++ b/src/Pure/tactical.ML	Sat Sep 03 23:10:38 2022 +0200
@@ -176,8 +176,7 @@
 
 (*Print the current proof state and pass it on.*)
 fun print_tac ctxt msg st =
- (tracing (msg ^ "\n" ^ Pretty.string_of (Pretty.chunks (Goal_Display.pretty_goals ctxt st)));
-  Seq.single st);
+  (tracing (msg ^ "\n" ^ Goal_Display.string_of_goal ctxt st); Seq.single st);
 
 
 (*Deterministic REPEAT: only retains the first outcome;