def fits_hk
bend-collections-laws-crypto@1.0.0.0 · proofs/math/typed/w64m128.bend:75
import bend-collections-laws-crypto@1.0.0.0/proofs/math/typed/w64m128.bend as W64m128
import Base
import bend-collections-laws-crypto@1.0.0.0/spec/lib/common.bend as C
import bend-collections-laws-crypto@1.0.0.0/proofs/lib/logic.bend as L
import bend-collections-laws-crypto@1.0.0.0/proofs/math/typed/width.bend as WW
75def fits_hk(+k: Nat, +s: Nat, +h: {C.fits(Nat.add(k, k), s) == True{} : Bool}) -> {C.fits(k, C.high(k, s)) == True{} : Bool}:
76 L.subst(Nat, z => {Nat.is_eq(z, 0n) == True{} : Bool}, C.high(Nat.add(k, k), s), C.high(k, C.high(k, s)), WW.high_comp(k, k, s), h)