def OverflowingSub.flag
import bend-collections-laws-math@1.0.0.0/spec/math/fixed.bend as Fixedimport Base
import bend-collections-laws-math@1.0.0.0/src/math/fixed.bend as F
155def OverflowingSub.flag(~T: Data, ~val: T -> Nat, ~f: @+x: T -> @+y: T -> F.Over<T>, +a: T, +b: T) -> Type:
156 {ov_flag(T, f(a, b)) == Nat.is_lt(val(a), val(b)) : Bool}
Uses (5)
Used by (4)
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/fix32:overflowing_sub_flag
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/fix64:overflowing_sub_flag
- bend-collections-laws-math@1.0.0.0/proofs/math/number/proof:u32_overflowing_sub_flag
- bend-collections-laws-math@1.0.0.0/proofs/math/number/proof:u64_overflowing_sub_flag