• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Community
    • 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
            • Stv-to-xml
            • Stv-name-bits-to-xml
            • Stv-entry-to-xml
            • Stv-line-to-xml
            • Stv-entries-to-xml
            • Stv-lines-to-xml
              • Stv-name-to-xml
              • Stv-labels-to-xml
            • Stv2c
            • Stv-widen
            • Stv-out->width
            • Stv-in->width
            • Stv-number-of-phases
            • Stv->outs
            • 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
        • Fgl
        • Vwsim
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Stv-doc

    Stv-lines-to-xml

    Signature
    (stv-lines-to-xml lines expansions acc) → acc
    Arguments
    lines — Guard (true-list-listp lines).
    expansions — Guard (true-list-listp expansions).
    Returns
    acc — Type (character-listp acc), given (character-listp acc).

    Definitions and Theorems

    Function: stv-lines-to-xml

    (defun stv-lines-to-xml (lines expansions acc)
      (declare (xargs :guard (and (true-list-listp lines)
                                  (true-list-listp expansions))))
      (let ((__function__ 'stv-lines-to-xml))
        (declare (ignorable __function__))
        (b* (((when (atom lines)) acc)
             (acc (stv-line-to-xml (car lines)
                                   (car expansions)
                                   acc)))
          (stv-lines-to-xml (cdr lines)
                            (cdr expansions)
                            acc))))

    Theorem: character-listp-of-stv-lines-to-xml

    (defthm character-listp-of-stv-lines-to-xml
      (implies (character-listp acc)
               (b* ((acc (stv-lines-to-xml lines expansions acc)))
                 (character-listp acc)))
      :rule-classes :rewrite)