• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
      • Sv
        • Svex-stvs
          • Svtv-data
          • Defsvtv$
          • Svtv-run
          • Defsvtv-phasewise
          • Svtv
            • Svtv-chase
            • Svtv-p
            • Svtv-to-fsm
            • Make-svtv
            • Svtv-fix
            • Change-svtv
            • Svtv-equiv
            • Svtv->orig-overrides
            • Svtv->orig-internals
            • Svtv->expanded-overrides
            • Svtv->states
            • Svtv->nextstate
            • Svtv->expanded-ins
            • Svtv->outmasks
            • Svtv->outexprs
            • Svtv->orig-outs
            • Svtv->orig-ins
            • Svtv->inmasks
            • Svtv->nphases
            • Svtv->name
            • Svtv->labels
            • Svtv->inmap
              • Svtv->form
            • Svtv-spec
            • Defsvtv
            • Process.lisp
            • Svtv-doc
            • Svtv-chase$
            • Svtv-versus-stv
            • Svtv-debug-fsm
            • Structure.lisp
            • Svtv-debug
            • Def-pipeline-thm
            • Expand.lisp
            • Def-cycle-thm
            • Svtv-utilities
            • Svtv-debug$
            • Defsvtv$-phasewise
          • Svex-decomposition-methodology
          • Sv-versus-esim
          • Svex-decomp
          • Svex-compose-dfs
          • Svex-compilation
          • Moddb
          • Svmods
          • Svstmt
          • Sv-tutorial
          • Expressions
          • Symbolic-test-vector
          • Vl-to-svex
        • Fgl
        • Vwsim
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Svtv

    Svtv->inmap

    Get the inmap field from a svtv.

    Signature
    (svtv->inmap x) → inmap
    Arguments
    x — Guard (svtv-p x).
    Returns
    inmap — Type (svtv-inputmap-p inmap).

    This is an ordinary field accessor created by defprod.

    Definitions and Theorems

    Function: svtv->inmap$inline

    (defun svtv->inmap$inline (x)
      (declare (xargs :guard (svtv-p x)))
      (declare (xargs :guard t))
      (let ((__function__ 'svtv->inmap))
        (declare (ignorable __function__))
        (mbe :logic
             (b* ((x (and t x)))
               (svtv-inputmap-fix (std::da-nth 6 x)))
             :exec (std::da-nth 6 x))))

    Theorem: svtv-inputmap-p-of-svtv->inmap

    (defthm svtv-inputmap-p-of-svtv->inmap
      (b* ((inmap (svtv->inmap$inline x)))
        (svtv-inputmap-p inmap))
      :rule-classes :rewrite)

    Theorem: svtv->inmap$inline-of-svtv-fix-x

    (defthm svtv->inmap$inline-of-svtv-fix-x
      (equal (svtv->inmap$inline (svtv-fix x))
             (svtv->inmap$inline x)))

    Theorem: svtv->inmap$inline-svtv-equiv-congruence-on-x

    (defthm svtv->inmap$inline-svtv-equiv-congruence-on-x
      (implies (svtv-equiv x x-equiv)
               (equal (svtv->inmap$inline x)
                      (svtv->inmap$inline x-equiv)))
      :rule-classes :congruence)