changeset 61433 | a4c0de1df3d8 |
parent 61275 | 053ec04ea866 |
child 61585 | a9599d3d7610 |
--- a/src/HOL/Library/Code_Target_Nat.thy Thu Oct 15 12:39:51 2015 +0200 +++ b/src/HOL/Library/Code_Target_Nat.thy Sat Oct 17 13:18:43 2015 +0200 @@ -111,7 +111,7 @@ lemma (in semiring_1) of_nat_code_if: "of_nat n = (if n = 0 then 0 else let - (m, q) = divmod_nat n 2; + (m, q) = Divides.divmod_nat n 2; m' = 2 * of_nat m in if q = 0 then m' else m' + 1)" proof -