author | krauss |
Mon, 22 Jan 2007 15:08:48 +0100 | |
changeset 22157 | e1d68715ed09 |
parent 22156 | d0926c4ea653 |
child 22158 | ff4fc4ee9eb0 |
src/HOL/Nat.thy | file | annotate | diff | comparison | revisions |
--- a/src/HOL/Nat.thy Mon Jan 22 00:40:29 2007 +0100 +++ b/src/HOL/Nat.thy Mon Jan 22 15:08:48 2007 +0100 @@ -1305,4 +1305,10 @@ by (simp del: of_nat_add add: compare_rls of_nat_add [symmetric] split add: nat_diff_split) + +subsection {* Size function *} + +lemma nat_size[simp]: "size (n::nat) = n" + by (induct n) simp_all + end