adding quickcheck example with THE
authorbulwahn
Thu, 26 Jan 2012 12:04:05 +0100
changeset 46337 54227223a8d4
parent 46336 39fe503602fb
child 46338 b02ff6b17599
adding quickcheck example with THE
src/HOL/ex/Quickcheck_Examples.thy
--- a/src/HOL/ex/Quickcheck_Examples.thy	Thu Jan 26 12:03:35 2012 +0100
+++ b/src/HOL/ex/Quickcheck_Examples.thy	Thu Jan 26 12:04:05 2012 +0100
@@ -279,6 +279,14 @@
 (* FIXME: missing instance for narrowing -- quickcheck[expect = counterexample] *)
 oops
 
+subsection {* Examples with the descriptive operator *}
+
+lemma
+  "(THE x. x = a) = b"
+quickcheck[random, expect = counterexample]
+quickcheck[exhaustive, expect = counterexample]
+oops
+
 subsection {* Examples with Multisets *}
 
 lemma