• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • 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
              • Vl-design-upgraph-aux
            • Immdeps
            • 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
  • Hierarchy

Vl-design-upgraph

Graph of upward dependencies. Fast alist.

Signature
(vl-design-upgraph x) → graph
Arguments
x — Guard (vl-design-p x).
Returns
graph — Maps, e.g., modules to superior modules.
    Type (vl-depgraph-p graph).

Definitions and Theorems

Function: vl-design-upgraph

(defun vl-design-upgraph (x)
  (declare (xargs :guard (vl-design-p x)))
  (let ((__function__ 'vl-design-upgraph))
    (declare (ignorable __function__))
    (make-fast-alist (vl-design-upgraph-aux x))))

Theorem: vl-depgraph-p-of-vl-design-upgraph

(defthm vl-depgraph-p-of-vl-design-upgraph
  (b* ((graph (vl-design-upgraph x)))
    (vl-depgraph-p graph))
  :rule-classes :rewrite)

Theorem: alist-values-are-sets-p-of-vl-design-upgraph

(defthm alist-values-are-sets-p-of-vl-design-upgraph
  (b* ((graph (vl-design-upgraph x)))
    (depgraph::alist-values-are-sets-p graph))
  :rule-classes :rewrite)

Theorem: vl-design-upgraph-of-vl-design-fix-x

(defthm vl-design-upgraph-of-vl-design-fix-x
  (equal (vl-design-upgraph (vl-design-fix x))
         (vl-design-upgraph x)))

Theorem: vl-design-upgraph-vl-design-equiv-congruence-on-x

(defthm vl-design-upgraph-vl-design-equiv-congruence-on-x
  (implies (vl-design-equiv x x-equiv)
           (equal (vl-design-upgraph x)
                  (vl-design-upgraph x-equiv)))
  :rule-classes :congruence)

Subtopics

Vl-design-upgraph-aux
Memoized core.