moving a first Quickcheck example with many computations into a separate session Quickcheck_Benchmark
authorbulwahn
Tue, 24 Jul 2012 12:36:59 +0200
changeset 48490 1959baa22632
parent 48489 aff95a0212d8
child 48491 6f2bcc0a16e0
moving a first Quickcheck example with many computations into a separate session Quickcheck_Benchmark
src/HOL/IsaMakefile
src/HOL/Quickcheck_Benchmark/Find_Unused_Assms_Examples.thy
src/HOL/Quickcheck_Benchmark/ROOT.ML
src/HOL/Quickcheck_Examples/Find_Unused_Assms_Examples.thy
--- a/src/HOL/IsaMakefile	Tue Jul 24 08:12:15 2012 +0200
+++ b/src/HOL/IsaMakefile	Tue Jul 24 12:36:59 2012 +0200
@@ -82,6 +82,7 @@
 
 benchmark: \
   HOL-Datatype_Benchmark \
+  HOL-Quickcheck_Benchmark \
   HOL-Record_Benchmark
 
 images-no-smlnj: \
@@ -1509,8 +1510,8 @@
 HOL-Quickcheck_Examples: HOL $(LOG)/HOL-Quickcheck_Examples.gz
 
 $(LOG)/HOL-Quickcheck_Examples.gz: $(OUT)/HOL				\
+  Quickcheck_Examples/ROOT.ML						\
   Quickcheck_Examples/Completeness.thy					\
-  Quickcheck_Examples/Find_Unused_Assms_Examples.thy			\
   Quickcheck_Examples/Hotel_Example.thy					\
   Quickcheck_Examples/Needham_Schroeder_Base.thy			\
   Quickcheck_Examples/Needham_Schroeder_No_Attacker_Example.thy		\
@@ -1816,6 +1817,15 @@
 	@$(ISABELLE_TOOL) usedir $(OUT)/HOL Record_Benchmark
 
 
+## HOL-Quickcheck_Benchmark
+
+HOL-Quickcheck_Benchmark: HOL $(LOG)/HOL-Quickcheck_Benchmark.gz
+
+$(LOG)/HOL-Quickcheck_Benchmark.gz: $(OUT)/HOL				\
+  Quickcheck_Benchmark/ROOT.ML						\
+  Quickcheck_Benchmark/Find_Unused_Assms_Examples.thy
+	@$(ISABELLE_TOOL) usedir $(OUT)/HOL Quickcheck_Benchmark
+
 
 ## clean
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/HOL/Quickcheck_Benchmark/Find_Unused_Assms_Examples.thy	Tue Jul 24 12:36:59 2012 +0200
@@ -0,0 +1,28 @@
+theory Find_Unused_Assms_Examples
+imports Complex_Main
+begin
+
+section {* Arithmetics *}
+
+declare [[quickcheck_finite_types = false]]
+
+find_unused_assms Divides
+find_unused_assms GCD
+find_unused_assms RealDef
+find_unused_assms RComplete
+
+section {* Set Theory *}
+
+declare [[quickcheck_finite_types = true]]
+
+find_unused_assms Fun
+find_unused_assms Relation
+find_unused_assms Set
+find_unused_assms Wellfounded
+
+section {* Datatypes *}
+
+find_unused_assms List
+find_unused_assms Map
+
+end
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/HOL/Quickcheck_Benchmark/ROOT.ML	Tue Jul 24 12:36:59 2012 +0200
@@ -0,0 +1,1 @@
+use_thys ["Find_Unused_Assms_Examples"]
--- a/src/HOL/Quickcheck_Examples/Find_Unused_Assms_Examples.thy	Tue Jul 24 08:12:15 2012 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-theory Find_Unused_Assms_Examples
-imports Complex_Main
-begin
-
-section {* Arithmetics *}
-
-declare [[quickcheck_finite_types = false]]
-
-find_unused_assms Divides
-find_unused_assms GCD
-find_unused_assms RealDef
-find_unused_assms RComplete
-
-section {* Set Theory *}
-
-declare [[quickcheck_finite_types = true]]
-
-find_unused_assms Fun
-find_unused_assms Relation
-find_unused_assms Set
-find_unused_assms Wellfounded
-
-section {* Datatypes *}
-
-find_unused_assms List
-find_unused_assms Map
-
-end