law u32_to_nat_from_nat_mod_sym
import bend-mathlib@0.8.1.0/u32.bend as U32import Base
1235# Converting any natural to U32 and back reduces it modulo 2^32: to_nat (from_nat k) = k % 2^32, reversed to rewrite toward the simple side.
1236law u32_to_nat_from_nat_mod_sym:
1237 for k: Nat
1238 {Nat.mod(k, Nat.pow(2n, 32n)) == U32.to_nat(U32.from_nat(k)) : Nat}
Uses (7)
Used by (0)
No other definition uses this definition.