equal
deleted
inserted
replaced
562 { assume "\<And>y. y \<in> A \<Longrightarrow> y \<le> x" then show "Sup A \<le> x" |
562 { assume "\<And>y. y \<in> A \<Longrightarrow> y \<le> x" then show "Sup A \<le> x" |
563 unfolding Sup_enat_def using finite_enat_bounded by auto } |
563 unfolding Sup_enat_def using finite_enat_bounded by auto } |
564 qed (simp_all add: inf_enat_def sup_enat_def) |
564 qed (simp_all add: inf_enat_def sup_enat_def) |
565 end |
565 end |
566 |
566 |
|
567 instance enat :: complete_linorder .. |
567 |
568 |
568 subsection {* Traditional theorem names *} |
569 subsection {* Traditional theorem names *} |
569 |
570 |
570 lemmas enat_defs = zero_enat_def one_enat_def number_of_enat_def iSuc_def |
571 lemmas enat_defs = zero_enat_def one_enat_def number_of_enat_def iSuc_def |
571 plus_enat_def less_eq_enat_def less_enat_def |
572 plus_enat_def less_eq_enat_def less_enat_def |