• 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
              • Not-jubjub-r-pointp-when-0-ordinate
                • Jubjub-r-doubling-injectivity
                • Point-0-m1
                • Not-jubjub-r-pointp-of-jubjub-r-point-with-neg-ordinate
                • Not-jubjub-r-pointp-when-lower-order
                • Jubjub-r-doubling-of-nonzero-is-nonzero
                • Jubjub-point->u-injective-on-jubjub-r-pointp
              • 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-r-properties

    Not-jubjub-r-pointp-when-0-ordinate

    A Jubjub point with 0 ordinate is not in jubjub-r-pointp.

    This indirectly depends on the associativity of twisted Edwards addition, so we add that as a hypothesis (see ecurve::twisted-edwards-add-associativity).

    From the curve equation and the fact that the ordinate is 0, it turns out that doubling the point yields point-0-m1. Thus multiplying the point by 4 yields the zero point, and therefore the point does not have order jubjub-r. The point itself is not the zero point, which is (0,1).

    This is part of Theorem 5.4.3 in [ZPS].

    Definitions and Theorems

    Theorem: not-jubjub-r-pointp-when-0-ordinate

    (defthm not-jubjub-r-pointp-when-0-ordinate
      (implies (and (ecurve::twisted-edwards-add-associativity)
                    (jubjub-pointp point)
                    (equal (jubjub-point->v point) 0))
               (not (jubjub-r-pointp point)))
      :rule-classes :rewrite)