• 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
        • Define-sk
        • Defines
        • Error-value-tuples
        • Defmax-nat
          • Defmax-nat-implementation
            • Defmax-nat-fn
              • Defmax-nat-macro-definition
              • Defmax-nat-input-processing
              • Defmax-nat-event-generation
          • 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
    • Defmax-nat-implementation

    Defmax-nat-fn

    Process the inputs and generate the event to submit.

    Signature
    (defmax-nat-fn f y x1...xn body guard verify-guards ctx state) 
      → 
    (mv erp event state)
    Returns
    event — A pseudo-event-formp.

    Definitions and Theorems

    Function: defmax-nat-fn

    (defun defmax-nat-fn (f y x1...xn
                            body guard verify-guards ctx state)
     (declare (xargs :stobjs (state)))
     (declare (xargs :guard t))
     (let ((__function__ 'defmax-nat-fn))
      (declare (ignorable __function__))
      (b*
       (((er &)
         (defmax-nat-process-inputs f y x1...xn
                                    body guard verify-guards ctx state))
        (event (defmax-nat-gen-everything
                    f y x1...xn body guard verify-guards)))
       (value event))))