• 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
          • Vl-module
          • Vl-vardecl
          • Expressions
            • Vl-atts
            • Vl-constint
            • *vl-ops-table*
            • Vl-weirdint
            • Vl-expr
            • Vl-id
            • Vl-hidpiece
            • Vl-time
            • Vl-maybe-exprtype
            • Vl-op-p
            • Vl-maybe-expr
            • Vl-expr->finaltype
            • Vl-real
            • Vl-expr->finalwidth
            • Vl-tagname
            • Vl-sysfunname
            • Vl-string
            • Vl-op-arity
            • Vl-keyguts
            • Vl-exprtype-p
            • Vl-typename
            • Vl-funname
            • Vl-basictype
            • Vl-extint
            • Vl-atomlist-p
            • Vl-atomguts
              • Vl-atomguts-p
                • Vl-fast-weirdint-p
                • Vl-fast-typename-p
                • Vl-fast-sysfunname-p
                • Vl-fast-string-p
                • Vl-fast-hidpiece-p
                • Vl-fast-funname-p
                • Vl-fast-constint-p
                • Vl-jp-atomguts
                • Vl-fast-id-p
              • Vl-atomguts-fix
              • Vl-atomguts-equiv
            • Vl-nbits-fix
            • Vl-atom-p
            • Vl-arity-fix
            • Vl-arity-ok-p
            • Vl-op-text
            • Vl-exprlist
            • Vl-oplist
            • Vl-exprlistlist
            • Vl-ops-table
            • *vl-default-expr*
          • Vl-fundecl
          • Vl-assign
          • Vl-gateinst
          • Vl-modinst
          • Vl-commentmap
          • Vl-portdecl
          • Vl-taskdecl
          • Vl-design
          • Vl-interface
          • Vl-plainarglist->exprs
          • Vl-taskdecllist->names
          • Vl-fundecllist->names
          • Vl-package
          • Vl-port
          • Vl-udp
          • Vl-paramdecl
          • Vl-genelement
          • Vl-cycledelayrange
          • Vl-namedarg
          • Vl-sort-blockitems-aux
          • Vl-distitem
          • Vl-gatedelay
          • Vl-repetition
          • Vl-typedef
          • Vl-range
          • Vl-gatestrength
          • Vl-program
          • Vl-config
          • Vl-always
          • Vl-datatype-update-dims
          • Vl-import
          • Vl-enumbasetype
          • Vl-repeateventcontrol
          • Vl-paramargs
          • Vl-initial
          • Vl-eventcontrol
          • Vl-udpsymbol-p
          • Vl-maybe-range
          • Vl-maybe-nettypename
          • Vl-maybe-gatestrength
          • Vl-maybe-gatedelay
          • Vl-maybe-delayoreventcontrol
          • Vl-alias
          • Maybe-string-fix
          • Vl-maybe-packeddimension
          • Vl-fwdtypedef
          • Vl-evatom
          • Vl-packeddimension-p
          • Vl-maybe-udpsymbol
          • Vl-maybe-module
          • Vl-maybe-direction
          • Vl-maybe-datatype
          • Vl-maybe-cstrength
          • Vl-direction-p
          • Vl-arguments
          • Vl-maybe-design
          • Vl-udpline
          • Vl-exprdist
          • Vl-context1
          • Vl-genvar
          • Vl-enumitem
          • Vl-datatype-update-udims
          • Vl-datatype-update-pdims
          • Vl-modelement
          • Vl-udpedge
          • Vl-delaycontrol
          • Vl-context
          • Vl-sort-blockitems
          • Vl-distweighttype-p
          • Vl-ctxelement->loc
          • Vl-blockitem
          • Vl-vardecllist
          • Vl-module->ifports
          • Vl-modelement->loc
          • Vl-ctxelement
          • Vl-coretypename-p
          • Vl-packeddimensionlist
          • Vl-modelementlist->genelements
          • Vl-gatetype-p
          • Vl-paramdecllist
          • Vl-lifetime-p
          • Vl-datatype->udims
          • Vl-datatype->pdims
          • Vl-timeunit-p
          • Vl-repetitiontype-p
          • Vl-port->name
          • Vl-importlist
          • Vl-genelement->loc
          • Vl-delayoreventcontrol
          • Vl-cstrength-p
          • Statements
          • Vl-udpentry-p
          • Vl-packeddimension-fix
          • Vl-nettypename-p
          • Vl-portdecllist
          • Vl-port->loc
          • Vl-enumbasekind-fix
          • Vl-arguments->args
          • Vl-taskdecllist
          • Vl-portlist
          • Vl-importpart-p
          • Vl-importpart-fix
          • Vl-fundecllist
          • Vl-blockstmt-p
          • Vl-assignlist
          • Vl-alwaystype-p
          • Vl-typedeflist
          • Vl-syntaxversion-p
          • Vl-randomqualifier-p
          • Vl-modinstlist
          • Vl-gateinstlist
          • Vl-blockitemlist
          • Vl-udptable
          • Vl-udplist
          • Vl-udpentrylist
          • Vl-programlist
          • Vl-paramvaluelist
          • Vl-packagelist
          • Vl-namedparamvaluelist
          • Vl-namedarglist
          • Vl-modulelist
          • Vl-modportlist
          • Vl-modport-portlist
          • Vl-interfacelist
          • Vl-initiallist
          • Vl-genvarlist
          • Vl-fwdtypedeflist
          • Vl-evatomlist
          • Vl-enumitemlist
          • Vl-distlist
          • Vl-configlist
          • Vl-alwayslist
          • Vl-aliaslist
          • Vl-regularportlist
          • Vl-rangelist-list
          • Vl-rangelist
          • Vl-paramdecllist-list
          • Vl-modelementlist
          • Vl-maybe-range-list
          • Vl-interfaceportlist
          • Vl-argumentlist
          • Data-types
        • Getting-started
        • Utilities
        • Loader
        • Transforms
        • Lint
        • Mlib
        • Server
        • Kit
        • Printer
        • Esim-vl
        • Well-formedness
      • Sv
      • Fgl
      • Vwsim
      • Vl
      • X86isa
      • Svl
      • Rtl
    • Software-verification
    • Math
    • Testing-utilities
  • Vl-atomguts

