law u32_is_le_to_nat

bend-mathlib@0.8.1.0 · u32.bend:573

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

573# The U32 order is the order of the values: is_le a b = is_le (to_nat a) (to_nat b).
574law u32_is_le_to_nat:
575  for a: U32
576  for b: U32
577  {U32.is_le(a, b) == Nat.is_le(U32.to_nat(a), U32.to_nat(b)) : Bool}

Uses (11)

Used by (2)