more robust declaration of nat_induct;
authorwenzelm
Tue, 10 Jun 2008 21:49:37 +0200
changeset 27135 7fa9fa0bccee
parent 27134 71461c77a15b
child 27136 06a8f65e32f6
more robust declaration of nat_induct;
src/HOL/Word/TdThs.thy
--- a/src/HOL/Word/TdThs.thy	Tue Jun 10 21:49:11 2008 +0200
+++ b/src/HOL/Word/TdThs.thy	Tue Jun 10 21:49:37 2008 +0200
@@ -93,9 +93,9 @@
 interpretation nat_int: type_definition [int nat "Collect (op <= 0)"]
   by (rule td_nat_int)
 
--- "resetting to the default nat induct and cases rules"
-declare Nat.induct [case_names 0 Suc, induct type]
-declare Nat.exhaust [case_names 0 Suc, cases type]
+text "resetting to the default nat induct and cases rules"
+declare nat_induct [induct type: nat]
+declare nat.exhaust [cases type: nat]
 
 
 subsection "Extended form of type definition predicate"