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

    Point-on-jubjub-p

    Check if a point is on the Jubjub curve [ZPS:5.4.9.3].

    Signature
    (point-on-jubjub-p point) → yes/no
    Arguments
    point — Guard (ecurve::pointp point).
    Returns
    yes/no — Type (booleanp yes/no).

    Definitions and Theorems

    Function: point-on-jubjub-p

    (defun point-on-jubjub-p (point)
      (declare (xargs :guard (ecurve::pointp point)))
      (let ((__function__ 'point-on-jubjub-p))
        (declare (ignorable __function__))
        (ecurve::point-on-twisted-edwards-p point (jubjub-curve))))

    Theorem: booleanp-of-point-on-jubjub-p

    (defthm booleanp-of-point-on-jubjub-p
      (b* ((yes/no (point-on-jubjub-p point)))
        (booleanp yes/no))
      :rule-classes :rewrite)

    Theorem: point-on-jubjub-p-of-point-fix-point

    (defthm point-on-jubjub-p-of-point-fix-point
      (equal (point-on-jubjub-p (ecurve::point-fix point))
             (point-on-jubjub-p point)))

    Theorem: point-on-jubjub-p-point-equiv-congruence-on-point

    (defthm point-on-jubjub-p-point-equiv-congruence-on-point
      (implies (ecurve::point-equiv point point-equiv)
               (equal (point-on-jubjub-p point)
                      (point-on-jubjub-p point-equiv)))
      :rule-classes :congruence)