• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Community
    • Proof-automation
    • ACL2
    • Macro-libraries
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
      • Sv
        • Svex-stvs
          • Svtv-data
          • Defsvtv$
          • Svtv-run
          • Defsvtv-phasewise
          • Svtv
          • Svtv-spec
          • Defsvtv
          • Process.lisp
          • Svtv-doc
            • Svtv-to-xml
            • Stv-entry-to-xml
            • Stv-line-to-xml
            • Stv-entries-to-xml
            • Stv-lines-to-xml
              • 4vec-to-bitwise-chars
              • Stv-repeat-last-entry
              • Stv-repeat-last-entries
              • 4vec-to-hex-chars
              • 4vec-to-hex-char
              • Stv-name-to-xml
              • Stv-labels-to-xml
              • 4vec-to-xml-chars
            • Svtv-chase$
            • Svtv-versus-stv
            • Svtv-debug-fsm
            • Structure.lisp
            • Svtv-debug
            • Def-pipeline-thm
            • Expand.lisp
            • Def-cycle-thm
            • Svtv-utilities
            • Svtv-debug$
            • Defsvtv$-phasewise
          • Svex-decomposition-methodology
          • Sv-versus-esim
          • Svex-decomp
          • Svex-compose-dfs
          • Svex-compilation
          • Moddb
          • Svmods
          • Svstmt
          • Sv-tutorial
          • Expressions
          • Symbolic-test-vector
          • Vl-to-svex
        • Fgl
        • Vwsim
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Svtv-doc

    Stv-lines-to-xml

    Signature
    (stv-lines-to-xml lines expansions acc) → acc
    Arguments
    lines — Guard (true-list-listp lines).
    expansions — Guard (svtv-lines-p 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)
                                  (svtv-lines-p expansions))))
      (let ((__function__ 'stv-lines-to-xml))
        (declare (ignorable __function__))
        (b* (((when (atom lines)) acc)
             ((cons expansion1 rest-expansions)
              (if (atom expansions)
                  (cons nil nil)
                expansions))
             (acc (stv-line-to-xml (car lines)
                                   expansion1 acc)))
          (stv-lines-to-xml (cdr lines)
                            rest-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)