• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Debugging
    • Projects
    • 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
          • Vl-loadstate
            • Vl-loadstate-fix
            • Vl-loadstate-p
            • Make-vl-loadstate
            • Vl-loadstate-equiv
            • Change-vl-loadstate
            • Vl-loadstate->reportcard
            • Vl-loadstate->descalist
            • Vl-loadstate->pstate
            • Vl-loadstate->filemap
              • Vl-loadstate->descs
              • Vl-loadstate->defines
              • Vl-loadstate->config
            • 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
        • Vwsim
        • Fgl
        • Vl
        • Svl
        • X86isa
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Vl-loadstate

    Vl-loadstate->filemap

    Get the filemap field from a vl-loadstate.

    Signature
    (vl-loadstate->filemap x) → filemap
    Arguments
    x — Guard (vl-loadstate-p x).
    Returns
    filemap — Type (vl-filemap-p filemap).

    This is an ordinary field accessor created by defprod.

    Definitions and Theorems

    Function: vl-loadstate->filemap$inline

    (defun vl-loadstate->filemap$inline (x)
     (declare (xargs :guard (vl-loadstate-p x)))
     (declare (xargs :guard t))
     (let ((__function__ 'vl-loadstate->filemap))
      (declare (ignorable __function__))
      (mbe
        :logic
        (b* ((x (and t x)))
          (vl-filemap-fix
               (std::prod-cdr (std::prod-cdr (std::prod-cdr (cdr x))))))
        :exec (std::prod-cdr (std::prod-cdr (std::prod-cdr (cdr x)))))))

    Theorem: vl-filemap-p-of-vl-loadstate->filemap

    (defthm vl-filemap-p-of-vl-loadstate->filemap
      (b* ((filemap (vl-loadstate->filemap$inline x)))
        (vl-filemap-p filemap))
      :rule-classes :rewrite)

    Theorem: vl-loadstate->filemap$inline-of-vl-loadstate-fix-x

    (defthm vl-loadstate->filemap$inline-of-vl-loadstate-fix-x
      (equal (vl-loadstate->filemap$inline (vl-loadstate-fix x))
             (vl-loadstate->filemap$inline x)))

    Theorem: vl-loadstate->filemap$inline-vl-loadstate-equiv-congruence-on-x

    (defthm
        vl-loadstate->filemap$inline-vl-loadstate-equiv-congruence-on-x
      (implies (vl-loadstate-equiv x x-equiv)
               (equal (vl-loadstate->filemap$inline x)
                      (vl-loadstate->filemap$inline x-equiv)))
      :rule-classes :congruence)