• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Wp-gen
      • Dimacs-reader
      • Pfcs
      • Legacy-defrstobj
      • Proof-checker-array
      • Soft
      • C
      • Farray
      • Rp-rewriter
      • Instant-runoff-voting
      • Imp-language
      • Sidekick
      • Leftist-trees
      • Java
      • Taspi
      • Bitcoin
      • Riscv
      • Des
      • Ethereum
      • X86isa
      • Sha-2
      • Yul
      • Zcash
      • Proof-checker-itp13
      • Regex
      • ACL2-programming-language
      • Json
      • Jfkr
      • Equational
      • Cryptography
      • Poseidon
      • Where-do-i-place-my-book
      • Axe
      • Bigmems
      • Builtins
      • Execloader
      • Aleo
      • Solidity
      • Paco
      • Concurrent-programs
      • Bls12-377-curves
        • Edwards-bls12
          • Edwards-bls12-pointp
            • Edwards-bls12-q
            • Edwards-bls12-d
            • Edwards-bls12-point->v
            • Edwards-bls12-point->u
            • Maybe-edwards-bls12-pointp
            • Edwards-bls12-add
            • Edwards-bls12-mul-fast
            • Edwards-bls12-rstar-pointp
            • Edwards-bls12-mul
            • Edwards-bls12-a
            • Edwards-bls12-r-pointp
            • Edwards-bls12-neg
            • Edwards-bls12-curve
            • Edwards-bls12-r
            • Edwards-bls12-h
            • Edwards-bls12-subgroup-prime
          • Bls12-377-domain-parameters
      • Debugging
      • Std
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Edwards-bls12

    Edwards-bls12-pointp

    Recognize elements of Edwards-BLS12 curve.

    Signature
    (edwards-bls12-pointp x) → yes/no
    Returns
    yes/no — Type (booleanp yes/no).

    These are the points on the Edwards-BLS12 curve.

    These are all finite points.

    Definitions and Theorems

    Function: edwards-bls12-pointp

    (defun edwards-bls12-pointp (x)
      (declare (xargs :guard t))
      (let ((acl2::__function__ 'edwards-bls12-pointp))
        (declare (ignorable acl2::__function__))
        (and (pointp x)
             (point-on-twisted-edwards-p x (edwards-bls12-curve)))))

    Theorem: booleanp-of-edwards-bls12-pointp

    (defthm booleanp-of-edwards-bls12-pointp
      (b* ((yes/no (edwards-bls12-pointp x)))
        (booleanp yes/no))
      :rule-classes :rewrite)

    Theorem: pointp-when-edwards-bls12-pointp

    (defthm pointp-when-edwards-bls12-pointp
      (implies (edwards-bls12-pointp x)
               (pointp x)))

    Theorem: point-finite-when-edwards-bls12-pointp

    (defthm point-finite-when-edwards-bls12-pointp
      (implies (edwards-bls12-pointp x)
               (equal (point-kind x) :finite)))