new thms, really demos of the final coalgebra theorem
authorpaulson
Tue, 28 Apr 1998 13:52:18 +0200
changeset 4841 d275fd349f3d
parent 4840 b8f2ec739530
child 4842 0afcae75b34a
new thms, really demos of the final coalgebra theorem
src/ZF/Coind/Map.ML
--- a/src/ZF/Coind/Map.ML	Tue Apr 28 13:51:39 1998 +0200
+++ b/src/ZF/Coind/Map.ML	Tue Apr 28 13:52:18 1998 +0200
@@ -6,6 +6,32 @@
 
 open Map;
 
+(** Some sample proofs of inclusions for the final coalgebra "U" (by lcp) **)
+
+
+goalw Map.thy [TMap_def]
+     "{0,1} <= {1} Un TMap(I, {0,1})";
+by (Blast_tac 1);
+result();
+
+goalw Map.thy [TMap_def]
+     "{0} Un TMap(I,1) <= {1} Un TMap(I, {0} Un TMap(I,1))";
+by (Blast_tac 1);
+result();
+
+goalw Map.thy [TMap_def]
+     "{0,1} Un TMap(I,2) <= {1} Un TMap(I, {0,1} Un TMap(I,2))";
+by (Blast_tac 1);
+result();
+
+goalw Map.thy [TMap_def]
+     "{0,1} Un TMap(I,TMap(I,2)) Un TMap(I,2) <= \
+\     {1} Un TMap(I, {0,1} Un TMap(I,TMap(I,2)) Un TMap(I,2))";
+(*twice as fast as Blast_tac alone*)
+by (Safe_tac THEN ALLGOALS Blast_tac);
+result();
+
+
 (* ############################################################ *)
 (* Lemmas                                                       *)
 (* ############################################################ *)
@@ -132,7 +158,7 @@
 qed "pmap_domainD";
 
 (* ############################################################ *)
-(* Equalitites                                                  *)
+(* Equalities                                                   *)
 (* ############################################################ *)
 
 (** Domain **)