• 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
          • Scopestack
          • Hid-tools
          • Filtering-by-name
          • Vl-interface-mocktype
          • Stripping-functions
          • Genblob
          • Expr-tools
          • Extract-vl-types
          • Hierarchy
            • Vl-design-toplevel
            • Vl-remove-unnecessary-elements
            • Vl-necessary-elements-transitive
            • Vl-interfacelist-everinstanced
            • Vl-dependent-elements-transitive
            • Vl-necessary-elements-direct
            • Vl-modulelist-everinstanced
            • Vl-dependent-elements-direct
            • Vl-design-deporder-modules
            • Vl-design-check-complete
            • Vl-design-upgraph
            • Immdeps
              • Immdeps-main
              • Vl-immdeps
              • Immdeps-top
                • Vl-immdepgraph-merge
                • Vl-interface-immdeps*
                • Vl-module-immdeps*
                • Vl-paramdecllist-immdeps*
                • Vl-interfacelist-immdeps*
                • Vl-vardecllist-immdeps*
                • Vl-typedeflist-immdeps*
                • Vl-taskdecllist-immdeps*
                • Vl-taskdecl-immdeps*
                • Vl-programlist-immdeps*
                • Vl-paramdecl-immdeps*
                • Vl-packagelist-immdeps*
                • Vl-package-immdeps*
                • Vl-fundecllist-immdeps*
                • Vl-vardecl-immdeps*
                • Vl-typedef-immdeps*
                • Vl-modulelist-immdeps*
                  • Vl-fundecl-immdeps*
                  • Vl-configlist-immdeps*
                  • Vl-classlist-immdeps*
                  • Vl-udplist-immdeps*
                  • Vl-program-immdeps*
                  • Vl-config-immdeps*
                  • Vl-udp-immdeps*
                  • Vl-design-immdeps
                  • Vl-class-immdeps*
                • Vl-immdepgraph
                • Vl-depgraph
              • Vl-design-downgraph
              • Vl-collect-dependencies
              • Vl-hierarchy-free
            • Range-tools
            • Finding-by-name
            • Stmt-tools
            • Modnamespace
            • Flat-warnings
            • Reordering-by-name
            • Datatype-tools
            • Syscalls
            • Allexprs
            • Lvalues
            • Port-tools
          • Transforms
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Immdeps-top

    Vl-modulelist-immdeps*

    Signature
    (vl-modulelist-immdeps* x graph &key (ss 'ss)) → new-graph
    Arguments
    x — Guard (vl-modulelist-p x).
    graph — Guard (vl-immdepgraph-p graph).
    ss — Guard (vl-scopestack-p ss).
    Returns
    new-graph — Type (vl-immdepgraph-p new-graph).

    Definitions and Theorems

    Function: vl-modulelist-immdeps*-fn

    (defun vl-modulelist-immdeps*-fn (x graph ss)
      (declare (xargs :guard (and (vl-modulelist-p x)
                                  (vl-immdepgraph-p graph)
                                  (vl-scopestack-p ss))))
      (let ((__function__ 'vl-modulelist-immdeps*))
        (declare (ignorable __function__))
        (b* (((when (atom x))
              (vl-immdepgraph-fix graph))
             (graph (vl-module-immdeps* (car x) graph)))
          (vl-modulelist-immdeps* (cdr x)
                                  graph))))

    Theorem: vl-immdepgraph-p-of-vl-modulelist-immdeps*

    (defthm vl-immdepgraph-p-of-vl-modulelist-immdeps*
      (b* ((new-graph (vl-modulelist-immdeps*-fn x graph ss)))
        (vl-immdepgraph-p new-graph))
      :rule-classes :rewrite)

    Theorem: vl-modulelist-immdeps*-fn-of-vl-modulelist-fix-x

    (defthm vl-modulelist-immdeps*-fn-of-vl-modulelist-fix-x
      (equal (vl-modulelist-immdeps*-fn (vl-modulelist-fix x)
                                        graph ss)
             (vl-modulelist-immdeps*-fn x graph ss)))

    Theorem: vl-modulelist-immdeps*-fn-vl-modulelist-equiv-congruence-on-x

    (defthm
          vl-modulelist-immdeps*-fn-vl-modulelist-equiv-congruence-on-x
      (implies (vl-modulelist-equiv x x-equiv)
               (equal (vl-modulelist-immdeps*-fn x graph ss)
                      (vl-modulelist-immdeps*-fn x-equiv graph ss)))
      :rule-classes :congruence)

    Theorem: vl-modulelist-immdeps*-fn-of-vl-immdepgraph-fix-graph

    (defthm vl-modulelist-immdeps*-fn-of-vl-immdepgraph-fix-graph
      (equal (vl-modulelist-immdeps*-fn x (vl-immdepgraph-fix graph)
                                        ss)
             (vl-modulelist-immdeps*-fn x graph ss)))

    Theorem: vl-modulelist-immdeps*-fn-vl-immdepgraph-equiv-congruence-on-graph

    (defthm
     vl-modulelist-immdeps*-fn-vl-immdepgraph-equiv-congruence-on-graph
     (implies (vl-immdepgraph-equiv graph graph-equiv)
              (equal (vl-modulelist-immdeps*-fn x graph ss)
                     (vl-modulelist-immdeps*-fn x graph-equiv ss)))
     :rule-classes :congruence)

    Theorem: vl-modulelist-immdeps*-fn-of-vl-scopestack-fix-ss

    (defthm vl-modulelist-immdeps*-fn-of-vl-scopestack-fix-ss
      (equal (vl-modulelist-immdeps*-fn x graph (vl-scopestack-fix ss))
             (vl-modulelist-immdeps*-fn x graph ss)))

    Theorem: vl-modulelist-immdeps*-fn-vl-scopestack-equiv-congruence-on-ss

    (defthm
         vl-modulelist-immdeps*-fn-vl-scopestack-equiv-congruence-on-ss
      (implies (vl-scopestack-equiv ss ss-equiv)
               (equal (vl-modulelist-immdeps*-fn x graph ss)
                      (vl-modulelist-immdeps*-fn x graph ss-equiv)))
      :rule-classes :congruence)