• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
      • Kestrel-books
        • Crypto-hdwallet
        • Apt
        • Error-checking
        • Fty-extensions
        • Isar
        • Kestrel-utilities
        • Set
        • C
          • Syntax-for-tools
          • Atc
          • Transformation-tools
            • Simpadd0
            • Proof-generation
            • Split-gso
            • Wrap-fn
              • Wrap-fn-implementation
                • Init-declor-list-wrap-fn-add-wrapper-def
                • Declor-wrap-fn-add-wrapper-def
                • Ext-declon-wrap-fn-add-wrapper-def
                • Fundef-wrap-fn-add-wrapper-def
                • Declon-wrap-fn-add-wrapper-def
                • Ext-declon-list-wrap-fn
                • Wrap-fn-process-param-declon-list-loop
                • Filepath-transunit-map-wrap-fn
                • Wrap-fn-process-param-declon-list
                • Transunit-wrap-fn
                • Transunit-ensemble-wrap-fn
                • Code-ensemble-wrap-fn
                • Code-ensemble-wrap-fn-multiple
                • Declor-wrap-fn-make-wrapper
                • Dirdeclor-wrap-fn-make-wrapper
                • Wrap-fn-input-processing
                • Wrap-fn-event-generation
                  • Wrap-fn-gen-everything
                  • Wrap-fn-process-inputs-and-gen-everything
                    • Wrap-fn-fn
                    • Wrap-fn-macro-definition
              • Constant-propagation
              • Specialize
              • Split-fn
              • Split-fn-when
              • Split-all-gso
              • Copy-fn
              • Variables-in-computation-states
              • Rename
              • Utilities
              • Proof-generation-theorems
              • Input-processing
            • Language
            • Representation
            • Insertion-sort
            • Pack
          • Soft
          • Bv
          • Imp-language
          • Ethereum
          • Event-macros
          • Java
          • Riscv
          • Bitcoin
          • Zcash
          • Yul
          • ACL2-programming-language
          • Prime-fields
          • Json
          • Syntheto
          • File-io-light
          • Cryptography
          • Number-theory
          • Axe
          • Lists-light
          • Builtins
          • Solidity
          • Helpers
          • Htclient
          • Typed-lists-light
          • Arithmetic-light
        • X86isa
        • Axe
        • Execloader
      • Math
      • Testing-utilities
    • Wrap-fn-event-generation

    Wrap-fn-process-inputs-and-gen-everything

    Process the inputs and generate the events.

    Signature
    (wrap-fn-process-inputs-and-gen-everything 
         const-old const-new targets wrld) 
     
      → 
    (mv er? event)
    Arguments
    wrld — Guard (plist-worldp wrld).
    Returns
    er? — Type (maybe-msgp er?).
    event — Type (pseudo-event-formp event).

    Definitions and Theorems

    Function: wrap-fn-process-inputs-and-gen-everything

    (defun wrap-fn-process-inputs-and-gen-everything
           (const-old const-new targets wrld)
      (declare (xargs :guard (plist-worldp wrld)))
      (b* (((reterr) '(_))
           ((erp code const-new targets)
            (wrap-fn-process-inputs const-old const-new targets wrld))
           ((erp event)
            (wrap-fn-gen-everything code const-new targets)))
        (retok event)))

    Theorem: maybe-msgp-of-wrap-fn-process-inputs-and-gen-everything.er?

    (defthm maybe-msgp-of-wrap-fn-process-inputs-and-gen-everything.er?
      (b* (((mv ?er? acl2::?event)
            (wrap-fn-process-inputs-and-gen-everything
                 const-old const-new targets wrld)))
        (maybe-msgp er?))
      :rule-classes :rewrite)

    Theorem: pseudo-event-formp-of-wrap-fn-process-inputs-and-gen-everything.event

    (defthm
     pseudo-event-formp-of-wrap-fn-process-inputs-and-gen-everything.event
     (b* (((mv ?er? acl2::?event)
           (wrap-fn-process-inputs-and-gen-everything
                const-old const-new targets wrld)))
       (pseudo-event-formp event))
     :rule-classes :rewrite)