• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Community
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
        • Warnings
        • Primitives
        • Use-set
        • Syntax
        • Getting-started
        • Utilities
        • Loader
        • Transforms
        • Lint
        • Mlib
          • Scopestack
          • Filtering-by-name
          • Vl-namefactory
          • Substitution
          • Allexprs
            • Vl-packeddimensionlist-allexprs
            • Vl-namedparamvaluelist-allexprs
            • Vl-paramvaluelist-allexprs
            • Vl-paramdecllist-allexprs
            • Vl-vardecllist-allexprs
            • Vl-taskdecllist-allexprs
            • Vl-portdecllist-allexprs
            • Vl-plainarglist-allexprs
            • Vl-namedarglist-allexprs
            • Vl-modinstlist-allexprs
            • Vl-initiallist-allexprs
            • Vl-gateinstlist-allexprs
            • Vl-fundecllist-allexprs
            • Vl-enumitemlist-allexprs
            • Vl-rangelist-allexprs
            • Vl-modulelist-allexprs
            • Vl-evatomlist-allexprs
            • Vl-assignlist-allexprs
            • Vl-alwayslist-allexprs
            • Vl-aliaslist-allexprs
            • Vl-portlist-allexprs
            • Vl-maybe-delayoreventcontrol-allexprs
            • Vl-maybe-packeddimension-allexprs
            • Vl-delayoreventcontrol-allexprs
            • Vl-repeateventcontrol-allexprs
            • Vl-packeddimension-allexprs
            • Vl-namedparamvalue-allexprs
            • Vl-module-allexprs
              • Vl-module-allexprs-nrev
              • Vl-maybe-paramvalue-allexprs
              • Vl-maybe-gatedelay-allexprs
              • Vl-paramtype-allexprs
              • Vl-maybe-datatype-allexprs
              • Vl-taskdecl-allexprs
              • Vl-paramvalue-allexprs
              • Vl-paramargs-allexprs
              • Vl-modinst-allexprs
              • Vl-maybe-range-allexprs
              • Vl-maybe-expr-allexprs
              • Vl-gateinst-allexprs
              • Vl-gatedelay-allexprs
              • Vl-fundecl-allexprs
              • Vl-eventcontrol-allexprs
              • Vl-enumitem-allexprs
              • Vl-enumbasetype-allexprs
              • Vl-delaycontrol-allexprs
              • Vl-arguments-allexprs
              • Vl-vardecl-allexprs
              • Vl-portdecl-allexprs
              • Vl-plainarg-allexprs
              • Vl-paramdecl-allexprs
              • Vl-namedarg-allexprs
              • Vl-datatype-allexprs
              • Vl-assign-allexprs
              • Vl-range-allexprs
              • Vl-port-allexprs
              • Vl-initial-allexprs
              • Vl-evatom-allexprs
              • Vl-always-allexprs
              • Vl-alias-allexprs
              • Vl-stmt-allexprs
            • Hid-tools
            • Vl-consteval
            • Range-tools
            • Lvalexprs
            • Hierarchy
            • Finding-by-name
            • Expr-tools
            • Expr-slicing
            • Stripping-functions
            • Stmt-tools
            • Modnamespace
            • Vl-parse-expr-from-str
            • Welltyped
            • Reordering-by-name
            • Flat-warnings
            • Genblob
            • Expr-building
            • Datatype-tools
            • Syscalls
            • Relocate
            • Expr-cleaning
            • Namemangle
            • Caremask
            • Port-tools
            • Lvalues
          • Server
          • Kit
          • Printer
          • Esim-vl
          • Well-formedness
        • Sv
        • Fgl
        • Vwsim
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Vl-module-allexprs

    Vl-module-allexprs-nrev

    Signature
    (vl-module-allexprs-nrev x nrev) → nrev
    Arguments
    x — Guard (vl-module-p x).

    Definitions and Theorems

    Function: vl-module-allexprs-nrev$inline

    (defun vl-module-allexprs-nrev$inline (x nrev)
      (declare (xargs :stobjs (nrev)))
      (declare (xargs :guard (vl-module-p x)))
      (let ((__function__ 'vl-module-allexprs-nrev))
        (declare (ignorable __function__))
        (b* ((x (vl-module-fix x)))
          (b* (((vl-module x) x)
               (nrev (vl-portlist-allexprs-nrev x.ports nrev))
               (nrev (vl-portdecllist-allexprs-nrev x.portdecls nrev))
               (nrev (vl-assignlist-allexprs-nrev x.assigns nrev))
               (nrev (vl-vardecllist-allexprs-nrev x.vardecls nrev))
               (nrev (vl-paramdecllist-allexprs-nrev x.paramdecls nrev))
               (nrev (vl-fundecllist-allexprs-nrev x.fundecls nrev))
               (nrev (vl-taskdecllist-allexprs-nrev x.taskdecls nrev))
               (nrev (vl-modinstlist-allexprs-nrev x.modinsts nrev))
               (nrev (vl-gateinstlist-allexprs-nrev x.gateinsts nrev))
               (nrev (vl-alwayslist-allexprs-nrev x.alwayses nrev))
               (nrev (vl-initiallist-allexprs-nrev x.initials nrev))
               (nrev (vl-aliaslist-allexprs-nrev x.aliases nrev)))
            nrev))))

    Theorem: vl-module-allexprs-nrev$inline-of-vl-module-fix-x

    (defthm vl-module-allexprs-nrev$inline-of-vl-module-fix-x
      (equal (vl-module-allexprs-nrev$inline (vl-module-fix x)
                                             nrev)
             (vl-module-allexprs-nrev$inline x nrev)))

    Theorem: vl-module-allexprs-nrev$inline-vl-module-equiv-congruence-on-x

    (defthm
         vl-module-allexprs-nrev$inline-vl-module-equiv-congruence-on-x
      (implies (vl-module-equiv x x-equiv)
               (equal (vl-module-allexprs-nrev$inline x nrev)
                      (vl-module-allexprs-nrev$inline x-equiv nrev)))
      :rule-classes :congruence)