• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • 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
          • Vl-lint
          • Vl-server
          • Vl-gather
          • Vl-zip
            • Vl-zip-opts-p
            • Vl-zipfile
              • Vl-zipfile-fix
              • Vl-read-zip-header
              • Vl-maybe-zipfile
              • Vl-read-zip
              • Make-vl-zipfile
              • Vl-zipfile-equiv
              • Vl-zipfile-p
              • Change-vl-zipfile
              • Vl-zipfile->syntax
              • Vl-zipfile->filemap
              • Vl-zipfile->design
              • Vl-zipfile->defines
              • Vl-zipfile->name
                • Vl-zipfile->ltime
                • Vl-zipfile->date
                • Vl-write-zip
              • *vl-zip-help*
              • Vl-zip-top
              • Vl-zip-main
            • Vl-main
            • Split-plusargs
            • Vl-shell
            • Vl-json
          • Mlib
          • Transforms
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Vl-zipfile

    Vl-zipfile->name

    Get the name field from a vl-zipfile.

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

    This is an ordinary field accessor created by defprod.

    Definitions and Theorems

    Function: vl-zipfile->name$inline

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

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

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

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

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

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

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