• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Community
    • 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-implementation-core
          • Gen-macro2-of-macro
          • Defun-inst-implementation
          • Defthm-inst-implementation
          • Defsoft-implementation
            • Defsoft-fn
            • Ensure-defun-sk-rule-same-funvars
            • Ensure-wfrel-o<
            • Defsoft-macro-definition
            • Defunvar-implementation
            • Defund-sk2-implementation
            • Defun-sk2-implementation
            • Define-sk2-implementation
            • Defchoose2-implementation
            • Defund2-implementation
            • Defun2-implementation
            • Define2-implementation
          • Soft-notions
        • 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
    • Defsoft-implementation

    Defsoft-macro-definition

    Definition of the defsoft macro.

    Macro: defsoft

    (defmacro defsoft (fn)
     (cons
      'with-output
      (cons
       ':gag-mode
       (cons
        'nil
        (cons
         ':off
         (cons
          (set-difference-eq acl2::*valid-output-names*
                             '(error observation))
          (cons
           ':stack
           (cons
            ':push
            (cons
             (cons
              'make-event
              (cons
               (cons
                'defsoft-fn
                (cons
                    (cons 'quote (cons fn 'nil))
                    (cons (cons 'cons
                                (cons ''defsoft
                                      (cons (cons 'quote (cons fn 'nil))
                                            'nil)))
                          '(state))))
               '(:on-behalf-of :quiet!)))
             'nil)))))))))

    Macro: defsoft

    (defmacro acl2::defsoft (&rest args)
      (cons 'defsoft args))