• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Community
    • Proof-automation
    • ACL2
    • Macro-libraries
      • B*
      • Defunc
      • Fty
      • 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
        • Std/util
        • Defdata
        • Defrstobj
        • Seq
        • Match-tree
        • Defrstobj
        • With-supporters
        • Def-partial-measure
        • Template-subst
        • Soft
        • Defthm-domain
        • Event-macros
        • Def-universal-equiv
        • Def-saved-obligs
        • With-supporters-after
        • Definec
        • Sig
        • Outer-local
        • Data-structures
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • 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)