• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
      • B*
      • Defunc
      • Fty
      • Apt
      • 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
          • Defines
          • Define-sk
          • 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
        • Defdata
        • Defrstobj
        • Seq
        • Match-tree
        • Defrstobj
        • With-supporters
        • Def-partial-measure
        • Template-subst
        • Soft
        • Defthm-domain
        • Event-macros
        • Def-universal-equiv
        • Def-saved-obligs
        • With-supporters-after
        • Definec
        • Sig
        • Outer-local
        • Data-structures
      • ACL2
        • Theories
        • Rule-classes
        • Proof-builder
        • Recursion-and-induction
        • Hons-and-memoization
        • Events
        • Parallelism
        • History
        • Programming
        • Operational-semantics
        • Real
        • Start-here
        • Miscellaneous
        • Output-controls
        • Bdd
        • Macros
          • Make-event
          • Defmacro
          • Untranslate-patterns
          • Tc
          • Trans*
          • Macro-aliases-table
          • Macro-args
          • Defabbrev
          • User-defined-functions-table
          • Trans
          • Untranslate-for-execution
          • Macro-libraries
            • B*
            • Defunc
            • Fty
            • Apt
            • 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
                • Defines
                • Define-sk
                • 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
              • Defdata
              • Defrstobj
              • Seq
              • Match-tree
              • Defrstobj
              • With-supporters
              • Def-partial-measure
              • Template-subst
              • Soft
              • Defthm-domain
              • Event-macros
              • Def-universal-equiv
              • Def-saved-obligs
              • With-supporters-after
              • Definec
              • Sig
              • Outer-local
              • Data-structures
            • Add-macro-fn
            • Check-vars-not-free
            • Safe-mode
            • Trans1
            • Defmacro-untouchable
            • Set-duplicate-keys-action
            • Add-macro-alias
            • Magic-macroexpand
            • Defmacroq
            • Trans!
            • Remove-macro-fn
            • Remove-macro-alias
            • Add-binop
            • Untrans-table
            • Trans*-
            • Remove-binop
            • Tcp
            • Tca
          • Installation
          • Mailing-lists
        • 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))