• 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-ovtestsubsetp

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

    Definitions and Theorems

    Function: svex-envlists-ovtestsubsetp

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

    Theorem: svex-envlists-ovtestsimilar-implies-iff-svex-envlists-ovtestsubsetp-1

    (defthm
     svex-envlists-ovtestsimilar-implies-iff-svex-envlists-ovtestsubsetp-1
     (implies (svex-envlists-ovtestsimilar x x-equiv)
              (iff (svex-envlists-ovtestsubsetp x y)
                   (svex-envlists-ovtestsubsetp x-equiv y)))
     :rule-classes (:congruence))

    Theorem: svex-envlists-ovtestsimilar-implies-iff-svex-envlists-ovtestsubsetp-2

    (defthm
     svex-envlists-ovtestsimilar-implies-iff-svex-envlists-ovtestsubsetp-2
     (implies (svex-envlists-ovtestsimilar y y-equiv)
              (iff (svex-envlists-ovtestsubsetp x y)
                   (svex-envlists-ovtestsubsetp x y-equiv)))
     :rule-classes (:congruence))

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

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

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

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

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

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

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

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