law u32_is_ne_to_nat

bend-mathlib@0.8.1.0 · u32.bend:551

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

551# U32 disequality tests the values: is_ne a b = is_ne (to_nat a) (to_nat b).
552law u32_is_ne_to_nat:
553  for a: U32
554  for b: U32
555  {U32.is_ne(a, b) == Nat.is_ne(U32.to_nat(a), U32.to_nat(b)) : Bool}

Uses (12)

Used by (1)