• 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
          • Expression-sizing
          • Occform
          • Oprewrite
          • Expand-functions
          • Delayredux
          • Unparameterization
          • Caseelim
          • Split
          • Selresolve
          • Weirdint-elim
          • Vl-delta
          • Replicate-insts
          • Rangeresolve
          • Propagate
          • Clean-selects
          • Clean-params
          • Blankargs
          • Inline-mods
          • Expr-simp
          • Trunc
          • Always-top
          • Gatesplit
          • Gate-elim
          • Expression-optimization
          • Elim-supplies
          • Wildelim
          • Drop-blankports
          • Clean-warnings
          • Addinstnames
          • Custom-transform-hooks
          • Annotate
          • Latchcode
            • Vl-latchcode-synth-always
            • Vl-match-latch-main
              • Vl-match-latchbody-form2
              • Vl-match-latchbody-form1
              • Vl-evatom-plain-p
              • Vl-match-latchbody
              • Vl-evatomlist-plain-p
                • Vl-evatomlist-plain-p-basics
            • Vl-careful-match-latch
            • Vl-careless-match-latch
            • Vl-latchcode-synth-alwayses
            • Vl-make-n-bit-latch-vec
            • Vl-make-n-bit-latch
          • Elim-unused-vars
          • Problem-modules
        • Lint
        • Mlib
        • Server
        • Kit
        • Printer
        • Esim-vl
        • Well-formedness
      • Sv
      • Fgl
      • Vwsim
      • Vl
      • X86isa
      • Svl
      • Rtl
    • Software-verification
    • Math
    • Testing-utilities
  • Vl-match-latch-main
  • Vl-evatomlist-p

Vl-evatomlist-plain-p

(vl-evatomlist-plain-p x) recognizes lists where every element satisfies vl-evatom-plain-p.

Signature
(vl-evatomlist-plain-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-evatomlist-plain-p

(defun vl-evatomlist-plain-p (x)
  (declare (xargs :guard (vl-evatomlist-p x)))
  (let ((__function__ 'vl-evatomlist-plain-p))
    (declare (ignorable __function__))
    (if (consp x)
        (and (vl-evatom-plain-p (car x))
             (vl-evatomlist-plain-p (cdr x)))
      t)))

Theorem: vl-idexprlist-p-of-vl-evatomlist->exprs

(defthm vl-idexprlist-p-of-vl-evatomlist->exprs
  (implies (vl-evatomlist-plain-p x)
           (vl-idexprlist-p (vl-evatomlist->exprs x))))

Subtopics

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