• 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-alistlist-removekeys

    Signature
    (svex-alistlist-removekeys keys alists) → *
    Arguments
    keys — Guard (svarlist-p keys).
    alists — Guard (svex-alistlist-p alists).

    Definitions and Theorems

    Function: svex-alistlist-removekeys

    (defun svex-alistlist-removekeys (keys alists)
      (declare (xargs :guard (and (svarlist-p keys)
                                  (svex-alistlist-p alists))))
      (let ((__function__ 'svex-alistlist-removekeys))
        (declare (ignorable __function__))
        (if (atom alists)
            nil
          (cons (svex-alist-removekeys keys (car alists))
                (svex-alistlist-removekeys keys (cdr alists))))))

    Theorem: svex-alistlist-removekeys-of-svarlist-fix-keys

    (defthm svex-alistlist-removekeys-of-svarlist-fix-keys
      (equal (svex-alistlist-removekeys (svarlist-fix keys)
                                        alists)
             (svex-alistlist-removekeys keys alists)))

    Theorem: svex-alistlist-removekeys-svarlist-equiv-congruence-on-keys

    (defthm svex-alistlist-removekeys-svarlist-equiv-congruence-on-keys
      (implies (svarlist-equiv keys keys-equiv)
               (equal (svex-alistlist-removekeys keys alists)
                      (svex-alistlist-removekeys keys-equiv alists)))
      :rule-classes :congruence)

    Theorem: svex-alistlist-removekeys-of-svex-alistlist-fix-alists

    (defthm svex-alistlist-removekeys-of-svex-alistlist-fix-alists
     (equal (svex-alistlist-removekeys keys (svex-alistlist-fix alists))
            (svex-alistlist-removekeys keys alists)))

    Theorem: svex-alistlist-removekeys-svex-alistlist-equiv-congruence-on-alists

    (defthm
     svex-alistlist-removekeys-svex-alistlist-equiv-congruence-on-alists
     (implies (svex-alistlist-equiv alists alists-equiv)
              (equal (svex-alistlist-removekeys keys alists)
                     (svex-alistlist-removekeys keys alists-equiv)))
     :rule-classes :congruence)