• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Community
    • Proof-automation
    • ACL2
    • Macro-libraries
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
      • Sv
        • Svex-stvs
          • Svtv-data
          • Defsvtv$
          • Svtv-run
          • Defsvtv-phasewise
          • Svtv
          • Svtv-spec
          • Defsvtv
          • Process.lisp
          • Svtv-doc
          • Svtv-chase$
          • Svtv-versus-stv
          • Svtv-debug-fsm
          • Structure.lisp
            • Svtv-baseentry-p
            • Svtv-entry-p
            • Svtv-outentry-p
            • Svtv-outentry-fix
            • Svtv-baseentry-fix
            • Svtv-entry-fix
            • Svtv-overrideline
            • Svtv-outputline
            • Svtv-condoverride
              • Svtv-condoverride-fix
              • Svtv-condoverride-equiv
              • Make-svtv-condoverride
              • Svtv-condoverride->value
              • Svtv-condoverride->test
                • Change-svtv-condoverride
                • Svtv-condoverride-p
              • Svtv-line
              • Svtv-inputmap
              • Svtv-outentrylist
              • Svtv-lines
              • Svtv-entrylist
              • Svtv-overridelines
              • Svtv-outputs
              • Svtv-inputtype-p
              • Svtv-dontcare-p
            • 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-condoverride

    Svtv-condoverride->test

    Get the test field from a svtv-condoverride.

    Signature
    (svtv-condoverride->test x) → test
    Arguments
    x — Guard (svtv-condoverride-p x).
    Returns
    test — Type (svtv-baseentry-p test).

    This is an ordinary field accessor created by defprod.

    Definitions and Theorems

    Function: svtv-condoverride->test$inline

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

    Theorem: svtv-baseentry-p-of-svtv-condoverride->test

    (defthm svtv-baseentry-p-of-svtv-condoverride->test
      (b* ((test (svtv-condoverride->test$inline x)))
        (svtv-baseentry-p test))
      :rule-classes :rewrite)

    Theorem: svtv-condoverride->test$inline-of-svtv-condoverride-fix-x

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

    Theorem: svtv-condoverride->test$inline-svtv-condoverride-equiv-congruence-on-x

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