author | nipkow |
Thu, 01 Oct 2009 18:58:47 +0200 | |
changeset 32826 | f7f94bb9ac94 |
parent 32823 | b13e04329012 (diff) |
parent 32825 | 314b6a73b55c (current diff) |
child 32827 | 2729c8033326 |
--- a/src/HOL/Library/Nat_Int_Bij.thy Thu Oct 01 16:46:58 2009 +0200 +++ b/src/HOL/Library/Nat_Int_Bij.thy Thu Oct 01 18:58:47 2009 +0200 @@ -128,6 +128,9 @@ thus "\<forall>y. \<exists>x. y = nat2_to_nat x" by fast qed +lemma nat_to_nat2_inj: "inj nat_to_nat2" + by (simp add: nat_to_nat2_def surj_imp_inj_inv nat2_to_nat_surj) + subsection{* A bijection between @{text "\<nat>"} and @{text "\<int>"} *}