def fits_of_lt
import bend-collections-laws-math@1.0.0.0/proofs/math/typed/width.bend as Widthimport Base
import bend-collections-laws-math@1.0.0.0/spec/lib/common.bend as C
219def fits_of_lt(+k: Nat, +r: Nat, +h: {Nat.is_lt(r, C.pow2(k)) == True{} : Bool}) -> {C.fits(k, r) == True{} : Bool}:
220 Equal.trans(Bool, C.fits(k, r), Nat.is_lt(r, C.pow2(k)), True{}, fits_lt(k, r), h)
Uses (7)
Used by (33)
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/w64sh:fits_mono
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/width:limbs_fit
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/width:low_fits
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/w64sh:fits_lek
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/width:fits_one
- …