• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • 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
            • Vl-expr-expand-function-calls
            • Vl-expand-function-call
            • Vl-module-expand-functions
            • Vl-modulelist-expand-functions
            • Vl-check-bad-funcalls
            • Vl-funtemplate
              • Vl-funtemplate-p
              • Vl-funtemplate-fix
              • Vl-funtemplate-equiv
              • Make-vl-funtemplate
              • Vl-funtemplate->locals
              • Vl-funtemplate->inputs
              • Vl-funtemplate->assigns
              • Change-vl-funtemplate
              • Vl-funtemplate->out
              • Vl-funtemplate->name
              • Vl-funbody-to-assignments
              • Vl-assignlist->rhses
              • Vl-fundecl-expand-params
              • Vl-fun-stmt-okp
              • Vl-fundecllist-expand-params
              • Vl-remove-fake-function-vardecls
              • Vl-design-expand-functions
            • Delayredux
            • Unparameterization
            • 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-funtemplate

    Vl-funtemplate->name

    Get the name field from a vl-funtemplate.

    Signature
    (vl-funtemplate->name x) → name
    Arguments
    x — Guard (vl-funtemplate-p x).
    Returns
    name — Type (stringp name).

    This is an ordinary field accessor created by defprod.

    Definitions and Theorems

    Function: vl-funtemplate->name$inline

    (defun vl-funtemplate->name$inline (x)
      (declare (xargs :guard (vl-funtemplate-p x)))
      (declare (xargs :guard t))
      (let ((__function__ 'vl-funtemplate->name))
        (declare (ignorable __function__))
        (mbe :logic
             (b* ((x (and t x)))
               (str-fix (std::prod-car (std::prod-car (cdr x)))))
             :exec (std::prod-car (std::prod-car (cdr x))))))

    Theorem: stringp-of-vl-funtemplate->name

    (defthm stringp-of-vl-funtemplate->name
      (b* ((name (vl-funtemplate->name$inline x)))
        (stringp name))
      :rule-classes :type-prescription)

    Theorem: vl-funtemplate->name$inline-of-vl-funtemplate-fix-x

    (defthm vl-funtemplate->name$inline-of-vl-funtemplate-fix-x
      (equal (vl-funtemplate->name$inline (vl-funtemplate-fix x))
             (vl-funtemplate->name$inline x)))

    Theorem: vl-funtemplate->name$inline-vl-funtemplate-equiv-congruence-on-x

    (defthm
       vl-funtemplate->name$inline-vl-funtemplate-equiv-congruence-on-x
      (implies (vl-funtemplate-equiv x x-equiv)
               (equal (vl-funtemplate->name$inline x)
                      (vl-funtemplate->name$inline x-equiv)))
      :rule-classes :congruence)