• 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$
            • Defcycle
            • Def-pipeline-thm
            • Def-svtv-data-export
            • Def-svtv-data-import
            • Svtv-name-lhs-map
              • Svtv-name-lhs-map-fix
              • Svtv-name-lhs-map-p
              • Svtv-namemap->lhsmap
              • Svtv-name-lhs-map-equiv
                • Svtv-namemap
              • Def-cycle-thm
              • Def-svtv-data-export/import
              • Defsvtv$-phasewise
            • Defsvtv$
            • Svtv-run
            • Defsvtv-phasewise
            • Svtv
            • 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-name-lhs-map

    Svtv-name-lhs-map-equiv

    Basic equivalence relation for svtv-name-lhs-map structures.

    Definitions and Theorems

    Function: svtv-name-lhs-map-equiv$inline

    (defun svtv-name-lhs-map-equiv$inline (x y)
      (declare (xargs :guard (and (svtv-name-lhs-map-p x)
                                  (svtv-name-lhs-map-p y))))
      (equal (svtv-name-lhs-map-fix x)
             (svtv-name-lhs-map-fix y)))

    Theorem: svtv-name-lhs-map-equiv-is-an-equivalence

    (defthm svtv-name-lhs-map-equiv-is-an-equivalence
      (and (booleanp (svtv-name-lhs-map-equiv x y))
           (svtv-name-lhs-map-equiv x x)
           (implies (svtv-name-lhs-map-equiv x y)
                    (svtv-name-lhs-map-equiv y x))
           (implies (and (svtv-name-lhs-map-equiv x y)
                         (svtv-name-lhs-map-equiv y z))
                    (svtv-name-lhs-map-equiv x z)))
      :rule-classes (:equivalence))

    Theorem: svtv-name-lhs-map-equiv-implies-equal-svtv-name-lhs-map-fix-1

    (defthm
          svtv-name-lhs-map-equiv-implies-equal-svtv-name-lhs-map-fix-1
      (implies (svtv-name-lhs-map-equiv x x-equiv)
               (equal (svtv-name-lhs-map-fix x)
                      (svtv-name-lhs-map-fix x-equiv)))
      :rule-classes (:congruence))

    Theorem: svtv-name-lhs-map-fix-under-svtv-name-lhs-map-equiv

    (defthm svtv-name-lhs-map-fix-under-svtv-name-lhs-map-equiv
      (svtv-name-lhs-map-equiv (svtv-name-lhs-map-fix x)
                               x)
      :rule-classes (:rewrite :rewrite-quoted-constant))

    Theorem: equal-of-svtv-name-lhs-map-fix-1-forward-to-svtv-name-lhs-map-equiv

    (defthm
     equal-of-svtv-name-lhs-map-fix-1-forward-to-svtv-name-lhs-map-equiv
     (implies (equal (svtv-name-lhs-map-fix x) y)
              (svtv-name-lhs-map-equiv x y))
     :rule-classes :forward-chaining)

    Theorem: equal-of-svtv-name-lhs-map-fix-2-forward-to-svtv-name-lhs-map-equiv

    (defthm
     equal-of-svtv-name-lhs-map-fix-2-forward-to-svtv-name-lhs-map-equiv
     (implies (equal x (svtv-name-lhs-map-fix y))
              (svtv-name-lhs-map-equiv x y))
     :rule-classes :forward-chaining)

    Theorem: svtv-name-lhs-map-equiv-of-svtv-name-lhs-map-fix-1-forward

    (defthm svtv-name-lhs-map-equiv-of-svtv-name-lhs-map-fix-1-forward
      (implies (svtv-name-lhs-map-equiv (svtv-name-lhs-map-fix x)
                                        y)
               (svtv-name-lhs-map-equiv x y))
      :rule-classes :forward-chaining)

    Theorem: svtv-name-lhs-map-equiv-of-svtv-name-lhs-map-fix-2-forward

    (defthm svtv-name-lhs-map-equiv-of-svtv-name-lhs-map-fix-2-forward
      (implies (svtv-name-lhs-map-equiv x (svtv-name-lhs-map-fix y))
               (svtv-name-lhs-map-equiv x y))
      :rule-classes :forward-chaining)