def OverflowingShr.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
179def OverflowingShr.flag(~T: Data, ~f: @+x: T -> @+y: U32 -> F.Over<T>, +a: T, +s: U32, +w: Nat) -> Type:
180 {ov_flag(T, f(a, s)) == Bool.not(Nat.is_lt(U32.to_nat(s), w)) : Bool}
Uses (8)
Used by (4)
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/fix32:overflowing_shr_flag
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/fix64:overflowing_shr_flag
- bend-collections-laws-math@1.0.0.0/proofs/math/number/proof:u32_overflowing_shr_flag
- bend-collections-laws-math@1.0.0.0/proofs/math/number/proof:u64_overflowing_shr_flag