• 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-to-fsm-first-thm

    Signature
    (svtv-to-fsm-first-thm x) → *

    Definitions and Theorems

    Function: svtv-to-fsm-first-thm

    (defun svtv-to-fsm-first-thm (x)
     (declare (xargs :guard t))
     (let ((__function__ 'svtv-to-fsm-first-thm))
      (declare (ignorable __function__))
      (b*
       (((svtv-to-fsm-thm x))
        ((with-fast x.bindings x.outmap x.triple-val-alist))
        (var-bindings (append (svtv-to-fsm-first-thm-input-var-bindings
                                   x.input-vars x.bindings nil 'envs)
                              (svtv-to-fsm-first-thm-input-var-bindings
                                   x.remaining-override-vars x.bindings
                                   :val 'envs)
                              (svtv-to-fsm-first-thm-input-var-bindings
                                   x.all-eliminated-override-vars
                                   x.bindings nil 'outs)
                              (svtv-to-fsm-first-thm-input-var-bindings
                                   x.output-vars x.outmap nil 'outs)))
        (test-env (svtv-genthm-override-test-alist
                       x.new-eliminated-override-vars
                       nil x.triple-val-alist x.triples-name)))
       (acl2::template-subst
        *svtv-to-fsm-first-thm-template*
        :atom-alist
        (cons
         (cons '<fsmname> x.fsmname)
         (cons
          (cons '<hyp> x.hyp)
          (cons
           (cons '<concl> x.concl)
           (cons
            (cons '<run-length> x.run-length)
            (cons
             (cons '<svtv-spec-thmname>
                   x.svtv-spec-thmname)
             (cons (cons '<specname> x.svtv-spec)
                   (cons (cons '<override-test-envs>
                               (cons 'quote
                                     (cons x.override-test-envs 'nil)))
                         (cons (cons '<test-env>
                                     (cons 'quote (cons test-env 'nil)))
                               'nil))))))))
        :splice-alist (cons (cons '<bindings> var-bindings)
                            'nil)
        :str-alist
        (cons (cons '"<SVTVNAME>"
                    (symbol-name x.svtv))
              (cons (cons '"<SPECNAME>"
                          (symbol-name x.svtv-spec))
                    (cons (cons '"<THMNAME>"
                                (symbol-name x.thmname))
                          (cons (cons '"<FSMNAME>"
                                      (symbol-name x.fsmname))
                                'nil))))
        :pkg-sym x.pkg-sym))))