• 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-iframe-p
            • Preprocessor-ifdef-minutia
            • Vl-preprocess-loop
            • Vl-read-until-end-of-define
            • Vl-expand-define
            • Vl-read-include
              • Vl-read-include-prefix/remainder-thms
              • Vl-process-ifdef
              • Vl-substitute-into-macro-text
              • Vl-preprocess
              • Vl-define
              • Vl-process-define
              • Vl-process-undef
              • Preprocessor-include-minutia
              • Vl-split-define-text
              • Vl-read-timescale
              • Vl-line-up-define-formals-and-actuals
              • Vl-process-else
              • Vl-process-endif
              • Vl-istack-p
              • Vl-is-compiler-directive-p
              • Vl-check-remaining-formals-all-have-defaults
              • Vl-safe-previous-n
              • Vl-safe-next-n
              • Vl-defines
              • *vl-preprocess-clock*
            • Vl-loadconfig
            • Lexer
            • 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-include
    • Def-prefix/remainder-thms

    Vl-read-include-prefix/remainder-thms

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

    Definitions and Theorems

    Theorem: prefix-of-vl-read-include

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

    Theorem: remainder-of-vl-read-include

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

    Theorem: append-of-vl-read-include

    (defthm append-of-vl-read-include
      (equal (append (mv-nth 1 (vl-read-include echars config))
                     (mv-nth 2 (vl-read-include echars config)))
             echars))

    Theorem: no-change-loser-of-vl-read-include

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

    Theorem: acl2-count-of-vl-read-include-weak

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

    Theorem: acl2-count-of-vl-read-include-strong

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