• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
      • Sv
      • Fgl
      • Vwsim
      • Vl
        • Syntax
        • Loader
        • Warnings
        • Getting-started
        • Utilities
        • Printer
        • Kit
        • Mlib
        • Transforms
          • Unparameterization
          • Elaborate
          • Addnames
          • Annotate
            • Increment-elim
            • Make-implicit-wires
            • Basic-bind-elim
              • Vl-modulelist-apply-binddelta
              • Vl-interfacelist-apply-binddelta
              • Vl-bindelim-main
              • Vl-bindelim-bindlist
              • Vl-bindelim-find-global-target
              • Vl-interfacelist-bindelim
              • Vl-modulelist-bindelim
              • Vl-interface-bindelim
              • Vl-module-bindelim
              • Vl-bindelim-institem
                • Vl-bindelim-institem-fix
                • Vl-bindelim-institem-equiv
                • Make-vl-bindelim-institem
                • Vl-bindelim-institem->inst
                  • Vl-bindelim-institem->ctx
                  • Vl-bindelim-institem->bindp
                  • Vl-bindelim-institem->genp
                  • Change-vl-bindelim-institem
                  • Vl-bindelim-institem-p
                • Vl-warn-bindintentlist-undefined
                • Vl-warn-bindintent-undefined
                • Vl-interfacelist-bindelim-insttable
                • Vl-modulelist-bindelim-insttable
                • Vl-warn-binddelta-undefined
                • Vl-interface-bindelim-insttable
                • Vl-interface-apply-binddelta
                • Vl-design-bindelim-pass2
                • Vl-bindelim-modinstlist-add-atts
                • Vl-module-bindelim-insttable
                • Vl-module-apply-binddelta
                • Vl-bindelim-modinst-add-atts
                • Vl-design-bindelim-pass1
                • Vl-bindcontext
                • Vl-bindintent->modinsts
                • Vl-bindelim-insttable
                • Vl-bindintentlist->modinsts
                • Vl-binddelta
                • Vl-design-bindelim
                • Vl-bindelim-institemlist
              • Argresolve
              • Basicsanity
              • Portdecl-sign
              • Enum-names
              • Port-resolve
              • Udp-elim
              • Vl-annotate-design
              • Vl-annotate-module
            • Clean-warnings
            • Eliminitial
            • Custom-transform-hooks
            • Problem-modules
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Vl-bindelim-institem

    Vl-bindelim-institem->inst

    Get the inst field from a vl-bindelim-institem.

    Signature
    (vl-bindelim-institem->inst x) → inst
    Arguments
    x — Guard (vl-bindelim-institem-p x).
    Returns
    inst — Type (vl-modinst-p inst).

    This is an ordinary field accessor created by defprod.

    Definitions and Theorems

    Function: vl-bindelim-institem->inst$inline

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

    Theorem: vl-modinst-p-of-vl-bindelim-institem->inst

    (defthm vl-modinst-p-of-vl-bindelim-institem->inst
      (b* ((inst (vl-bindelim-institem->inst$inline x)))
        (vl-modinst-p inst))
      :rule-classes :rewrite)

    Theorem: vl-bindelim-institem->inst$inline-of-vl-bindelim-institem-fix-x

    (defthm
        vl-bindelim-institem->inst$inline-of-vl-bindelim-institem-fix-x
     (equal
        (vl-bindelim-institem->inst$inline (vl-bindelim-institem-fix x))
        (vl-bindelim-institem->inst$inline x)))

    Theorem: vl-bindelim-institem->inst$inline-vl-bindelim-institem-equiv-congruence-on-x

    (defthm
     vl-bindelim-institem->inst$inline-vl-bindelim-institem-equiv-congruence-on-x
     (implies (vl-bindelim-institem-equiv x x-equiv)
              (equal (vl-bindelim-institem->inst$inline x)
                     (vl-bindelim-institem->inst$inline x-equiv)))
     :rule-classes :congruence)