• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Community
    • 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
          • Lvalexprs
          • Hierarchy
          • Finding-by-name
          • Expr-tools
          • Expr-slicing
          • Stripping-functions
          • Stmt-tools
            • Vl-rebuild-caselist
            • Vl-stmt-atomicstmts
            • Vl-compoundstmt->stmts
            • Change-vl-compoundstmt
            • Vl-compoundstmt->vardecls
            • Vl-compoundstmt->paramdecls
            • Vl-compoundstmt->exprs
            • Vl-compoundstmt->ctrl
            • Vl-atomicstmt-p
            • Vl-atomicstmtlist-p
              • Vl-atomicstmtlist-p-basics
            • Vl-stmt->atts
            • Vl-vardecllist->initvals
            • Vl-assignstmt-p
            • Vl-whilestmt-p
            • Vl-timingstmt-p
            • Vl-repeatstmt-p
            • Vl-foreverstmt-p
            • Vl-enablestmt-p
            • Vl-waitstmt-p
            • Vl-nullstmt-p
            • Vl-ifstmt-p
            • Vl-forstmt-p
            • Vl-casestmt-p
          • 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
  • Stmt-tools

Vl-atomicstmtlist-p

(vl-atomicstmtlist-p x) recognizes lists where every element satisfies vl-atomicstmt-p.

Signature
(vl-atomicstmtlist-p x) → std::bool

This is an ordinary deflist. It is "loose" in that it does not care whether x is nil-terminated.

Definitions and Theorems

Function: vl-atomicstmtlist-p

(defun vl-atomicstmtlist-p (x)
  (declare (xargs :guard (vl-stmtlist-p x)))
  (let ((__function__ 'vl-atomicstmtlist-p))
    (declare (ignorable __function__))
    (if (consp x)
        (and (vl-atomicstmt-p (car x))
             (vl-atomicstmtlist-p (cdr x)))
      t)))

Theorem: vl-atomicstmtlist-p-of-vl-stmtlist-fix-x

(defthm vl-atomicstmtlist-p-of-vl-stmtlist-fix-x
  (equal (vl-atomicstmtlist-p (vl-stmtlist-fix x))
         (vl-atomicstmtlist-p x)))

Theorem: vl-atomicstmtlist-p-vl-stmtlist-equiv-congruence-on-x

(defthm vl-atomicstmtlist-p-vl-stmtlist-equiv-congruence-on-x
  (implies (vl-stmtlist-equiv x x-equiv)
           (equal (vl-atomicstmtlist-p x)
                  (vl-atomicstmtlist-p x-equiv)))
  :rule-classes :congruence)

Subtopics

Vl-atomicstmtlist-p-basics
Basic theorems about vl-atomicstmtlist-p, generated by deflist.