author | paulson <lp15@cam.ac.uk> |
Fri, 18 Feb 2022 21:40:01 +0000 | |
changeset 75101 | f0e2023f361a |
parent 75100 | 6eff5c260381 |
child 75103 | a29d49a636ed |
child 75327 | f4a39342111b |
--- a/src/HOL/Set_Interval.thy Fri Feb 18 18:58:49 2022 +0100 +++ b/src/HOL/Set_Interval.thy Fri Feb 18 21:40:01 2022 +0000 @@ -1728,6 +1728,9 @@ "bij_betw of_nat N A \<longleftrightarrow> of_nat ` N = A" by (simp add: bij_betw_def) +lemma Nats_infinite: "infinite (\<nat> :: 'a set)" + by (metis Nats_def finite_imageD infinite_UNIV_char_0 inj_on_of_nat) + end context comm_monoid_set