• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • 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
        • Soft
        • C
        • Bv
        • Imp-language
        • Event-macros
        • Java
        • Bitcoin
          • Bip32
          • Bech32
          • Bip39
          • Bip44
          • Base58
          • Bip43
            • Bip43-purpose
              • Bip43-purpose-fix
              • Bip43-purposep
              • Bip43-export-key
              • Bip43-key-tree-has-purpose-p
              • Bip43-import-key
            • Bytes
            • Base58check
            • Cryptography
            • Bip-350
            • Bip-173
          • Ethereum
          • Yul
          • Zcash
          • ACL2-programming-language
          • Prime-fields
          • Json
          • Syntheto
          • File-io-light
          • Cryptography
          • Number-theory
          • Lists-light
          • Axe
          • Builtins
          • Solidity
          • Helpers
          • Htclient
          • Typed-lists-light
          • Arithmetic-light
        • X86isa
        • Axe
        • Execloader
      • Math
      • Testing-utilities
    • Bip43-purpose

    Bip43-purposep

    Recognizer for bip43-purpose.

    Signature
    (bip43-purposep x) → yes/no
    Returns
    yes/no — Type (booleanp yes/no).

    Definitions and Theorems

    Function: bip43-purposep

    (defun bip43-purposep (x)
      (declare (xargs :guard t))
      (integer-range-p 1 (expt 2 31) x))

    Theorem: booleanp-of-bip43-purposep

    (defthm booleanp-of-bip43-purposep
      (b* ((yes/no (bip43-purposep x)))
        (booleanp yes/no))
      :rule-classes :rewrite)