• 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
        • Verify-zcash-r1cs
        • Lift-zcash-r1cs
        • Pedersen-hash
          • Pedersen-segment-scalar
          • Pedersen-segment-point
          • Find-group-hash
          • Pedersen-point
          • Pedersen-enc
          • Group-hash
          • Coordinate-extract
          • Pedersen-segment-addend
          • Pedersen
          • Pedersen-pad
          • Pedersen-hash-injectivity-properties
          • Pedersen-hash-bound-properties
          • Pedersen-hash-image-properties
            • Pedersen-is-not-uncommitted-sapling
            • *pedersen-c*
          • 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
    • Pedersen-hash-image-properties

    Pedersen-is-not-uncommitted-sapling

    *uncommitted-sapling* is not in the image of pedersen.

    This was Theorem 5.4.2 in certain earlier versions of [ZPS], such as version 2020.1.0. Later versions of [ZPS] have similar theorems, but not quite the same. In any case, this property still holds, and it is proved here.

    The theorem is of interest when pedersen returns a good hash, which requires pedersen-point to return a Jubjub point. However, since our definition of pedersen returns nil when pedersen-point does not return a point, this theorem holds unconditionally.

    We first prove the case in which pedersen-point returns a point, and we use the definition of *uncommitted-sapling* in this lemma. This is critical for the injectivity theorem of i2lebsp to apply, which reduces the goal to the inequality of the abscissa of a Jubjub point with 1, which is false by jubjub-point-abscissa-is-not-1. The latter theorem is disabled, but it appears that ACL2's tau system makes use of it.

    Definitions and Theorems

    Theorem: pedersen-is-not-uncommitted-sapling

    (defthm pedersen-is-not-uncommitted-sapling
      (not (equal (pedersen d m)
                  *uncommitted-sapling*)))