• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
      • Kestrel-books
        • Crypto-hdwallet
        • Apt
          • Simplify-defun
          • Isodata
          • Tailrec
          • Schemalg
          • Restrict
          • Expdata
          • Casesplit
          • Simplify-term
          • Simplify-defun-sk
          • Parteval
          • Solve
          • Wrap-output
          • Propagate-iso
          • Simplify
          • Finite-difference
          • Drop-irrelevant-params
          • Copy-function
          • Lift-iso
          • Rename-params
          • Utilities
          • Simplify-term-programmatic
          • Simplify-defun-sk-programmatic
          • Simplify-defun-programmatic
          • Simplify-defun+
          • Common-options
            • Untranslate-specifier
            • Print-specifier
            • Hints-specifier
              • Ensure-is-hints-specifier
              • Canonical-hints-specifier-p
              • Canonicalize-hints-specifier
              • Hints-specifier-p
            • Common-concepts
          • Error-checking
          • Fty-extensions
          • Isar
          • Kestrel-utilities
          • Set
          • Soft
          • C
          • Bv
          • Imp-language
          • Event-macros
          • Java
          • Bitcoin
          • 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
    • Hints-specifier

    Hints-specifier-p

    Recognize hints specifiers.

    Signature
    (hints-specifier-p x legal-kwds) → yes/no
    Arguments
    legal-kwds — Guard (keyword-listp legal-kwds).
    Returns
    yes/no — Type (booleanp yes/no).

    Definitions and Theorems

    Function: hints-specifier-p

    (defun hints-specifier-p (x legal-kwds)
      (declare (xargs :guard (keyword-listp legal-kwds)))
      (let ((__function__ 'hints-specifier-p))
        (declare (ignorable __function__))
        (or (canonical-hints-specifier-p x legal-kwds)
            (and (true-listp x)
                 (not (acl2::first-keyword x))))))

    Theorem: booleanp-of-hints-specifier-p

    (defthm booleanp-of-hints-specifier-p
      (b* ((yes/no (hints-specifier-p x legal-kwds)))
        (booleanp yes/no))
      :rule-classes :rewrite)