• 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
          • Jubjub
            • Jubjub-abst
            • Jubjub-r-pointp
            • Jubjub-pointp
            • Jubjub-d
            • Jubjub-montgomery
            • Maybe-jubjub-pointp
            • Jubjub-point->u
            • Jubjub-q
            • Jubjub-point->v
            • Point-on-jubjub-p
            • Jubjub-rstar-pointp
            • Jubjub-add
            • Jubjub-r-properties
            • Jubjub-point-abscissa-is-not-1
            • Jubjub-mul
            • Jubjub-curve
              • Jubjub-a
              • Jubjub-neg
              • Jubjub-r
              • Jubjub-point-satisfies-curve-equation
              • Jubjub-h
              • Jubjub-mul-of-2
              • *jubjub-l*
            • Verify-zcash-r1cs
            • Lift-zcash-r1cs
            • Pedersen-hash
            • Zcash-gadgets
            • Bit/byte/integer-conversions
            • Constants
            • Blake2-hash
            • Randomness-beacon
          • ACL2-programming-language
          • Prime-fields
          • Json
          • Syntheto
          • File-io-light
          • Cryptography
          • Number-theory
          • Lists-light
          • Axe
          • Builtins
          • Solidity
          • Helpers
          • Htclient
          • Typed-lists-light
          • Arithmetic-light
        • X86isa
        • Axe
        • Execloader
      • Math
      • Testing-utilities
    • Jubjub

    Jubjub-curve

    The Jubjub curve [ZPS:5.4.9.3].

    Signature
    (jubjub-curve) → curve
    Returns
    curve — Type (ecurve::twisted-edwards-curvep curve).

    We show that it is complete.

    Definitions and Theorems

    Function: jubjub-curve

    (defun jubjub-curve nil
      (declare (xargs :guard t))
      (let ((__function__ 'jubjub-curve))
        (declare (ignorable __function__))
        (ecurve::make-twisted-edwards-curve :p (jubjub-q)
                                            :a (jubjub-a)
                                            :d (jubjub-d))))

    Theorem: twisted-edwards-curvep-of-jubjub-curve

    (defthm twisted-edwards-curvep-of-jubjub-curve
      (b* ((curve (jubjub-curve)))
        (ecurve::twisted-edwards-curvep curve))
      :rule-classes :rewrite)

    Theorem: twisted-edwards-curve-completep-of-jubjub-curve

    (defthm twisted-edwards-curve-completep-of-jubjub-curve
      (ecurve::twisted-edwards-curve-completep (jubjub-curve)))