• 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
            • Constant-propagation
            • Specialize
              • Specialize-implementation
                • Param-declon-list-remove-param-by-ident
                • Specialize-fundef
                • Specialize-ext-declon
                • Specialize-filepath-transunit-map
                • Param-declon-to-declon
                • Specialize-ext-declon-list
                • Specialize-transunit-ensemble
                • Specialize-transunit
                • Specialize-code-ensemble
                • Ident-from-param-declon
                • Specialize-event-generation
                  • Specialize-process-inputs-and-gen-everything
                    • Specialize-gen-everything
                    • Specialize-fn
                    • Specialize-macro-definition
                  • Specialize-input-processing
              • 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
    • Specialize-event-generation

    Specialize-process-inputs-and-gen-everything

    Process the inputs and generate the events.

    Signature
    (specialize-process-inputs-and-gen-everything 
         const-old 
         const-new target param const 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: specialize-process-inputs-and-gen-everything

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

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

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

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

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