def ms_ok
bend-collections-laws-math@1.0.0.0 · proofs/math/typed/u32int.bend:1012
import bend-collections-laws-math@1.0.0.0/proofs/math/typed/u32int.bend as U32int
import Base
import bend-collections-laws-math@1.0.0.0/src/math/num.bend as NM
import bend-collections-laws-math@1.0.0.0/src/math/instances.bend as I
1012def ms_ok(bit: Bool, +a: U32, +aok: Bool, +b: U32, +bok: Bool) -> Bool:
1013 match bit:
1014 case True{}:
1015 Bool.and(Bool.and(aok, bok), Bool.not(I.u32_is(NM.MulOver{a, b})))
1016 case False{}:
1017 aok