• 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

    Svtv-override-triplemaplist-test-only-p

    Signature
    (svtv-override-triplemaplist-test-only-p triplemaps spec) → *
    Arguments
    triplemaps — Guard (svtv-override-triplemaplist-p triplemaps).
    spec — Guard (svex-env-p spec).

    Definitions and Theorems

    Function: svtv-override-triplemaplist-test-only-p

    (defun svtv-override-triplemaplist-test-only-p (triplemaps spec)
      (declare
           (xargs :guard (and (svtv-override-triplemaplist-p triplemaps)
                              (svex-env-p spec))))
      (let ((__function__ 'svtv-override-triplemaplist-test-only-p))
        (declare (ignorable __function__))
        (if (atom triplemaps)
            t
          (and (svtv-override-triplemap-test-only-p (car triplemaps)
                                                    spec)
               (svtv-override-triplemaplist-test-only-p (cdr triplemaps)
                                                        spec)))))

    Theorem: svtv-override-triplemaplist-test-only-p-correct

    (defthm svtv-override-triplemaplist-test-only-p-correct
     (implies
      (and (svtv-override-triplemaplist-test-only-p triplemaps spec)
           (svex-envs-1mask-equiv env1 env2))
      (equal
       (equal
          (svtv-override-triplemaplist-envs-match triplemaps env1 spec)
          (svtv-override-triplemaplist-envs-match triplemaps env2 spec))
       t)))

    Theorem: svtv-override-triplemaplist-test-only-p-of-svtv-override-triplemaplist-fix-triplemaps

    (defthm
     svtv-override-triplemaplist-test-only-p-of-svtv-override-triplemaplist-fix-triplemaps
     (equal (svtv-override-triplemaplist-test-only-p
                 (svtv-override-triplemaplist-fix triplemaps)
                 spec)
            (svtv-override-triplemaplist-test-only-p triplemaps spec)))

    Theorem: svtv-override-triplemaplist-test-only-p-svtv-override-triplemaplist-equiv-congruence-on-triplemaps

    (defthm
     svtv-override-triplemaplist-test-only-p-svtv-override-triplemaplist-equiv-congruence-on-triplemaps
     (implies
      (svtv-override-triplemaplist-equiv triplemaps triplemaps-equiv)
      (equal
       (svtv-override-triplemaplist-test-only-p triplemaps spec)
       (svtv-override-triplemaplist-test-only-p triplemaps-equiv spec)))
     :rule-classes :congruence)

    Theorem: svtv-override-triplemaplist-test-only-p-of-svex-env-fix-spec

    (defthm svtv-override-triplemaplist-test-only-p-of-svex-env-fix-spec
      (equal (svtv-override-triplemaplist-test-only-p
                  triplemaps (svex-env-fix spec))
             (svtv-override-triplemaplist-test-only-p triplemaps spec)))

    Theorem: svtv-override-triplemaplist-test-only-p-svex-env-equiv-congruence-on-spec

    (defthm
     svtv-override-triplemaplist-test-only-p-svex-env-equiv-congruence-on-spec
     (implies
      (svex-env-equiv spec spec-equiv)
      (equal
       (svtv-override-triplemaplist-test-only-p triplemaps spec)
       (svtv-override-triplemaplist-test-only-p triplemaps spec-equiv)))
     :rule-classes :congruence)