equal
deleted
inserted
replaced
893 unfolding divmod_def by simp |
893 unfolding divmod_def by simp |
894 |
894 |
895 lemma mod_divmod [code]: |
895 lemma mod_divmod [code]: |
896 "m mod n = snd (divmod m n)" |
896 "m mod n = snd (divmod m n)" |
897 unfolding divmod_def by simp |
897 unfolding divmod_def by simp |
|
898 |
|
899 code_constname |
|
900 "op div \<Colon> nat \<Rightarrow> nat \<Rightarrow> nat" "IntDef.div_nat" |
|
901 "op mod \<Colon> nat \<Rightarrow> nat \<Rightarrow> nat" "IntDef.mod_nat" |
|
902 Divides.divmod "IntDef.divmod_nat" |
898 |
903 |
899 hide (open) const divmod |
904 hide (open) const divmod |
900 |
905 |
901 |
906 |
902 subsection {* Legacy bindings *} |
907 subsection {* Legacy bindings *} |