• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Community
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
      • Sv
      • Fgl
      • Vwsim
      • Vl
        • Syntax
        • Loader
          • Preprocessor
          • Vl-loadconfig
          • Vl-loadstate
            • Vl-loadstate-p
            • Vl-loadstate-fix
            • Make-vl-loadstate
            • Vl-loadstate->descalist
            • Vl-loadstate-equiv
            • Vl-loadstate->descs
              • Change-vl-loadstate
              • Vl-loadstate->spcache
              • Vl-loadstate->reportcard
              • Vl-loadstate->pstate
              • Vl-loadstate->iskips
              • Vl-loadstate->ifdefmap
              • Vl-loadstate->idcache
              • Vl-loadstate->filemap
              • Vl-loadstate-warn
              • Vl-loadstate-fatal
              • Vl-loadstate->defmap
              • Vl-loadstate->defines
              • Vl-loadstate->config
              • Vl-loadstate->bytes
              • Vl-loadstate-set-warnings
            • Lexer
            • Parser
            • Vl-load-merge-descriptions
            • Vl-find-basename/extension
            • Vl-load-file
            • Vl-loadresult
            • Scope-of-defines
            • Vl-find-file
            • Vl-flush-out-descriptions
            • Vl-description
            • Vl-read-file
            • Vl-includeskips-report-gather
            • Vl-load-main
            • Extended-characters
            • Vl-load
            • Vl-load-description
            • Vl-descriptions-left-to-load
            • Inject-warnings
            • Vl-preprocess-debug
            • Vl-write-preprocessor-debug-file
            • Vl-read-file-report-gather
            • Vl-load-descriptions
            • Vl-load-files
            • Translate-off
            • Vl-load-read-file-hook
            • Vl-read-file-report
            • Vl-loadstate-pad
            • Vl-load-summary
            • Vl-collect-modules-from-descriptions
            • Vl-loadstate->warnings
            • Vl-iskips-report
            • Vl-descriptionlist
          • Warnings
          • Getting-started
          • Utilities
          • Printer
          • Kit
          • Mlib
          • Transforms
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Vl-loadstate

    Vl-loadstate->descs

    Get the descs field from a vl-loadstate.

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

    This is an ordinary field accessor created by defprod.

    Definitions and Theorems

    Function: vl-loadstate->descs$inline

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

    Theorem: vl-descriptionlist-p-of-vl-loadstate->descs

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

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

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

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

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