Inductive definitions are now introduced earlier in the theory hierarchy.
authorberghofe
Tue, 22 May 2001 15:10:06 +0200
changeset 11325 a5e0289dd56c
parent 11324 82406bd816a5
child 11326 680ebd093cfe
Inductive definitions are now introduced earlier in the theory hierarchy.
src/HOL/Inductive.thy
src/HOL/Nat.thy
--- a/src/HOL/Inductive.thy	Tue May 22 09:26:57 2001 +0200
+++ b/src/HOL/Inductive.thy	Tue May 22 15:10:06 2001 +0200
@@ -6,7 +6,7 @@
 Setup packages for inductive sets and types etc.
 *)
 
-theory Inductive = Gfp + Sum_Type + NatDef
+theory Inductive = Gfp + Sum_Type + Relation
 files
   ("Tools/induct_method.ML")
   ("Tools/inductive_package.ML")
@@ -82,11 +82,4 @@
   Ball_def Bex_def
   inductive_rulify2
 
-
-(*belongs to theory Transitive_Closure*)
-declare rtrancl_induct [induct set: rtrancl]
-declare rtranclE [cases set: rtrancl]
-declare trancl_induct [induct set: trancl]
-declare tranclE [cases set: trancl]
-
 end
--- a/src/HOL/Nat.thy	Tue May 22 09:26:57 2001 +0200
+++ b/src/HOL/Nat.thy	Tue May 22 15:10:06 2001 +0200
@@ -6,7 +6,7 @@
 and * (for div, mod and dvd, see theory Divides).
 *)
 
-Nat = NatDef + Inductive +
+Nat = NatDef +
 
 (* type "nat" is a wellfounded linear order, and a datatype *)