Vl-atomguts-p

Recognizer for vl-atomguts.

Signature
(vl-atomguts-p x) → *

Definitions and Theorems

Function: vl-atomguts-p

(defun vl-atomguts-p (x)
  (declare (xargs :guard t))
  (let ((__function__ 'vl-atomguts-p))
    (declare (ignorable __function__))
    (common-lisp::case (tag x)
      ((:vl-constint) (vl-constint-p x))
      ((:vl-weirdint) (vl-weirdint-p x))
      ((:vl-extint) (vl-extint-p x))
      ((:vl-string) (vl-string-p x))
      ((:vl-real) (vl-real-p x))
      ((:vl-id) (vl-id-p x))
      ((:vl-hidpiece) (vl-hidpiece-p x))
      ((:vl-funname) (vl-funname-p x))
      ((:vl-sysfunname) (vl-sysfunname-p x))
      ((:vl-typename) (vl-typename-p x))
      ((:vl-keyguts) (vl-keyguts-p x))
      ((:vl-time) (vl-time-p x))
      ((:vl-basictype) (vl-basictype-p x))
      (otherwise (vl-tagname-p x)))))

Theorem: consp-when-vl-atomguts-p

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

Theorem: vl-atomguts-p-when-vl-constint-p

(defthm vl-atomguts-p-when-vl-constint-p
  (implies (vl-constint-p x)
           (vl-atomguts-p x))
  :rule-classes ((:rewrite :backchain-limit-lst 1)))

Theorem: vl-atomguts-p-when-vl-weirdint-p

(defthm vl-atomguts-p-when-vl-weirdint-p
  (implies (vl-weirdint-p x)
           (vl-atomguts-p x))
  :rule-classes ((:rewrite :backchain-limit-lst 1)))

Theorem: vl-atomguts-p-when-vl-extint-p

(defthm vl-atomguts-p-when-vl-extint-p
  (implies (vl-extint-p x)
           (vl-atomguts-p x))
  :rule-classes ((:rewrite :backchain-limit-lst 1)))

Theorem: vl-atomguts-p-when-vl-string-p

(defthm vl-atomguts-p-when-vl-string-p
  (implies (vl-string-p x)
           (vl-atomguts-p x))
  :rule-classes ((:rewrite :backchain-limit-lst 1)))

Theorem: vl-atomguts-p-when-vl-real-p

(defthm vl-atomguts-p-when-vl-real-p
  (implies (vl-real-p x)
           (vl-atomguts-p x))
  :rule-classes ((:rewrite :backchain-limit-lst 1)))

Theorem: vl-atomguts-p-when-vl-id-p

(defthm vl-atomguts-p-when-vl-id-p
  (implies (vl-id-p x) (vl-atomguts-p x))
  :rule-classes ((:rewrite :backchain-limit-lst 1)))

Theorem: vl-atomguts-p-when-vl-hidpiece-p

(defthm vl-atomguts-p-when-vl-hidpiece-p
  (implies (vl-hidpiece-p x)
           (vl-atomguts-p x))
  :rule-classes ((:rewrite :backchain-limit-lst 1)))

Theorem: vl-atomguts-p-when-vl-funname-p

(defthm vl-atomguts-p-when-vl-funname-p
  (implies (vl-funname-p x)
           (vl-atomguts-p x))
  :rule-classes ((:rewrite :backchain-limit-lst 1)))

Theorem: vl-atomguts-p-when-vl-sysfunname-p

(defthm vl-atomguts-p-when-vl-sysfunname-p
  (implies (vl-sysfunname-p x)
           (vl-atomguts-p x))
  :rule-classes ((:rewrite :backchain-limit-lst 1)))

Theorem: vl-atomguts-p-when-vl-typename-p

(defthm vl-atomguts-p-when-vl-typename-p
  (implies (vl-typename-p x)
           (vl-atomguts-p x))
  :rule-classes ((:rewrite :backchain-limit-lst 1)))

Theorem: vl-atomguts-p-when-vl-keyguts-p

(defthm vl-atomguts-p-when-vl-keyguts-p
  (implies (vl-keyguts-p x)
           (vl-atomguts-p x))
  :rule-classes ((:rewrite :backchain-limit-lst 1)))

Theorem: vl-atomguts-p-when-vl-time-p

(defthm vl-atomguts-p-when-vl-time-p
  (implies (vl-time-p x)
           (vl-atomguts-p x))
  :rule-classes ((:rewrite :backchain-limit-lst 1)))

Theorem: vl-atomguts-p-when-vl-basictype-p

(defthm vl-atomguts-p-when-vl-basictype-p
  (implies (vl-basictype-p x)
           (vl-atomguts-p x))
  :rule-classes ((:rewrite :backchain-limit-lst 1)))

Theorem: vl-atomguts-p-when-vl-tagname-p

(defthm vl-atomguts-p-when-vl-tagname-p
  (implies (vl-tagname-p x)
           (vl-atomguts-p x))
  :rule-classes ((:rewrite :backchain-limit-lst 1)))

Theorem: vl-constint-p-by-tag-when-vl-atomguts-p

(defthm vl-constint-p-by-tag-when-vl-atomguts-p
  (implies (and (or (equal (tag x) :vl-constint))
                (vl-atomguts-p x))
           (vl-constint-p x))
  :rule-classes ((:rewrite :backchain-limit-lst 1)))

Theorem: vl-weirdint-p-by-tag-when-vl-atomguts-p

(defthm vl-weirdint-p-by-tag-when-vl-atomguts-p
  (implies (and (or (equal (tag x) :vl-weirdint))
                (vl-atomguts-p x))
           (vl-weirdint-p x))
  :rule-classes ((:rewrite :backchain-limit-lst 1)))

Theorem: vl-extint-p-by-tag-when-vl-atomguts-p

(defthm vl-extint-p-by-tag-when-vl-atomguts-p
  (implies (and (or (equal (tag x) :vl-extint))
                (vl-atomguts-p x))
           (vl-extint-p x))
  :rule-classes ((:rewrite :backchain-limit-lst 1)))

Theorem: vl-string-p-by-tag-when-vl-atomguts-p

(defthm vl-string-p-by-tag-when-vl-atomguts-p
  (implies (and (or (equal (tag x) :vl-string))
                (vl-atomguts-p x))
           (vl-string-p x))
  :rule-classes ((:rewrite :backchain-limit-lst 1)))

Theorem: vl-real-p-by-tag-when-vl-atomguts-p

(defthm vl-real-p-by-tag-when-vl-atomguts-p
  (implies (and (or (equal (tag x) :vl-real))
                (vl-atomguts-p x))
           (vl-real-p x))
  :rule-classes ((:rewrite :backchain-limit-lst 1)))

Theorem: vl-id-p-by-tag-when-vl-atomguts-p

(defthm vl-id-p-by-tag-when-vl-atomguts-p
  (implies (and (or (equal (tag x) :vl-id))
                (vl-atomguts-p x))
           (vl-id-p x))
  :rule-classes ((:rewrite :backchain-limit-lst 1)))

Theorem: vl-hidpiece-p-by-tag-when-vl-atomguts-p

(defthm vl-hidpiece-p-by-tag-when-vl-atomguts-p
  (implies (and (or (equal (tag x) :vl-hidpiece))
                (vl-atomguts-p x))
           (vl-hidpiece-p x))
  :rule-classes ((:rewrite :backchain-limit-lst 1)))

Theorem: vl-funname-p-by-tag-when-vl-atomguts-p

(defthm vl-funname-p-by-tag-when-vl-atomguts-p
  (implies (and (or (equal (tag x) :vl-funname))
                (vl-atomguts-p x))
           (vl-funname-p x))
  :rule-classes ((:rewrite :backchain-limit-lst 1)))

Theorem: vl-sysfunname-p-by-tag-when-vl-atomguts-p

(defthm vl-sysfunname-p-by-tag-when-vl-atomguts-p
  (implies (and (or (equal (tag x) :vl-sysfunname))
                (vl-atomguts-p x))
           (vl-sysfunname-p x))
  :rule-classes ((:rewrite :backchain-limit-lst 1)))

Theorem: vl-typename-p-by-tag-when-vl-atomguts-p

(defthm vl-typename-p-by-tag-when-vl-atomguts-p
  (implies (and (or (equal (tag x) :vl-typename))
                (vl-atomguts-p x))
           (vl-typename-p x))
  :rule-classes ((:rewrite :backchain-limit-lst 1)))

Theorem: vl-keyguts-p-by-tag-when-vl-atomguts-p

(defthm vl-keyguts-p-by-tag-when-vl-atomguts-p
  (implies (and (or (equal (tag x) :vl-keyguts))
                (vl-atomguts-p x))
           (vl-keyguts-p x))
  :rule-classes ((:rewrite :backchain-limit-lst 1)))

Theorem: vl-time-p-by-tag-when-vl-atomguts-p

(defthm vl-time-p-by-tag-when-vl-atomguts-p
  (implies (and (or (equal (tag x) :vl-time))
                (vl-atomguts-p x))
           (vl-time-p x))
  :rule-classes ((:rewrite :backchain-limit-lst 1)))

Theorem: vl-basictype-p-by-tag-when-vl-atomguts-p

(defthm vl-basictype-p-by-tag-when-vl-atomguts-p
  (implies (and (or (equal (tag x) :vl-basictype))
                (vl-atomguts-p x))
           (vl-basictype-p x))
  :rule-classes ((:rewrite :backchain-limit-lst 1)))

Theorem: vl-tagname-p-by-tag-when-vl-atomguts-p

(defthm vl-tagname-p-by-tag-when-vl-atomguts-p
  (implies (and (or (equal (tag x) :vl-tagname))
                (vl-atomguts-p x))
           (vl-tagname-p x))
  :rule-classes ((:rewrite :backchain-limit-lst 1)))

Theorem: vl-atomguts-p-when-invalid-tag

(defthm vl-atomguts-p-when-invalid-tag
  (implies (and (not (equal (tag x) :vl-constint))
                (not (equal (tag x) :vl-weirdint))
                (not (equal (tag x) :vl-extint))
                (not (equal (tag x) :vl-string))
                (not (equal (tag x) :vl-real))
                (not (equal (tag x) :vl-id))
                (not (equal (tag x) :vl-hidpiece))
                (not (equal (tag x) :vl-funname))
                (not (equal (tag x) :vl-sysfunname))
                (not (equal (tag x) :vl-typename))
                (not (equal (tag x) :vl-keyguts))
                (not (equal (tag x) :vl-time))
                (not (equal (tag x) :vl-basictype))
                (not (equal (tag x) :vl-tagname)))
           (not (vl-atomguts-p x)))
  :rule-classes ((:rewrite :backchain-limit-lst 0)))

Theorem: tag-when-vl-atomguts-p-forward

(defthm tag-when-vl-atomguts-p-forward
  (implies (vl-atomguts-p x)
           (or (equal (tag x) :vl-constint)
               (equal (tag x) :vl-weirdint)
               (equal (tag x) :vl-extint)
               (equal (tag x) :vl-string)
               (equal (tag x) :vl-real)
               (equal (tag x) :vl-id)
               (equal (tag x) :vl-hidpiece)
               (equal (tag x) :vl-funname)
               (equal (tag x) :vl-sysfunname)
               (equal (tag x) :vl-typename)
               (equal (tag x) :vl-keyguts)
               (equal (tag x) :vl-time)
               (equal (tag x) :vl-basictype)
               (equal (tag x) :vl-tagname)))
  :rule-classes ((:forward-chaining)))

Subtopics

Vl-fast-weirdint-p
Faster version of vl-weirdint-p, given that vl-atomguts-p is already known.
Vl-fast-typename-p
Faster version of vl-typename-p, given that vl-atomguts-p is already known.
Vl-fast-sysfunname-p
Faster version of vl-sysfunname-p, given that vl-atomguts-p is already known.
Vl-fast-string-p
Faster version of vl-string-p, given that vl-atomguts-p is already known.
Vl-fast-hidpiece-p
Faster version of vl-hidpiece-p, given that vl-atomguts-p is already known.
Vl-fast-funname-p
Faster version of vl-funname-p, given that vl-atomguts-p is already known.
Vl-fast-constint-p
Faster version of vl-constint-p, given that vl-atomguts-p is already known.
Vl-jp-atomguts
Vl-fast-id-p
Faster version of vl-id-p, given that vl-atomguts-p is already known.