• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Community
    • Proof-automation
    • ACL2
      • Theories
      • Rule-classes
      • Proof-builder
      • Recursion-and-induction
      • Hons-and-memoization
      • Events
      • Parallelism
      • History
      • Programming
      • Operational-semantics
      • Real
      • Start-here
      • Debugging
      • Miscellaneous
      • Output-controls
      • Macros
        • Make-event
        • Defmacro
        • Untranslate-patterns
        • Tc
        • Trans*
        • Macro-aliases-table
        • Macro-args
        • Defabbrev
        • User-defined-functions-table
        • Trans
        • Untranslate-for-execution
        • Add-macro-fn
        • Check-vars-not-free
        • Safe-mode
        • Macro-libraries
          • B*
          • Defunc
          • Fty
          • Apt
            • Simplify-defun
            • Isodata
            • Tailrec
            • Schemalg
            • Restrict
            • Expdata
              • Expdata-implementation
                • Expdata-event-generation
                • Expdata-fn
                • Expdata-input-processing
                • Expdata-macro-definition
              • Casesplit
              • Simplify-term
              • Simplify-defun-sk
              • Parteval
              • Solve
              • Wrap-output
              • Propagate-iso
              • Simplify
              • Finite-difference
              • Drop-irrelevant-params
              • Copy-function
              • Lift-iso
              • Rename-params
              • Utilities
              • Simplify-term-programmatic
              • Simplify-defun-sk-programmatic
              • Simplify-defun-programmatic
              • Simplify-defun+
              • Common-options
              • Common-concepts
            • Std/util
            • 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
          • 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
        • Mailing-lists
        • Interfacing-tools
      • Macro-libraries
        • B*
        • Defunc
        • Fty
        • Apt
          • Simplify-defun
          • Isodata
          • Tailrec
          • Schemalg
          • Restrict
          • Expdata
            • Expdata-implementation
              • Expdata-event-generation
              • Expdata-fn
              • Expdata-input-processing
              • Expdata-macro-definition
            • Casesplit
            • Simplify-term
            • Simplify-defun-sk
            • Parteval
            • Solve
            • Wrap-output
            • Propagate-iso
            • Simplify
            • Finite-difference
            • Drop-irrelevant-params
            • Copy-function
            • Lift-iso
            • Rename-params
            • Utilities
            • Simplify-term-programmatic
            • Simplify-defun-sk-programmatic
            • Simplify-defun-programmatic
            • Simplify-defun+
            • Common-options
            • Common-concepts
          • Std/util
          • 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
        • Interfacing-tools
        • Hardware-verification
        • Software-verification
        • Math
        • Testing-utilities
      • Expdata-implementation

      Expdata-macro-definition

      Definition of the expdata macro.

      Submit the event form generated by expdata-fn.

      Macro: expdata

      (defmacro expdata
                (&whole call old surjmaps &key (predicate 'nil)
                        (new-name ':auto)
                        (new-enable ':auto)
                        (old-to-new-name 'nil
                                         old-to-new-name-suppliedp)
                        (old-to-new-enable 'nil
                                           old-to-new-enable-suppliedp)
                        (new-to-old-name 'nil
                                         new-to-old-name-suppliedp)
                        (new-to-old-enable 'nil
                                           new-to-old-enable-suppliedp)
                        (newp-of-new-name ':auto
                                          newp-of-new-name-suppliedp)
                        (newp-of-new-enable 't
                                            newp-of-new-enable-suppliedp)
                        (verify-guards ':auto)
                        (untranslate ':nice)
                        (hints 'nil)
                        (print ':result)
                        (show-only 'nil))
       (cons
        'make-event-terse
        (cons
         (cons
          'expdata-fn
          (cons
           (cons 'quote (cons old 'nil))
           (cons
            (cons 'quote (cons surjmaps 'nil))
            (cons
             (cons 'quote (cons predicate 'nil))
             (cons
              (cons 'quote (cons new-name 'nil))
              (cons
               (cons 'quote (cons new-enable 'nil))
               (cons
                (cons 'quote
                      (cons old-to-new-name 'nil))
                (cons
                 old-to-new-name-suppliedp
                 (cons
                  (cons 'quote
                        (cons old-to-new-enable 'nil))
                  (cons
                   old-to-new-enable-suppliedp
                   (cons
                    (cons 'quote
                          (cons new-to-old-name 'nil))
                    (cons
                     new-to-old-name-suppliedp
                     (cons
                      (cons 'quote
                            (cons new-to-old-enable 'nil))
                      (cons
                       new-to-old-enable-suppliedp
                       (cons
                        (cons 'quote
                              (cons newp-of-new-name 'nil))
                        (cons
                         newp-of-new-name-suppliedp
                         (cons
                          (cons 'quote
                                (cons newp-of-new-enable 'nil))
                          (cons
                           newp-of-new-enable-suppliedp
                           (cons
                            (cons 'quote (cons verify-guards 'nil))
                            (cons
                             (cons 'quote (cons untranslate 'nil))
                             (cons
                              (cons 'quote (cons hints 'nil))
                              (cons
                               (cons 'quote (cons print 'nil))
                               (cons
                                (cons 'quote (cons show-only 'nil))
                                (cons
                                 (cons 'quote (cons call 'nil))
                                 (cons
                                  (cons
                                   'cons
                                   (cons
                                       ''expdata
                                       (cons (cons 'quote (cons old 'nil))
                                             'nil)))
                                  '(state))))))))))))))))))))))))))
         (cons ':suppress-errors
               (cons (not print) 'nil)))))