aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMakarius Wenzel2002-01-14 16:52:51 +0000
committerMakarius Wenzel2002-01-14 16:52:51 +0000
commite75758c4f574017be99ed5a83d44e4f5c6cc1640 (patch)
treece95fe75d849eccafa2dd7d726857f644746f973
parent13f4c795630b1071b749ae78b82a94f12d3973fe (diff)
some test cases for trace_simp output;
-rw-r--r--etc/isar/trace_simp.thy17
1 files changed, 17 insertions, 0 deletions
diff --git a/etc/isar/trace_simp.thy b/etc/isar/trace_simp.thy
new file mode 100644
index 00000000..5a675346
--- /dev/null
+++ b/etc/isar/trace_simp.thy
@@ -0,0 +1,17 @@
+
+theory trace_simp = Main:
+
+(* this produces massive amount of simplifier trace, but terminates
+ eventually: *)
+
+ML {* set trace_simp *}
+ML {* reset quick_and_dirty *}
+
+datatype ord = Zero | Succ ord | Limit "nat => ord"
+
+
+(* this one loops forever *)
+
+lemma "ALL x. f x = g(f(g(x))) ==> f [] = f [] @ []"
+ apply simp
+