• 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
        • Server
        • Kit
        • Printer
          • Ps
          • Basic-printing
          • Verilog-printing
          • Printing-locally
          • Formatted-printing
          • Accessing-printed-output
          • Vl-printedlist
            • Vl-printedlist-fix
            • Vl-printedlist-p
            • Vl-printedlist-equiv
            • Vl-printedlist->string
            • Vl-printed-p
              • Vl-printed-fix
          • Json-printing
        • Esim-vl
        • Well-formedness
      • Sv
      • Fgl
      • Vwsim
      • Vl
      • X86isa
      • Svl
      • Rtl
    • Software-verification
    • Math
    • Testing-utilities
  • Vl-printedlist

Vl-printed-p

Recognize a printed object (string or character).

Signature
(vl-printed-p x) → *

Definitions and Theorems

Function: vl-printed-p

(defun vl-printed-p (x)
  (declare (xargs :guard t))
  (let ((__function__ 'vl-printed-p))
    (declare (ignorable __function__))
    (or (characterp x) (stringp x))))

Theorem: vl-printed-p-cr

(defthm vl-printed-p-cr
  (equal (vl-printed-p x)
         (or (characterp x) (stringp x)))
  :rule-classes :compound-recognizer)

Theorem: vl-printed-p-by-backchaining

(defthm vl-printed-p-by-backchaining
  (implies (or (characterp x) (stringp x))
           (vl-printed-p x)))

Subtopics

Vl-printed-fix
Fixing function for vl-printed-p objects.