Point.to_affine: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/src/crypto/secp256k1/point.bend as Point Lines 145-148 of bend-collections@1.0.0.0/src/crypto/secp256k1/point.bend: https://jend.leeeet.dev/read.txt?path=bend-collections@1.0.0.0/src/crypto/secp256k1/point.bend&start_line=145&end_line=148 import Base import bend-collections@1.0.0.0/src/crypto/secp256k1/field.bend as F # (X / Z, Y / Z); (0, 0) for the point at infinity def to_affine(p: Point) -> Affine: match p: case Point{x, y, z}: to_affine_z(x, y, F.inv(z)) Uses (4): https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/crypto/secp256k1/field.bend&name=inv https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/crypto/secp256k1/point.bend&name=Affine https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/crypto/secp256k1/point.bend&name=Point https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/crypto/secp256k1/point.bend&name=to_affine_z