def clamp_agrees

bend-collections-laws-math@1.0.0.0 · proofs/math/typed/u32int.bend:154

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/spec/math/generic.bend as SG
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

154def clamp_agrees(+x: U32, +lo: U32, +hi: U32) -> SG.Clamp.agrees(~U32, ~I.u32_op, ~I.u32_is, ~SG.u32_val, ~SG.u32_of, x, lo, hi):
155  clamp_c(x, lo, hi, I.u32_is(NM.Lt{hi, lo}), {==})

Uses (8)

Used by (0)

No other definition uses this definition.