def fmax_select
import bend-collections-laws-math@1.0.0.0/proofs/math/typed/float.bend as Floatimport 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 N
40def fmax_select(~T: Data, ~op: N.Op<T> -> T, ~test: N.Test<T> -> Bool, +a: T, +b: T) -> SG.FMax.select(~T, ~op, ~test, a, b):
41 pick_eq(T, test(N.Lt{a, b}), b, a)