• 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-name-to-xml

    Encode the name of an STV line.

    Signature
    (stv-name-to-xml name acc) → acc
    Returns
    acc — Type (character-listp acc), given (character-listp acc).

    Definitions and Theorems

    Function: stv-name-to-xml

    (defun stv-name-to-xml (name acc)
      (declare (xargs :guard t))
      (let ((__function__ 'stv-name-to-xml))
        (declare (ignorable __function__))
        (b* (((when (stringp name))
              (b* (((mv ?col acc)
                    (str::html-encode-string-aux name 0 (length name)
                                                 0 8 acc)))
                acc))
             (str (str::pretty name))
             ((mv ?col acc)
              (str::html-encode-string-aux str 0 (length str)
                                           0 8 acc)))
          acc)))

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

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