• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
        • Warnings
        • Primitives
        • Use-set
        • Syntax
        • Getting-started
        • Utilities
        • Loader
          • Preprocessor
          • Vl-loadconfig
          • Lexer
            • Lex-strings
            • Lex-identifiers
            • Vl-typo-uppercase-p
            • Vl-typo-number-p
            • Vl-typo-lowercase-p
            • Lex-numbers
            • Chartypes
            • Vl-lex
            • Defchar
            • Tokens
            • Lex-keywords
            • Lexstate
            • Make-test-tokens
            • Lexer-utils
              • Def-prefix/remainder-thms
                • Vl-read-string-escape-sequence-prefix/remainder-thms
                  • Vl-read-non-zero-unsigned-number-prefix/remainder-thms
                  • Vl-read-through-literal-prefix/remainder-thms
                  • Vl-read-until-literal-prefix/remainder-thms
                  • Vl-read-some-literal-prefix/remainder-thms
                  • Vl-read-simple-identifier-prefix/remainder-thms
                  • Vl-read-octal-string-escape-prefix/remainder-thms
                  • Vl-read-hex-string-escape-prefix/remainder-thms
                  • Vl-read-escaped-identifier-prefix/remainder-thms
                  • Vl-read-unsigned-number-prefix/remainder-thms
                  • Vl-read-decimal-value-prefix/remainder-thms
                  • Vl-read-octal-value-prefix/remainder-thms
                  • Vl-read-decimal-base-prefix/remainder-thms
                  • Vl-read-binary-value-prefix/remainder-thms
                  • Vl-read-binary-base-prefix/remainder-thms
                  • Vl-read-timescale-prefix/remainder-thms
                  • Vl-read-time-unit-prefix/remainder-thms
                  • Vl-read-string-prefix/remainder-thms
                  • Vl-read-real-tail-prefix/remainder-thms
                  • Vl-read-octal-base-prefix/remainder-thms
                  • Vl-read-literal-prefix/remainder-thms
                  • Vl-read-include-prefix/remainder-thms
                  • Vl-read-hex-value-prefix/remainder-thms
                  • Vl-read-hex-base-prefix/remainder-thms
                  • Vl-read-any-base-prefix/remainder-thms
                • Def-token/remainder-thms
                • Vl-read-until-literal
                • Vl-read-through-literal
                • Vl-matches-string-p
                • Vl-read-literal
                • Vl-echarlist-kill-underscores
                • Vl-read-some-literal
              • Lex-comments
              • Vl-typo-uppercase-list-p
              • Vl-typo-lowercase-list-p
              • Vl-typo-number-list-p
            • Vl-loadstate
            • Parser
            • Vl-load-merge-descriptions
            • Scope-of-defines
            • Vl-load-file
            • Vl-flush-out-descriptions
            • Vl-description
            • Vl-loadresult
            • Vl-read-file
            • Vl-find-basename/extension
            • Vl-find-file
            • Vl-read-files
            • Extended-characters
            • Vl-load
            • Vl-load-main
            • Vl-load-description
            • Vl-descriptions-left-to-load
            • Inject-warnings
            • Vl-load-descriptions
            • Vl-load-files
            • Vl-load-summary
            • Vl-collect-modules-from-descriptions
            • Vl-descriptionlist
          • Transforms
          • Lint
          • Mlib
          • Server
          • Kit
          • Printer
          • Esim-vl
          • Well-formedness
        • Sv
        • Fgl
        • Vwsim
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Vl-read-string-escape-sequence
    • Def-prefix/remainder-thms

    Vl-read-string-escape-sequence-prefix/remainder-thms

    Prefix and remainder theorems for vl-read-string-escape-sequence, automatically generated by def-prefix/remainder-thms.

    Definitions and Theorems

    Theorem: prefix-of-vl-read-string-escape-sequence

    (defthm prefix-of-vl-read-string-escape-sequence
     (and
      (true-listp
           (mv-nth 1
                   (vl-read-string-escape-sequence echars config)))
      (implies
         (force (vl-echarlist-p echars))
         (vl-echarlist-p
              (mv-nth 1
                      (vl-read-string-escape-sequence echars config)))))
     :rule-classes
     ((:rewrite)
      (:type-prescription
        :corollary
        (true-listp
             (mv-nth 1
                     (vl-read-string-escape-sequence echars config))))))

    Theorem: remainder-of-vl-read-string-escape-sequence

    (defthm remainder-of-vl-read-string-escape-sequence
     (and
      (equal
           (true-listp
                (mv-nth 2
                        (vl-read-string-escape-sequence echars config)))
           (true-listp echars))
      (implies
         (force (vl-echarlist-p echars))
         (vl-echarlist-p
              (mv-nth 2
                      (vl-read-string-escape-sequence echars config)))))
     :rule-classes
     ((:rewrite)
      (:type-prescription
       :corollary
       (implies
        (true-listp echars)
        (true-listp
            (mv-nth 2
                    (vl-read-string-escape-sequence echars config)))))))

    Theorem: append-of-vl-read-string-escape-sequence

    (defthm append-of-vl-read-string-escape-sequence
     (equal
        (append (mv-nth 1
                        (vl-read-string-escape-sequence echars config))
                (mv-nth 2
                        (vl-read-string-escape-sequence echars config)))
        echars))

    Theorem: no-change-loser-of-vl-read-string-escape-sequence

    (defthm no-change-loser-of-vl-read-string-escape-sequence
     (implies
          (not (mv-nth 1
                       (vl-read-string-escape-sequence echars config)))
          (equal (mv-nth 2
                         (vl-read-string-escape-sequence echars config))
                 echars)))

    Theorem: acl2-count-of-vl-read-string-escape-sequence-weak

    (defthm acl2-count-of-vl-read-string-escape-sequence-weak
      (<= (acl2-count
               (mv-nth 2
                       (vl-read-string-escape-sequence echars config)))
          (acl2-count echars))
      :rule-classes ((:rewrite) (:linear)))

    Theorem: acl2-count-of-vl-read-string-escape-sequence-strong

    (defthm acl2-count-of-vl-read-string-escape-sequence-strong
     (implies
        (mv-nth 1
                (vl-read-string-escape-sequence echars config))
        (< (acl2-count
                (mv-nth 2
                        (vl-read-string-escape-sequence echars config)))
           (acl2-count echars)))
     :rule-classes ((:rewrite) (:linear)))