more precise warning
authorblanchet
Mon, 22 Aug 2011 15:02:45 +0200
changeset 44395 d39aedffba08
parent 44394 20bd9f90accc
child 44396 66b9b3fcd608
more precise warning
src/HOL/Tools/Nitpick/nitpick.ML
--- a/src/HOL/Tools/Nitpick/nitpick.ML	Mon Aug 22 15:02:45 2011 +0200
+++ b/src/HOL/Tools/Nitpick/nitpick.ML	Mon Aug 22 15:02:45 2011 +0200
@@ -928,8 +928,10 @@
                  forall (KK.is_problem_trivially_false o fst)
                         sound_problems then
                 print_n (fn () =>
-                    "Warning: The conjecture either trivially holds for the \
-                    \given scopes or lies outside Nitpick's supported \
+                    "Warning: The conjecture " ^
+                    (if falsify then "either trivially holds"
+                     else "is either trivially unsatisfiable") ^
+                    " for the given scopes or lies outside Nitpick's supported \
                     \fragment." ^
                     (if exists (not o KK.is_problem_trivially_false o fst)
                                unsound_problems then