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

    Modname-p

    Signature
    (modname-p x) → *

    Definitions and Theorems

    Function: modname-p

    (defun modname-p (x)
      (declare (ignorable x))
      (declare (xargs :guard t))
      (let ((__function__ 'modname-p))
        (declare (ignorable __function__))
        (not (eq x nil))))

    Theorem: modname-p-booleanp

    (defthm modname-p-booleanp
      (booleanp (modname-p x))
      :rule-classes :type-prescription)

    Theorem: modname-p-compound-recognizer

    (defthm modname-p-compound-recognizer
      (implies (modname-p x) x)
      :rule-classes :compound-recognizer)