Scalar.inv: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/src/crypto/secp256k1/scalar.bend as Scalar Lines 90-92 of bend-collections@1.0.0.0/src/crypto/secp256k1/scalar.bend: https://jend.leeeet.dev/read.txt?path=bend-collections@1.0.0.0/src/crypto/secp256k1/scalar.bend&start_line=90&end_line=92 import Base # a^(n - 2): the inverse of a nonzero a, 0 for 0 def inv(+a: List<&2, Nat>) -> List<&2, Nat>: pow(a, inv_bits(), one()) Uses (5): 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=bend-collections@1.0.0.0/src/crypto/secp256k1/scalar.bend&name=inv_bits https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/crypto/secp256k1/scalar.bend&name=one https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/crypto/secp256k1/scalar.bend&name=pow