law u32_is_eq_to_nat
import bend-mathlib@0.8.1.0/u32.bend as U32import Base
540# U32 equality tests the values: is_eq a b = is_eq (to_nat a) (to_nat b).
541law u32_is_eq_to_nat:
542 for a: U32
543 for b: U32
544 {U32.is_eq(a, b) == Nat.is_eq(U32.to_nat(a), U32.to_nat(b)) : Bool}