• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Wp-gen
      • Dimacs-reader
      • Pfcs
      • Legacy-defrstobj
      • C
      • Proof-checker-array
      • Soft
      • Farray
      • Rp-rewriter
      • Instant-runoff-voting
      • Imp-language
      • Sidekick
      • Ethereum
      • Leftist-trees
      • Java
      • Riscv
      • Taspi
      • 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
        • Des
        • X86isa
        • Sha-2
        • Yul
        • Proof-checker-itp13
        • Regex
        • ACL2-programming-language
        • Json
        • Jfkr
        • Equational
        • Cryptography
        • Axe
        • Poseidon
        • Where-do-i-place-my-book
        • Aleo
        • Bigmems
        • Builtins
        • Execloader
        • Solidity
        • Paco
        • Concurrent-programs
        • Bls12-377-curves
      • Debugging
      • Community
      • Std
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • 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))))))