• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • 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
        • C
        • Soft
        • Bv
        • Imp-language
        • Ethereum
        • Event-macros
        • Java
        • Riscv
        • Bitcoin
        • 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
          • Yul
          • ACL2-programming-language
          • Prime-fields
          • Json
          • Syntheto
          • File-io-light
          • Cryptography
          • Number-theory
          • Axe
          • Lists-light
          • Builtins
          • Solidity
          • Helpers
          • Htclient
          • Typed-lists-light
          • Arithmetic-light
        • X86isa
        • Axe
        • Execloader
      • Math
      • Testing-utilities
    • Jubjub

    Jubjub-point-satisfies-curve-equation

    A Jubjub point satisfies the curve equation.

    Definitions and Theorems

    Theorem: jubjub-point-satisfies-curve-equation

    (defthm jubjub-point-satisfies-curve-equation
      (implies (jubjub-pointp uv)
               (b* ((u (jubjub-point->u uv))
                    (v (jubjub-point->v uv))
                    (u^2 (mul u u (jubjub-q)))
                    (v^2 (mul v v (jubjub-q)))
                    (u^2.v^2 (mul u^2 v^2 (jubjub-q)))
                    (a.u^2 (mul (jubjub-a) u^2 (jubjub-q)))
                    (d.u^2.v^2 (mul (jubjub-d) u^2.v^2 (jubjub-q))))
                 (equal (add a.u^2 v^2 (jubjub-q))
                        (add 1 d.u^2.v^2 (jubjub-q))))))