law u32_is_gt_to_nat

bend-mathlib@0.8.1.0 · u32.bend:584

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

584# The reverse U32 strict order is that of the values: is_gt a b = is_gt (to_nat a) (to_nat b).
585law u32_is_gt_to_nat:
586  for a: U32
587  for b: U32
588  {U32.is_gt(a, b) == Nat.is_gt(U32.to_nat(a), U32.to_nat(b)) : Bool}

Uses (11)

Used by (1)