LawsRecover.Ecrecover.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_recover.bend as LawsRecover Lines 28-33 of bend-collections-laws-crypto@1.0.0.0/proofs/crypto/secp256k1/laws_recover.bend: https://jend.leeeet.dev/read.txt?path=bend-collections-laws-crypto@1.0.0.0/proofs/crypto/secp256k1/laws_recover.bend&start_line=28&end_line=33 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 # Ethereum's ECRECOVER precompile law Ecrecover.correct: for +one: Nat for +h1: {one == 1n : Nat} for +input: List<&2, U32> {K.ecrecover(input) == ES.ecrecover(one, input) : Maybe<&2, List<&2, U32>>} Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe 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/pecr.bend&name=ecrecover_v https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/spec/crypto/secp256k1/ecdsa.bend&name=ecrecover https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/src/crypto/secp256k1.bend&name=ecrecover