• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Community
    • Proof-automation
    • Macro-libraries
    • ACL2
    • 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-line
              • Svtv-line-fix
              • Svtv-line-equiv
              • Make-svtv-line
              • Svtv-line->entries
              • Change-svtv-line
              • Svtv-line->lhs
                • Svtv-line-p
              • 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-line

    Svtv-line->lhs

    Get the lhs field from a svtv-line.

    Signature
    (svtv-line->lhs x) → lhs
    Arguments
    x — Guard (svtv-line-p x).
    Returns
    lhs — Type (lhs-p lhs).

    This is an ordinary field accessor created by defprod.

    Definitions and Theorems

    Function: svtv-line->lhs$inline

    (defun svtv-line->lhs$inline (x)
      (declare (xargs :guard (svtv-line-p x)))
      (declare (xargs :guard t))
      (let ((__function__ 'svtv-line->lhs))
        (declare (ignorable __function__))
        (mbe :logic
             (b* ((x (and t x)))
               (lhs-fix (std::prod-car x)))
             :exec (std::prod-car x))))

    Theorem: lhs-p-of-svtv-line->lhs

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

    Theorem: svtv-line->lhs$inline-of-svtv-line-fix-x

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

    Theorem: svtv-line->lhs$inline-svtv-line-equiv-congruence-on-x

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