• 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

    Jubjub-r-doubling-of-nonzero-is-nonzero

    Doubling a non-zero point in jubjub-r-pointp yields a non-zero point.

    This is because otherwise the point would have order 2.

    Definitions and Theorems

    Theorem: jubjub-r-doubling-of-nonzero-is-nonzero

    (defthm jubjub-r-doubling-of-nonzero-is-nonzero
      (implies (and (jubjub-r-pointp point)
                    (not (equal point (twisted-edwards-zero))))
               (not (equal (jubjub-mul 2 point)
                           (twisted-edwards-zero)))))