• 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
          • Vl-consteval
          • Range-tools
            • Vl-slow-find-net/reg-range
            • Vl-ss-find-range
            • Vl-maybe-range-size
            • Vl-range-resolved-p
            • Vl-range-size
            • Vl-maybe-range-resolved-p
            • Vl-simplevar->range
            • Vl-simplereg->range
            • Vl-simplenet->range
            • Vl-make-n-bit-range
            • Vl-simplevar->signedp
            • Vl-simpletype->signedp
            • Vl-simpletype->range
            • Vl-simplereg->signedp
            • Vl-simplenet->signedp
            • Vl-simplenet->nettype
            • Vl-simplereglist-p
            • Vl-simplereg-p
            • Vl-simpletype-p
            • Vl-simplenet-p
            • Vl-simplevar-p
            • 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
    • Range-tools

    Vl-simplevar-p

    Signature
    (vl-simplevar-p x) → bool
    Arguments
    x — Guard (vl-vardecl-p x).

    Definitions and Theorems

    Function: vl-simplevar-p

    (defun vl-simplevar-p (x)
      (declare (xargs :guard (vl-vardecl-p x)))
      (let ((__function__ 'vl-simplevar-p))
        (declare (ignorable __function__))
        (or (vl-simplenet-p x)
            (vl-simplereg-p x))))

    Theorem: vl-simpletype-p-of-simplevar-type

    (defthm vl-simpletype-p-of-simplevar-type
      (implies (vl-simplevar-p x)
               (vl-simpletype-p (vl-vardecl->type x))))

    Theorem: vl-simplevar-p-of-vl-vardecl-fix-x

    (defthm vl-simplevar-p-of-vl-vardecl-fix-x
      (equal (vl-simplevar-p (vl-vardecl-fix x))
             (vl-simplevar-p x)))

    Theorem: vl-simplevar-p-vl-vardecl-equiv-congruence-on-x

    (defthm vl-simplevar-p-vl-vardecl-equiv-congruence-on-x
      (implies (vl-vardecl-equiv x x-equiv)
               (equal (vl-simplevar-p x)
                      (vl-simplevar-p x-equiv)))
      :rule-classes :congruence)