• 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
                • Svtv-spec-fsm-bindings-for-alist
                • Svtv-spec-fsm-bindings-for-alists
                • Svtv-spec-fsm-constraints-for-alist
                • Svtv-spec-fsm-constraints-for-alists
                • Lhprobe
                • Svtv-spec-fsm-bindings-for-lhprobe
                • Svtv-spec-fsm-constraints-for-lhprobe
                  • Lhprobe-map-overridemux-eval
                  • Svtv-fsm-namemap-alistlist
                  • Lhprobe-constraintlist-overridemux-eval
                  • Lhs-overridemux-eval-signx
                  • Svtv-fsm-namemap-envlist
                  • Lhprobe/4vec-overridemux-eval
                  • Lhprobe-constraintlist-max-stage
                  • Lhprobe-constraint-overridemux-eval
                  • Svex-envlists-agree
                  • Lhprobe-overridemux-eval
                  • Lhs-overridemux-eval-zero
                  • Lhatom-overridemux-eval
                  • Svar/4vec-alist-eval
                  • Svtv-probealist-to-lhprobe-map
                  • Svex-envlists-ovtestsimilar
                  • Lhprobe-map-max-stage
                  • Lhprobe-constraint
                  • Svar/4vec-alistlist-eval
                  • Lhprobe-map-eval
                  • Lhprobe-constraint-max-stage
                  • Lhprobe/4vec-change-override
                  • Lhprobe-constraintlist-eval
                  • Svtv-probe-to-lhprobe
                  • Svar/4vec-eval
                  • Lhs-eval-signx
                  • Lhprobe-signedness-for-alist
                  • Lhprobe-change-override
                  • Svtv-spec-fsm-bindings
                  • Svtv-spec-cycle-fsm-inputsubsts
                  • Lhprobe/4vec-p
                  • Lhprobe-constraint-eval
                  • Svtv-spec-fsm-constraints
                  • Svex-envlist-keys-list
                  • Svtv-spec-non-test-vars
                  • Svar/4vec-p
                  • Svtv-spec->override-val-alists*
                  • Svtv-spec->override-test-alists*
                  • Svtv-spec->in-alists*
                  • Lhprobe-map
                  • Svar/4vec-alist
                  • Svar/4vec-alistlist
                  • Lhprobe-constraintlist
                  • Force-execute
                • 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-defs

    Svtv-spec-fsm-constraints-for-lhprobe

    Signature
    (svtv-spec-fsm-constraints-for-lhprobe lhprobe binding bindings) 
      → 
    constraints
    Arguments
    lhprobe — Guard (lhprobe-p lhprobe).
    binding — Guard (svar/4vec-p binding).
    bindings — Guard (lhprobe-map-p bindings).
    Returns
    constraints — Type (lhprobe-constraintlist-p constraints).

    Definitions and Theorems

    Function: svtv-spec-fsm-constraints-for-lhprobe

    (defun svtv-spec-fsm-constraints-for-lhprobe
           (lhprobe binding bindings)
      (declare (xargs :guard (and (lhprobe-p lhprobe)
                                  (svar/4vec-p binding)
                                  (lhprobe-map-p bindings))))
      (let ((__function__ 'svtv-spec-fsm-constraints-for-lhprobe))
        (declare (ignorable __function__))
        (svar/4vec-case
             binding :4vec
             (list (make-lhprobe-constraint :lhprobe lhprobe
                                            :val (4vec-fix binding)))
             :svar
             (b* ((binding-look (hons-get (svar-fix binding)
                                          (lhprobe-map-fix bindings)))
                  ((unless binding-look)
                   (list (make-lhprobe-constraint :lhprobe lhprobe
                                                  :val (4vec-x))))
                  (binding-lhprobe (cdr binding-look))
                  ((when (equal binding-lhprobe (lhprobe-fix lhprobe)))
                   nil))
               (list (make-lhprobe-constraint :lhprobe lhprobe
                                              :val binding-lhprobe))))))

    Theorem: lhprobe-constraintlist-p-of-svtv-spec-fsm-constraints-for-lhprobe

    (defthm
      lhprobe-constraintlist-p-of-svtv-spec-fsm-constraints-for-lhprobe
      (b* ((constraints (svtv-spec-fsm-constraints-for-lhprobe
                             lhprobe binding bindings)))
        (lhprobe-constraintlist-p constraints))
      :rule-classes :rewrite)

    Theorem: svtv-spec-fsm-constraints-for-lhprobe-of-lhprobe-fix-lhprobe

    (defthm svtv-spec-fsm-constraints-for-lhprobe-of-lhprobe-fix-lhprobe
     (equal
      (svtv-spec-fsm-constraints-for-lhprobe (lhprobe-fix lhprobe)
                                             binding bindings)
      (svtv-spec-fsm-constraints-for-lhprobe lhprobe binding bindings)))

    Theorem: svtv-spec-fsm-constraints-for-lhprobe-lhprobe-equiv-congruence-on-lhprobe

    (defthm
     svtv-spec-fsm-constraints-for-lhprobe-lhprobe-equiv-congruence-on-lhprobe
     (implies
      (lhprobe-equiv lhprobe lhprobe-equiv)
      (equal
        (svtv-spec-fsm-constraints-for-lhprobe lhprobe binding bindings)
        (svtv-spec-fsm-constraints-for-lhprobe
             lhprobe-equiv binding bindings)))
     :rule-classes :congruence)

    Theorem: svtv-spec-fsm-constraints-for-lhprobe-of-svar/4vec-fix-binding

    (defthm
         svtv-spec-fsm-constraints-for-lhprobe-of-svar/4vec-fix-binding
     (equal
      (svtv-spec-fsm-constraints-for-lhprobe
           lhprobe (svar/4vec-fix binding)
           bindings)
      (svtv-spec-fsm-constraints-for-lhprobe lhprobe binding bindings)))

    Theorem: svtv-spec-fsm-constraints-for-lhprobe-svar/4vec-equiv-congruence-on-binding

    (defthm
     svtv-spec-fsm-constraints-for-lhprobe-svar/4vec-equiv-congruence-on-binding
     (implies
      (svar/4vec-equiv binding binding-equiv)
      (equal
        (svtv-spec-fsm-constraints-for-lhprobe lhprobe binding bindings)
        (svtv-spec-fsm-constraints-for-lhprobe
             lhprobe binding-equiv bindings)))
     :rule-classes :congruence)

    Theorem: svtv-spec-fsm-constraints-for-lhprobe-of-lhprobe-map-fix-bindings

    (defthm
      svtv-spec-fsm-constraints-for-lhprobe-of-lhprobe-map-fix-bindings
     (equal
      (svtv-spec-fsm-constraints-for-lhprobe
           lhprobe
           binding (lhprobe-map-fix bindings))
      (svtv-spec-fsm-constraints-for-lhprobe lhprobe binding bindings)))

    Theorem: svtv-spec-fsm-constraints-for-lhprobe-lhprobe-map-equiv-congruence-on-bindings

    (defthm
     svtv-spec-fsm-constraints-for-lhprobe-lhprobe-map-equiv-congruence-on-bindings
     (implies
      (lhprobe-map-equiv bindings bindings-equiv)
      (equal
        (svtv-spec-fsm-constraints-for-lhprobe lhprobe binding bindings)
        (svtv-spec-fsm-constraints-for-lhprobe
             lhprobe binding bindings-equiv)))
     :rule-classes :congruence)