def bn
import bend-collections-laws-math@1.0.0.0/spec/math/fixed.bend as Fixedimport Base
69def bn(b: Bool) -> Nat:
70 match b:
71 case True{}:
72 1n
73 case False{}:
74 0n
Uses (2)
Used by (11)
- bend-collections-laws-math@1.0.0.0/proofs/math/number/fixprime:succ_t
- bend-collections-laws-math@1.0.0.0/spec/math/fixed:OverflowingSub.value
- bend-collections-laws-math@1.0.0.0/spec/math/fixed:WrappingSub.value
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/fix32:wsub_g
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/fix64:wsub_eq
- …