• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
        • Warnings
        • Primitives
        • Use-set
        • Syntax
        • Getting-started
        • Utilities
        • Loader
        • Transforms
          • Expression-sizing
          • Occform
          • Oprewrite
          • Expand-functions
          • Delayredux
          • Unparameterization
            • Scopesubst
            • Vl-scopeinfo-resolve-params
            • Vl-make-paramdecloverrides
              • Vl-namedparamvaluelist->names
              • Vl-make-paramdecloverrides-indexed
              • Vl-find-namedparamvalue
              • Vl-paramdecloverride
                • Vl-paramdecloverride-fix
                • Vl-paramdecloverride-equiv
                • Make-vl-paramdecloverride
                • Vl-paramdecloverride->override
                • Vl-paramdecloverride->decl
                • Change-vl-paramdecloverride
                • Vl-paramdecloverride-p
                • Vl-nonlocal-paramdecls
                • Vl-paramdecloverridelist
              • Vl-unparam-inst
              • Vl-scope-finalize-params
              • Vl-override-parameter-value
              • Vl-unparam-instlist
              • Vl-create-unparameterized-module
              • Vl-module-default-signature
              • Vl-modulelist-default-signatures
              • Vl-gencase-some-match
              • Vl-gencase-match
              • Vl-make-paramdecloverrides-named
              • Vl-unparam-newname
              • Vl-paramdecl-set-default
              • Vl-unparam-signature
              • Vl-genblob-collect-modinst-paramsigs
              • Vl-design-unparameterize
              • Vl-paramdecllist-remove-defaults
              • Vl-unparam-newname-exprstring
              • Vl-paramdecl-remove-default
              • Vl-unparam-sigalist
              • Vl-unparam-signaturelist
            • Caseelim
            • Split
            • Selresolve
            • Weirdint-elim
            • Vl-delta
            • Replicate-insts
            • Rangeresolve
            • Propagate
            • Clean-selects
            • Clean-params
            • Blankargs
            • Inline-mods
            • Expr-simp
            • Trunc
            • Always-top
            • Gatesplit
            • Gate-elim
            • Expression-optimization
            • Elim-supplies
            • Wildelim
            • Drop-blankports
            • Clean-warnings
            • Addinstnames
            • Custom-transform-hooks
            • Annotate
            • Latchcode
            • Elim-unused-vars
            • Problem-modules
          • Lint
          • Mlib
          • Server
          • Kit
          • Printer
          • Esim-vl
          • Well-formedness
        • Sv
        • Fgl
        • Vwsim
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Vl-paramdecloverride

    Vl-paramdecloverride-p

    Recognizer for vl-paramdecloverride structures.

    Signature
    (vl-paramdecloverride-p x) → *

    Definitions and Theorems

    Function: vl-paramdecloverride-p

    (defun vl-paramdecloverride-p (x)
      (declare (xargs :guard t))
      (let ((__function__ 'vl-paramdecloverride-p))
        (declare (ignorable __function__))
        (and (mbe :logic (and (alistp x)
                              (equal (strip-cars x) '(decl override)))
                  :exec (fty::alist-with-carsp x '(decl override)))
             (b* ((decl (cdr (std::da-nth 0 x)))
                  (override (cdr (std::da-nth 1 x))))
               (and (vl-paramdecl-p decl)
                    (vl-maybe-paramvalue-p override))))))

    Theorem: consp-when-vl-paramdecloverride-p

    (defthm consp-when-vl-paramdecloverride-p
      (implies (vl-paramdecloverride-p x)
               (consp x))
      :rule-classes :compound-recognizer)