• 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
        • Server
          • Vls-commands
            • Vls-command-args-to-eformals
            • Vls-commandinfo-p
            • Vls-success
            • Vls-commandinfolist-p
              • Vls-commandinfolist-p-basics
            • Commands-table
            • Define-vls-command-fn
            • Vls-fail-fn
            • Vls-fail
            • Vls-command-arg-to-eformal
            • Vls-commandtype-p
            • Get-vls-commands
          • Vl-descriptionlist-summaries
          • Vls-transdb
          • File-layout
          • Vls-data-p
          • Ts-queue
          • Vls-showloc
          • Vls-get-plainsrc
          • Vl-description->warnings
          • Vl-describe
          • Vls-port-table
          • Vls-describe
          • Vls-data-from-translation
          • Vl-find-description-insensitive
          • Vls-get-warnings
          • Vls-get-summary
          • Vls-get-origsrc
          • Vls-data-origname-reportcard
          • Vls-get-parents
          • Vls-get-children
          • Vls-get-summaries
          • Vl-ppc-description
          • Vls-get-desctypes
          • Vl-description-summary
          • Start
          • Vl-descalist->descriptions/types
          • Stop
        • Kit
        • Printer
        • Esim-vl
        • Well-formedness
      • Sv
      • Fgl
      • Vwsim
      • Vl
      • X86isa
      • Svl
      • Rtl
    • Software-verification
    • Math
    • Testing-utilities
  • Vls-commands

Vls-commandinfolist-p

(vls-commandinfolist-p x) recognizes lists where every element satisfies vls-commandinfo-p.

Signature
(vls-commandinfolist-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: vls-commandinfolist-p

(defun vls-commandinfolist-p (x)
  (declare (xargs :guard t))
  (let ((__function__ 'vls-commandinfolist-p))
    (declare (ignorable __function__))
    (if (consp x)
        (and (vls-commandinfo-p (car x))
             (vls-commandinfolist-p (cdr x)))
      t)))

Subtopics

Vls-commandinfolist-p-basics
Basic theorems about vls-commandinfolist-p, generated by deflist.