• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
        • Warnings
        • Primitives
        • Use-set
        • Syntax
        • Getting-started
        • Utilities
        • Loader
        • Transforms
        • Lint
        • Mlib
          • Scopestack
          • Filtering-by-name
          • Vl-namefactory
          • Substitution
          • Allexprs
          • Hid-tools
            • Following-hids
              • Vl-follow-hidexpr
              • Vl-partselect-type-top-dimension-replacement
              • Vl-hidindex-datatype-resolve-dims
              • Vl-follow-hidexpr-error
              • Vl-follow-hidexpr-dimscheck
              • Vl-index-find-type
              • Vl-follow-hidexpr-dimcheck
              • Vl-partselect-expr-type
              • Vl-ss-find-hidexpr-range!!
              • Vl-hidstep
                • Vl-hidstep-fix
                • Vl-hidstep-equiv
                • Make-vl-hidstep
                • Vl-hidstep->item
                • Change-vl-hidstep
                • Vl-hidstep->ss
                • Vl-hidstep-p
                • Vl-ss-find-hidexpr-range
                • Vl-genarrayblocklist-find-block
                • Vl-flatten-hidindex
                • Vl-hidexpr-resolved-p
                • Vl-flatten-hidexpr
                • Vl-hidindex-resolved-p
                • Vl-hidtrace
              • Vl-hidexpr-traverse-datatype
              • Abstract-hids
              • Vl-hidexpr-find-type
            • Vl-consteval
            • Range-tools
            • Lvalexprs
            • Hierarchy
            • Finding-by-name
            • Expr-tools
            • Expr-slicing
            • Stripping-functions
            • Stmt-tools
            • Modnamespace
            • Vl-parse-expr-from-str
            • Welltyped
            • Reordering-by-name
            • Flat-warnings
            • Genblob
            • Expr-building
            • Datatype-tools
            • Syscalls
            • Relocate
            • Expr-cleaning
            • Namemangle
            • Caremask
            • Port-tools
            • Lvalues
          • Server
          • Kit
          • Printer
          • Esim-vl
          • Well-formedness
        • Sv
        • Fgl
        • Vwsim
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Vl-hidstep

    Vl-hidstep-p

    Recognizer for vl-hidstep structures.

    Signature
    (vl-hidstep-p x) → *

    Definitions and Theorems

    Function: vl-hidstep-p

    (defun vl-hidstep-p (x)
      (declare (xargs :guard t))
      (let ((__function__ 'vl-hidstep-p))
        (declare (ignorable __function__))
        (and (consp x)
             (eq (car x) :vl-hidstep)
             (std::prod-consp (cdr x))
             (b* ((item (std::prod-car (cdr x)))
                  (ss (std::prod-cdr (cdr x))))
               (and (vl-scopeitem-p item)
                    (vl-scopestack-p ss))))))

    Theorem: consp-when-vl-hidstep-p

    (defthm consp-when-vl-hidstep-p
      (implies (vl-hidstep-p x) (consp x))
      :rule-classes :compound-recognizer)