• Top
    • Documentation
    • Books
    • Recursion-and-induction
    • Boolean-reasoning
    • Debugging
    • Projects
    • Std
    • Proof-automation
    • Macro-libraries
      • B*
      • Defunc
      • Fty
        • Deftagsum
        • Defprod
        • Defflexsum
        • Defbitstruct
        • Deflist
        • Defalist
        • Defbyte
        • Defresult
        • Deffixtype
        • Deffixequiv
        • Fty-discipline
        • Defoption
        • Fty-extensions
        • Defsubtype
        • Deftypes
        • Defflatsum
        • Deflist-of-len
        • Defbytelist
        • Defset
        • Fty::basetypes
          • Any-p
            • Symbol-fix
            • Maybe-integerp-fix
            • Maybe-natp-fix
            • Maybe-integer-equiv
            • Maybe-posp-fix
            • Maybe-pos-equiv
            • Maybe-nat-equiv
            • Maybe-bit-fix
            • Maybe-bit-equiv
            • Bool-fix
            • Symbol-equiv
            • Maybe-lit-fix
            • True-equiv
            • Pos-equiv
            • Lposfix
            • True-p
            • True-fix
          • Specific-types
          • Defvisitors
          • Deffixtype-alias
          • Defomap
          • Deffixequiv-sk
          • Defunit
          • Deffixequiv-mutual
          • Fty::baselists
          • Defmap
        • Std/util
        • Apt
        • 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
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Testing-utilities
      • Math
    • Fty::basetypes

    Any-p

    (any-p x) is always true; i.e., it recognizes any ACL2 object.

    This is a ``degenerate'' recognizer which is sometimes useful for fty. For instance, it allows you to have fields within a fty::defprod that are completely unconstrained, which may be especially useful when you are in the early stages of development and haven't yet thought much about types.

    Definitions and Theorems

    Function: any-p$inline

    (defun any-p$inline (x)
           (declare (xargs :guard t) (ignore x))
           t)