• Top
    • Documentation
    • Books
    • Recursion-and-induction
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
      • Sv
        • Svex-stvs
        • Svex-fixpoint-decomposition-methodology
        • Sv-versus-esim
        • Svex-decomp
        • Svex-compose-dfs
        • Moddb
        • Svex-compilation
        • Svmods
          • Address
          • Wire
          • Module
          • Lhs
          • Svar-add-namespace
          • Path
          • Design
          • Modinst
          • Lhs-add-namespace
          • Modalist
          • Path-add-namespace
          • Modname->submodnames
          • Name
          • Svex-alist-addr-p
          • Constraintlist-addr-p
          • Svar-map-addr-p
          • Lhspairs-addr-p
          • Assigns-addr-p
          • Modname
          • Lhs-addr-p
          • Lhatom-addr-p
          • Modhier-measure
            • Modhier-list-measure
            • Attributes
            • Modhier-list-measure-aux
            • Modhier-loopfreelist-p
            • Modhier-loopfree-p
          • Svstmt
          • Sv-tutorial
          • Expressions
          • Symbolic-test-vector
          • Vl-to-svex
        • Vwsim
        • Fgl
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Testing-utilities
      • Math
    • Svmods

    Modhier-measure

    Signature
    (modhier-measure x modalist) → acl2::res
    Returns
    acl2::res — Type (o-p acl2::res).

    Definitions and Theorems

    Function: modhier-measure

    (defun modhier-measure (x modalist)
           (declare (xargs :guard t))
           (let ((__function__ 'modhier-measure))
                (declare (ignorable __function__))
                (nat-list-measure
                     (list (b* (((mv acl2::res acl2::memo)
                                 (modhier-depth-memo x nil modalist)))
                               (fast-alist-free acl2::memo)
                               acl2::res)
                           0 0))))

    Theorem: o-p-of-modhier-measure

    (defthm o-p-of-modhier-measure
            (b* ((acl2::res (modhier-measure x modalist)))
                (o-p acl2::res))
            :rule-classes :rewrite)