def cp_lt_p

bend-collections-laws-crypto@1.0.0.0 · proofs/crypto/secp256k1/rconst.bend:62

import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/secp256k1/rconst.bend as Rconst
import Base
import bend-collections-laws-crypto@1.0.0.0/spec/crypto/secp256k1/field.bend as FS
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/crypto/secp256k1/consts.bend as K

62def cp_lt_p(+one: Nat, +h1: {one == 1n : Nat}) -> {Nat.is_lt(FS.cp(one), 1n+K.pp(one)) == True{} : Bool}:
63  N.lt_trans(FS.cp(one), FS.cn(one), 1n+K.pp(one), cp_lt_cn(one, h1), cn_lt_p(one, h1))

Uses (9)

Used by (1)