• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • 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
        • Defines
        • Define-sk
        • 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
      • 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
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
    • Math
    • Testing-utilities
  • Defmax-nat

Defmax-nat-implementation

Implementation of defmax-nat.

The implementation functions have formal parameters consistently named as follows:

  • state is the ACL2 state.
  • ctx is the context used for errors.
  • f, y, x1...xn, body, guard, and verify-guards are the honomynous inputs to defmax-nat, where x1...xn is shown as (x1 ... xn) in the documentation. They have no types before being processed, then they acquire types implied by their validation.

Subtopics

Defmax-nat-fn
Process the inputs and generate the event to submit.
Defmax-nat-macro-definition
Definition of the defmax-nat macro.
Defmax-nat-input-processing
Input processing performed by defmax-nat.
Defmax-nat-event-generation
Event generation performed by defmax-nat.