• Top
    • Documentation
    • Books
    • Recursion-and-induction
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
        • Symbolic-test-vectors
          • Defstv
          • Stv-compile
          • Symbolic-test-vector-format
          • Stv-implementation-details
          • Compiled-stv-p
          • Stv-run-for-all-dontcares
          • Stv-run
          • Stv-process
          • Stv-run-check-dontcares
          • Symbolic-test-vector-composition
          • Stv-expand
          • Stv-easy-bindings
          • Stv-debug
          • Stv-run-squash-dontcares
          • Stvdata-p
          • Stv-doc
          • Stv2c
            • Stv2c-opts-p
            • Stv2c-c-symbol-names
            • Stv2c-outs-structdef
            • Stv2c-ins-structdef
            • Stv2c-c-symbol-name
              • Stv2c-tailchars-p
                • Stv2c-tailchars-p-basics
              • Stv2c-tailchar-p
            • Stv2c-header
            • Stv2c-main
          • Stv-widen
          • Stv-out->width
          • Stv-in->width
          • Stv->outs
          • Stv-number-of-phases
          • Stv->ins
          • Stv-suffix-signals
          • Stv->vars
        • Esim-primitives
        • E-conversion
        • Esim-steps
        • Patterns
        • Mod-internal-paths
        • Defmodules
        • Esim-simplify-update-fns
        • Esim-tutorial
        • Esim-vl
      • Vl2014
      • Sv
      • Vwsim
      • Fgl
      • Vl
      • X86isa
      • Svl
      • Rtl
    • Software-verification
    • Testing-utilities
    • Math
  • Stv2c-c-symbol-name

Stv2c-tailchars-p

(stv2c-tailchars-p x) recognizes lists where every element satisfies stv2c-tailchar-p.

Signature
(stv2c-tailchars-p x) → std::bool

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

Definitions and Theorems

Function: stv2c-tailchars-p

(defun stv2c-tailchars-p (x)
       (declare (xargs :guard (character-listp x)))
       (let ((__function__ 'stv2c-tailchars-p))
            (declare (ignorable __function__))
            (if (consp x)
                (and (stv2c-tailchar-p (car x))
                     (stv2c-tailchars-p (cdr x)))
                t)))

Subtopics

Stv2c-tailchars-p-basics
Basic theorems about stv2c-tailchars-p, generated by std::deflist.