def wsum_lt

bend-collections-laws-crypto@1.0.0.0 · proofs/crypto/curve25519/mulw.bend:99

import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/mulw.bend as Mulw
import Base
import bend-collections-laws-crypto@1.0.0.0/proofs/lib/nat.bend as N
import bend-collections-laws-crypto@1.0.0.0/proofs/lib/word.bend as WD
import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/limbs.bend as LM

99def wsum_lt(+one: Nat, +h1: {one == 1n : Nat}) -> {Nat.is_lt(Nat.add(WD.sc(21n, one), Nat.mul(38n, WD.sc(21n, one))), WD.sc(32n, one)) == True{} : Bool}:
100  N.le_lt_trans(Nat.add(WD.sc(21n, one), Nat.mul(38n, WD.sc(21n, one))), WD.sc(28n, one), WD.sc(32n, one), wsum_le(one, h1), LM.sc_lt(3n, 28n, one, h1))

Uses (9)

Used by (2)