declare "nat o abs" as default measure for int
authorkrauss
Tue, 03 Feb 2009 11:16:28 +0100
changeset 29779 2786b348c376
parent 29778 b5156537067d
child 29780 1df0e5af40b9
declare "nat o abs" as default measure for int
src/HOL/Int.thy
--- a/src/HOL/Int.thy	Tue Feb 03 07:44:10 2009 +0100
+++ b/src/HOL/Int.thy	Tue Feb 03 11:16:28 2009 +0100
@@ -478,6 +478,9 @@
 
 end
 
+text {* For termination proofs: *}
+lemma measure_function_int[measure_function]: "is_measure (nat o abs)" ..
+
 
 subsection{*Lemmas about the Function @{term of_nat} and Orderings*}