def eb2n

bend-collections-laws-math@1.0.0.0 · proofs/math/typed/f64sqs.bend:34

import bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64sqs.bend as F64sqs
import Base
import bend-collections-laws-math@1.0.0.0/spec/math/f64.bend as SF

34def eb2n(+c: Bool) -> {Nat.is_eq(SF.b2n(Bool.not(c)), 0n) == c : Bool}:
35  match c:
36    case True{}:
37      {==}
38    case False{}:
39      {==}

Uses (4)

Used by (1)