• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Community
    • Proof-automation
    • ACL2
    • Macro-libraries
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
      • Sv
        • Svex-stvs
        • Svex-decomposition-methodology
        • Sv-versus-esim
        • Svex-decomp
        • Svex-compose-dfs
        • Svex-compilation
          • Alias-normalization
          • Svex-design-flatten-and-normalize
          • Svex-design-compile
          • Svex-composition
          • Compile.lisp
            • Svex-normalize-assigns
            • Svex-design-flatten
            • Svex-override-lhrange
            • Svex-override-lhs
            • Aliases-indexed->named-aux
            • Svex-compose-assigns/delays
            • Svex-alist-truncate-by-var-decls
            • Svar-map-truncate-by-var-decls
            • Aliases-to-var-decl-map-aux
            • Aliases-indexed->named
            • Svar-indexed->named-memo
            • Lhs-indexed->named
            • Svar-register-indnamememo
            • Svarlist-indexed->named
            • Maybe-svar-fix
            • Lhs-register-indnamememo
            • Maybe-indname-result
            • Aliases-to-var-decl-map
            • Svar-indexed->named
            • Aliases-boundedp-aux
            • Svex-apply-overrides
            • Indnamememo-to-var-decl-map
            • Indname-result
              • Indname-result-fix
              • Indname-result-equiv
              • Make-indname-result
              • Indname-result->varname
                • Indname-result->decl
                • Change-indname-result
                • Indname-result-p
              • Assigns-compose
              • Delay-svarlist->delays
              • Indnamememo
              • Svex-override-vars
              • Delay-svar->delays
              • Assigns-to-overrides
              • Svarlist-collect-delays
              • Svex-overridelist-vars
              • Svex-overridelist-keys
              • Assigns-to-overrides-nrev
              • Var-decl-map
              • Cap-length
            • Assign->segment-drivers
            • Segment-driver-map-resolve
            • Assigns->segment-drivers
          • Moddb
          • Svmods
          • Svstmt
          • Sv-tutorial
          • Expressions
          • Symbolic-test-vector
          • Vl-to-svex
        • Fgl
        • Vwsim
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Indname-result

    Indname-result->varname

    Get the varname field from a indname-result.

    Signature
    (indname-result->varname x) → varname
    Arguments
    x — Guard (indname-result-p x).
    Returns
    varname — Type (svar-p varname).

    This is an ordinary field accessor created by defprod.

    Definitions and Theorems

    Function: indname-result->varname$inline

    (defun indname-result->varname$inline (x)
      (declare (xargs :guard (indname-result-p x)))
      (declare (xargs :guard t))
      (let ((__function__ 'indname-result->varname))
        (declare (ignorable __function__))
        (mbe :logic (b* ((x (and t x))) (svar-fix (car x)))
             :exec (car x))))

    Theorem: svar-p-of-indname-result->varname

    (defthm svar-p-of-indname-result->varname
      (b* ((varname (indname-result->varname$inline x)))
        (svar-p varname))
      :rule-classes :rewrite)

    Theorem: indname-result->varname$inline-of-indname-result-fix-x

    (defthm indname-result->varname$inline-of-indname-result-fix-x
      (equal (indname-result->varname$inline (indname-result-fix x))
             (indname-result->varname$inline x)))

    Theorem: indname-result->varname$inline-indname-result-equiv-congruence-on-x

    (defthm
     indname-result->varname$inline-indname-result-equiv-congruence-on-x
     (implies (indname-result-equiv x x-equiv)
              (equal (indname-result->varname$inline x)
                     (indname-result->varname$inline x-equiv)))
     :rule-classes :congruence)