def lt_of_cmp
import bend-collections-laws-math@1.0.0.0/proofs/math/typed/natcmp.bend as Natcmpimport Base
96def lt_of_cmp(+a: Nat, +b: Nat, +h: {Nat.cmp(a, b) == LT{} : Cmp}) -> {Nat.is_lt(a, b) == True{} : Bool}:
97 Equal.cong(Cmp, Bool, t => Cmp.is_lt(t), Nat.cmp(a, b), LT{}, h)
Uses (7)
Used by (9)
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/natcmp:lt_of_gt
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64round:bl_c
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64round:rp_c
- bend-collections-laws-math@1.0.0.0/proofs/math/random/fround:bl_c
- bend-collections-laws-math@1.0.0.0/proofs/math/random/fround:rp_c
- …