LawsVerify.Verify.correct: law of bend-collections-laws-crypto@1.0.0.0 Import: import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/secp256k1/laws_verify.bend as LawsVerify Lines 20-27 of bend-collections-laws-crypto@1.0.0.0/proofs/crypto/secp256k1/laws_verify.bend: https://jend.leeeet.dev/read.txt?path=bend-collections-laws-crypto@1.0.0.0/proofs/crypto/secp256k1/laws_verify.bend&start_line=20&end_line=27 import Base import bend-collections-laws-crypto@1.0.0.0/src/crypto/secp256k1.bend as K import bend-collections-laws-crypto@1.0.0.0/spec/crypto/secp256k1/ecdsa.bend as ES # ECDSA verification (SEC 1 4.1.4), high s accepted law Verify.correct: for +one: Nat for +h1: {one == 1n : Nat} for +pk: List<&2, U32> for +h: List<&2, U32> for +sig: List<&2, U32> {K.verify(pk, h, sig) == ES.verify(one, pk, h, sig, False{}) : Bool} Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/proofs/crypto/secp256k1/pver.bend&name=verify_v https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/spec/crypto/secp256k1/ecdsa.bend&name=verify https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/src/crypto/secp256k1.bend&name=verify