• 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->reportcard

    Get the reportcard field from a vl-loadstate.

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

    This is an ordinary field accessor created by defprod.

    Definitions and Theorems

    Function: vl-loadstate->reportcard$inline

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

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

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

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

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

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

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