law u32_is_lt_to_nat

bend-mathlib@0.8.1.0 · u32.bend:562

import bend-mathlib@0.8.1.0/u32.bend as U32
import Base

562# The U32 strict order is the order of the values: is_lt a b = is_lt (to_nat a) (to_nat b).
563law u32_is_lt_to_nat:
564  for a: U32
565  for b: U32
566  {U32.is_lt(a, b) == Nat.is_lt(U32.to_nat(a), U32.to_nat(b)) : Bool}

Uses (11)

Used by (4)