• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
      • Kestrel-books
        • Crypto-hdwallet
        • Apt
        • Error-checking
        • Fty-extensions
        • Isar
        • Kestrel-utilities
        • Set
        • Soft
        • C
        • Bv
        • Imp-language
        • Event-macros
        • Java
        • Bitcoin
        • Ethereum
        • Yul
        • Zcash
        • ACL2-programming-language
        • Prime-fields
        • Json
        • Syntheto
        • File-io-light
        • Cryptography
          • R1cs
          • Interfaces
          • Sha-2
          • Keccak
          • Kdf
          • Mimc
          • Padding
          • Hmac
          • Elliptic-curves
            • Secp256k1-attachment
            • Twisted-edwards
            • Montgomery
            • Short-weierstrass-curves
            • Birational-montgomery-twisted-edwards
            • Has-square-root?-satisfies-pfield-squarep
            • Secp256k1
            • Secp256k1-domain-parameters
            • Secp256k1-types
            • Pfield-squarep
            • Secp256k1-interface
            • Prime-field-extra-rules
            • Points
              • Pointp
              • Point-in-pxp-p
              • Points-fty
                • Point-finite
                • Point
                • Point-kind
                • Point-finite->y
                • Point-finite->x
                • Point-infinite
                • Point-fix
          • Attachments
          • Elliptic-curve-digital-signature-algorithm
        • Number-theory
        • Lists-light
        • Axe
        • Builtins
        • Solidity
        • Helpers
        • Htclient
        • Typed-lists-light
        • Arithmetic-light
      • X86isa
      • Axe
      • Execloader
    • Math
    • Testing-utilities
  • Points

Points-fty

Fixtype support for elliptic curve points.

We provide a fixtype for pointp, along with some functions and theorems to treat elliptic curve points as if they were defined as

(fty::deftagsum point
  (:finite ((x nat) (y nat)))
  (:infinite ())
  :pred pointp
  :xvar p)

Subtopics

Point-finite
Build a finite elliptic curve point.
Point
Fixtype of elliptic curve points.
Point-kind
Kinds (i.e. tags) of elliptic curve points.
Point-finite->y
Get the y coordinate of a finite elliptic curve point.
Point-finite->x
Get the x coordinate of a finite elliptic curve point.
Point-infinite
Build the elliptic curve point at infinity.
Point-fix
Fixer of elliptic curve points.