• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • 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
              • Svtv-to-fsm-defs
              • Defnamemap
              • Parse-svtv-to-fsm-thm
              • Svex-envs-check-ovtests-ok-rec
              • Svtv-to-fsm-final-thm-var-bindings
              • Svex-envlists-ovtests-ok
              • Svtv-override-triplemaplist-relevant-vars
              • Svtv-override-triplemap-relevant-vars
              • Svex-envlists-check-ovtests-ok
              • Svtv-override-triple-relevant-vars
              • Svtv-override-triplemaplist-test-only-p
              • Svex-envlists-ovtestequiv
                • Svtv-override-triplemap-test-only-p
                • Svex-envlists-ovtestsubsetp
                • Svtv-override-triple-test-only-p
                • Svex-envlists-check-ovtests-ok-rec
                • Svex-envs-check-ovtests-ok
                • Svex-alistlist-removekeys
                • Svtv-to-fsm-final-thm
                • Svtv-to-fsm-first-thm-input-var-bindings
                • Svtv-to-fsm-first-thm
                • Svtv-to-fsm-thm-fn
              • 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-to-fsm

    Svex-envlists-ovtestequiv

    Signature
    (svex-envlists-ovtestequiv x y) → *
    Arguments
    x — Guard (svex-envlist-p x).
    y — Guard (svex-envlist-p y).

    Definitions and Theorems

    Function: svex-envlists-ovtestequiv

    (defun svex-envlists-ovtestequiv (x y)
      (declare (xargs :guard (and (svex-envlist-p x)
                                  (svex-envlist-p y))))
      (let ((__function__ 'svex-envlists-ovtestequiv))
        (declare (ignorable __function__))
        (if (atom x)
            (atom y)
          (and (consp y)
               (ec-call (svex-envs-ovtestequiv (car x) (car y)))
               (svex-envlists-ovtestequiv (cdr x)
                                          (cdr y))))))

    Theorem: svex-envlists-ovtestequiv-is-an-equivalence

    (defthm svex-envlists-ovtestequiv-is-an-equivalence
      (and (booleanp (svex-envlists-ovtestequiv x y))
           (svex-envlists-ovtestequiv x x)
           (implies (svex-envlists-ovtestequiv x y)
                    (svex-envlists-ovtestequiv y x))
           (implies (and (svex-envlists-ovtestequiv x y)
                         (svex-envlists-ovtestequiv y z))
                    (svex-envlists-ovtestequiv x z)))
      :rule-classes (:equivalence))

    Theorem: svex-envlists-similar-refines-svex-envlists-ovtestequiv

    (defthm svex-envlists-similar-refines-svex-envlists-ovtestequiv
      (implies (svex-envlists-similar x y)
               (svex-envlists-ovtestequiv x y))
      :rule-classes (:refinement))

    Theorem: svex-envlists-ovtestequiv-refines-svex-envlists-ovtestsimilar

    (defthm
          svex-envlists-ovtestequiv-refines-svex-envlists-ovtestsimilar
      (implies (svex-envlists-ovtestequiv x y)
               (svex-envlists-ovtestsimilar x y))
      :rule-classes (:refinement))

    Theorem: svex-envlists-ovtestequiv-of-svex-envlist-fix-x

    (defthm svex-envlists-ovtestequiv-of-svex-envlist-fix-x
      (equal (svex-envlists-ovtestequiv (svex-envlist-fix x)
                                        y)
             (svex-envlists-ovtestequiv x y)))

    Theorem: svex-envlists-ovtestequiv-svex-envlist-equiv-congruence-on-x

    (defthm svex-envlists-ovtestequiv-svex-envlist-equiv-congruence-on-x
      (implies (svex-envlist-equiv x x-equiv)
               (equal (svex-envlists-ovtestequiv x y)
                      (svex-envlists-ovtestequiv x-equiv y)))
      :rule-classes :congruence)

    Theorem: svex-envlists-ovtestequiv-of-svex-envlist-fix-y

    (defthm svex-envlists-ovtestequiv-of-svex-envlist-fix-y
      (equal (svex-envlists-ovtestequiv x (svex-envlist-fix y))
             (svex-envlists-ovtestequiv x y)))

    Theorem: svex-envlists-ovtestequiv-svex-envlist-equiv-congruence-on-y

    (defthm svex-envlists-ovtestequiv-svex-envlist-equiv-congruence-on-y
      (implies (svex-envlist-equiv y y-equiv)
               (equal (svex-envlists-ovtestequiv x y)
                      (svex-envlists-ovtestequiv x y-equiv)))
      :rule-classes :congruence)