def Min.agrees
import bend-collections-laws-math@1.0.0.0/spec/math/generic.bend as Genericimport Base
import bend-collections-laws-math@1.0.0.0/src/math/num.bend as N
import bend-collections-laws-math@1.0.0.0/src/math/generic.bend as G
190def Min.agrees(~T: Data, ~op: N.Op<T> -> T, ~test: N.Test<T> -> Bool, ~val: T -> Nat, ~of: Nat -> T, +a: T, +b: T) -> Type:
191 {G.min(~T, ~op, ~test, a, b) == of(Nat.min(val(a), val(b))) : T}
Uses (6)
Used by (5)
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/u32:min_agrees
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/examples:min
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/examples:min_tie
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/u32int:min_agrees
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/u64int:min_agrees