• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • 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->item

    Get the item field from a vl-hidstep.

    Signature
    (vl-hidstep->item x) → item
    Arguments
    x — Guard (vl-hidstep-p x).
    Returns
    item — Type (vl-scopeitem-p item).

    This is an ordinary field accessor created by defprod.

    Definitions and Theorems

    Function: vl-hidstep->item$inline

    (defun vl-hidstep->item$inline (x)
      (declare (xargs :guard (vl-hidstep-p x)))
      (declare (xargs :guard t))
      (let ((__function__ 'vl-hidstep->item))
        (declare (ignorable __function__))
        (mbe :logic
             (b* ((x (and t x)))
               (vl-scopeitem-fix (std::prod-car (cdr x))))
             :exec (std::prod-car (cdr x)))))

    Theorem: vl-scopeitem-p-of-vl-hidstep->item

    (defthm vl-scopeitem-p-of-vl-hidstep->item
      (b* ((item (vl-hidstep->item$inline x)))
        (vl-scopeitem-p item))
      :rule-classes :rewrite)

    Theorem: vl-hidstep->item$inline-of-vl-hidstep-fix-x

    (defthm vl-hidstep->item$inline-of-vl-hidstep-fix-x
      (equal (vl-hidstep->item$inline (vl-hidstep-fix x))
             (vl-hidstep->item$inline x)))

    Theorem: vl-hidstep->item$inline-vl-hidstep-equiv-congruence-on-x

    (defthm vl-hidstep->item$inline-vl-hidstep-equiv-congruence-on-x
      (implies (vl-hidstep-equiv x x-equiv)
               (equal (vl-hidstep->item$inline x)
                      (vl-hidstep->item$inline x-equiv)))
      :rule-classes :congruence)