• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
      • Sv
        • Svex-stvs
        • Svex-decomposition-methodology
        • Sv-versus-esim
        • Svex-decomp
          • Decomp.lisp
            • Svex-env-compat-union
            • Svdecomp-symenv-compat-union
            • Svexlists-rewrite-until-same
            • Svdecomp-normalize-svexlist-eval
            • Svex-decomp-process-env-term
            • Map-alist-term-keys-to-val-terms
            • Envmap-extract-union-env
            • Alist-collect-compositions
            • Envmap-entry-extract-env
            • Svdecomp-env-extract
            • Svex-alist-evaluation-to-symenv
            • Envmap-entry-to-term-alist
            • Svar-lookup
            • Svar-alist-keys
            • Map-alist-const-keys-to-val-terms
            • Svdecomp-svex?-eval-compare-term
            • Svdecomp-equal-svex-evals-metafun
            • Svdecomp-equal-svex-alist-evals-metafun
            • Envmap->svex-alist
            • Envmap-to-term-alist
            • Svdecomp-equal-svexlist-evals-metafun
            • Pseudo-term-fix
            • Svdecomp-symenv->term
            • Svdecomp-svex-alist-eval-metafun
            • Svdecomp-ev-symenv
            • Svdecomp-svexlist-eval-metafun
            • Svdecomp-svex-eval-metafun
            • Svdecomp-ev-envmap
            • Envmap
            • Svex-alist-alist
            • Svdecomp-symenv
            • Svdecomp-get-rewrite-limit
            • Svdecomp-hints
          • 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
    • Decomp.lisp

    Svdecomp-get-rewrite-limit

    Signature
    (svdecomp-get-rewrite-limit state) → limit
    Returns
    limit — Type (natp limit).

    Definitions and Theorems

    Function: svdecomp-get-rewrite-limit

    (defun svdecomp-get-rewrite-limit (state)
      (declare (xargs :stobjs (state)))
      (declare (xargs :guard t))
      (let ((__function__ 'svdecomp-get-rewrite-limit))
        (declare (ignorable __function__))
        (if (boundp-global 'svdecomp-rewrite-limit
                           state)
            (nfix (f-get-global 'svdecomp-rewrite-limit
                                state))
          5)))

    Theorem: natp-of-svdecomp-get-rewrite-limit

    (defthm natp-of-svdecomp-get-rewrite-limit
      (b* ((limit (svdecomp-get-rewrite-limit state)))
        (natp limit))
      :rule-classes :type-prescription)