• 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-envs-check-ovtests-ok

    Signature
    (svex-envs-check-ovtests-ok x y overridekey-set) → *
    Arguments
    x — Guard (svex-env-p x).
    y — Guard (svex-env-p y).

    Definitions and Theorems

    Function: svex-envs-check-ovtests-ok

    (defun svex-envs-check-ovtests-ok (x y overridekey-set)
      (declare (xargs :guard (and (svex-env-p x) (svex-env-p y))))
      (let ((__function__ 'svex-envs-check-ovtests-ok))
        (declare (ignorable __function__))
        (svex-envs-check-ovtests-ok-rec
             (append (alist-keys (svex-env-fix x))
                     (alist-keys (svex-env-fix y)))
             x y overridekey-set)))

    Theorem: svex-envs-check-ovtests-ok-correct

    (defthm svex-envs-check-ovtests-ok-correct
      (iff (svex-envs-check-ovtests-ok
                x y
                (pairlis$ (svarlist-change-override overridekeys :test)
                          nil))
           (svex-envs-ovtests-ok x y overridekeys)))

    Theorem: svex-envs-check-ovtests-ok-of-svex-env-fix-x

    (defthm svex-envs-check-ovtests-ok-of-svex-env-fix-x
      (equal (svex-envs-check-ovtests-ok (svex-env-fix x)
                                         y overridekey-set)
             (svex-envs-check-ovtests-ok x y overridekey-set)))

    Theorem: svex-envs-check-ovtests-ok-svex-env-equiv-congruence-on-x

    (defthm svex-envs-check-ovtests-ok-svex-env-equiv-congruence-on-x
     (implies
         (svex-env-equiv x x-equiv)
         (equal (svex-envs-check-ovtests-ok x y overridekey-set)
                (svex-envs-check-ovtests-ok x-equiv y overridekey-set)))
     :rule-classes :congruence)

    Theorem: svex-envs-check-ovtests-ok-of-svex-env-fix-y

    (defthm svex-envs-check-ovtests-ok-of-svex-env-fix-y
      (equal (svex-envs-check-ovtests-ok x (svex-env-fix y)
                                         overridekey-set)
             (svex-envs-check-ovtests-ok x y overridekey-set)))

    Theorem: svex-envs-check-ovtests-ok-svex-env-equiv-congruence-on-y

    (defthm svex-envs-check-ovtests-ok-svex-env-equiv-congruence-on-y
     (implies
         (svex-env-equiv y y-equiv)
         (equal (svex-envs-check-ovtests-ok x y overridekey-set)
                (svex-envs-check-ovtests-ok x y-equiv overridekey-set)))
     :rule-classes :congruence)