• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
      • Std/lists
      • 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-input-processing
            • Defarbrec-check-redundancy
            • Defarbrec-fn
            • Defarbrec-table
              • Defarbrec-infop
                • Defarbrec-info
                • Make-defarbrec-info
                • Change-defarbrec-info
                  • Honsed-defarbrec-info
                  • Make-honsed-defarbrec-info
                  • Defarbrec-info->x1...xn
                  • Defarbrec-info->update-fns
                  • Defarbrec-info->terminates-fn
                  • Defarbrec-info->measure-fn
                  • Defarbrec-info->expansion
                  • Defarbrec-info->call$
                  • Defarbrec-info->body
                • Defarbrec-filter-call
                • *defarbrec-table-name*
              • 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-infop

    Change-defarbrec-info

    A copying macro that lets you create new defarbrec-infop structures, based on existing structures.

    Syntax:

    (change-defarbrec-info x 
                           [:call$ <call$>] 
                           [:expansion <expansion>] 
                           [:x1...xn <x1...xn>] 
                           [:body <body>] 
                           [:update-fns <update-fns>] 
                           [:terminates-fn <terminates-fn>] 
                           [:measure-fn <measure-fn>]) 
    

    This is a sometimes useful alternative to make-defarbrec-info. It constructs a new defarbrec-infop structure that is a copy of x, except that you can explicitly change some particular fields. Any fields you don't mention just keep their values from x.

    Definition

    This is an ordinary change- macro introduced by std::defaggregate.

    Macro: change-defarbrec-info

    (defmacro change-defarbrec-info (x &rest args)
      (std::change-aggregate
           'defarbrec-info
           x args
           '((:call$ . defarbrec-info->call$)
             (:expansion . defarbrec-info->expansion)
             (:x1...xn . defarbrec-info->x1...xn)
             (:body . defarbrec-info->body)
             (:update-fns . defarbrec-info->update-fns)
             (:terminates-fn . defarbrec-info->terminates-fn)
             (:measure-fn . defarbrec-info->measure-fn))
           'change-defarbrec-info
           'nil))