• 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-octal-value
    • Def-prefix/remainder-thms

    Vl-read-octal-value-prefix/remainder-thms

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

    Definitions and Theorems

    Theorem: prefix-of-vl-read-octal-value

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

    Theorem: remainder-of-vl-read-octal-value

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

    Theorem: append-of-vl-read-octal-value

    (defthm append-of-vl-read-octal-value
      (equal (append (mv-nth 0 (vl-read-octal-value echars))
                     (mv-nth 1 (vl-read-octal-value echars)))
             echars))

    Theorem: no-change-loser-of-vl-read-octal-value

    (defthm no-change-loser-of-vl-read-octal-value
      (implies (not (mv-nth 0 (vl-read-octal-value echars)))
               (equal (mv-nth 1 (vl-read-octal-value echars))
                      echars)))

    Theorem: acl2-count-of-vl-read-octal-value-weak

    (defthm acl2-count-of-vl-read-octal-value-weak
      (<= (acl2-count (mv-nth 1 (vl-read-octal-value echars)))
          (acl2-count echars))
      :rule-classes ((:rewrite) (:linear)))

    Theorem: acl2-count-of-vl-read-octal-value-strong

    (defthm acl2-count-of-vl-read-octal-value-strong
      (implies (mv-nth 0 (vl-read-octal-value echars))
               (< (acl2-count (mv-nth 1 (vl-read-octal-value echars)))
                  (acl2-count echars)))
      :rule-classes ((:rewrite) (:linear)))