• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
      • B*
      • Defunc
      • Fty
      • Apt
      • Std/util
      • Defdata
      • Defrstobj
      • Seq
      • Match-tree
      • Defrstobj
      • With-supporters
      • Def-partial-measure
      • Template-subst
      • Soft
        • Soft-future-work
        • Soft-macros
        • Updates-to-workshop-material
        • Soft-implementation
        • Soft-notions
          • Second-order-functions
          • Second-order-function-instances
          • Function-variable-instantiation
          • Second-order-theorems
          • Function-variable-dependency
          • Function-variables
            • Defunvar
              • Defunvar-implementation
                • Defunvar-fn
                • Show-defunvar
                • Defunvar-macro-definition
            • Second-order-theorem-instances
        • Defthm-domain
        • Event-macros
        • Def-universal-equiv
        • Def-saved-obligs
        • With-supporters-after
        • Definec
        • Sig
        • Outer-local
        • Data-structures
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Defunvar-implementation

    Defunvar-macro-definition

    Definition of the defunvar macro.

    Macro: defunvar

    (defmacro defunvar (&whole call &rest inputs)
     (cons
      'make-event-terse
      (cons
       (cons
        'defunvar-fn
        (cons
         (cons 'quote (cons inputs 'nil))
         (cons
          (cons 'quote (cons call 'nil))
          (cons
           (cons
            'cons
            (cons ''defunvar
                  (cons (cons 'quote
                              (cons (if (consp inputs) (car inputs) nil)
                                    'nil))
                        'nil)))
           '(state)))))
       'nil)))

    Macro: defunvar

    (defmacro acl2::defunvar (&rest inputs)
      (cons 'defunvar inputs))