def Odd.value

bend-collections-laws-crypto@1.0.0.0 · spec/math/w64.bend:65

import bend-collections-laws-crypto@1.0.0.0/spec/math/w64.bend as W64
import Base
import bend-collections-laws-crypto@1.0.0.0/src/math/u64.bend as W
import bend-collections-laws-crypto@1.0.0.0/src/math/w64.bend as X

65def Odd.value(+a: W.U64) -> Type:
66  {X.odd(a) == Nat.is_eq(Nat.mod(value(a), 2n), 1n) : Bool}

Uses (6)

Used by (1)