• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
      • Std/lists
      • Omaps
      • Std/alists
      • Obags
      • Std/util
        • Defprojection
        • Deflist
        • Defaggregate
        • Define
        • Defmapping
        • Defenum
        • Add-io-pairs
        • Defalist
        • Defmapappend
        • Returns-specifiers
        • Defarbrec
          • Defarbrec-implementation
            • Defarbrec-event-generation
              • Defarbrec-gen-everything
              • Defarbrec-gen-fn-fn
              • Defarbrec-gen-measure-fn-end-lemma
              • Defarbrec-gen-measure-fn-min-lemma
              • Defarbrec-gen-measure-fn
              • Defarbrec-gen-update-fns
              • Defarbrec-gen-terminates-fn
              • Defarbrec-gen-measure-fn-natp-lemma
              • Defarbrec-gen-update-fns-lemma
              • Defarbrec-gen-extend-table
              • Defarbrec-gen-test-of-updates-term
                • Defarbrec-gen-var-k
                • Defarbrec-gen-var-l
                • Defarbrec-gen-print-result
              • Defarbrec-input-processing
              • Defarbrec-check-redundancy
              • Defarbrec-fn
              • Defarbrec-table
              • Defarbrec-macro-definition
          • Define-sk
          • Defines
          • Error-value-tuples
          • Defmax-nat
          • Defmin-int
          • Deftutorial
          • Extended-formals
          • Defrule
          • Defval
          • Defsurj
          • Defiso
          • Defconstrained-recognizer
          • Deffixer
          • Defmvtypes
          • Defconsts
          • Defthm-unsigned-byte-p
          • Support
          • Defthm-signed-byte-p
          • Defthm-natp
          • Defund-sk
          • Defmacro+
          • Defsum
          • Defthm-commutative
          • Definj
          • Defirrelevant
          • Defredundant
        • Std/strings
        • Std/osets
        • Std/io
        • Std/basic
        • Std/system
        • Std/typed-lists
        • Std/bitsets
        • Std/testing
        • Std/typed-alists
        • Std/stobjs
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Defarbrec-event-generation

    Defarbrec-gen-test-of-updates-term

    Generate the instantiation of the exit test of fn with calls to the iterated argument update functions.

    Signature
    (defarbrec-gen-test-of-updates-term 
         x1...xn$ test update-names$ iterations) 
     
      → 
    terms
    Arguments
    x1...xn$ — Guard (symbol-listp x1...xn$).
    test — Guard (pseudo-termp test).
    update-names$ — Guard (symbol-listp update-names$).
    iterations — Guard (pseudo-termp iterations).
    Returns
    terms — A pseudo-termp.

    This is the term test<(update*-x1 iterations x1 ... xn), ..., (update*-xn iterations x1 ... xn)>, where the iterations term is passed as argument to this function.

    Definitions and Theorems

    Function: defarbrec-gen-test-of-updates-term

    (defun defarbrec-gen-test-of-updates-term
           (x1...xn$ test update-names$ iterations)
      (declare (xargs :guard (and (symbol-listp x1...xn$)
                                  (pseudo-termp test)
                                  (symbol-listp update-names$)
                                  (pseudo-termp iterations))))
      (let ((__function__ 'defarbrec-gen-test-of-updates-term))
        (declare (ignorable __function__))
        (subcor-var x1...xn$
                    (apply-terms-same-args update-names$
                                           (cons iterations x1...xn$))
                    test)))