• 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
            • Atc-implementation
              • Atc-abstract-syntax
              • Atc-pretty-printer
              • Atc-event-and-code-generation
              • Fty-pseudo-term-utilities
              • Atc-term-recognizers
              • Atc-input-processing
              • Atc-shallow-embedding
              • Atc-process-inputs-and-gen-everything
                • Atc-table
                • Atc-fn
                • Atc-pretty-printing-options
                • Atc-types
                • Atc-macro-definition
              • Atc-tutorial
            • Transformation-tools
            • 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
    • Atc-implementation

    Atc-process-inputs-and-gen-everything

    Process the inputs and generate the events and code.

    Signature
    (atc-process-inputs-and-gen-everything args call state) 
      → 
    (mv erp event state)
    Arguments
    args — Guard (true-listp args).
    call — Guard (pseudo-event-formp call).
    Returns
    event — Type (pseudo-event-formp event).

    Definitions and Theorems

    Function: atc-process-inputs-and-gen-everything

    (defun atc-process-inputs-and-gen-everything (args call state)
     (declare (xargs :stobjs (state)))
     (declare (xargs :guard (and (true-listp args)
                                 (pseudo-event-formp call))))
     (let ((__function__ 'atc-process-inputs-and-gen-everything))
      (declare (ignorable __function__))
      (b* (((reterr) '(_) state)
           ((when (atc-table-lookup call (w state)))
            (retok '(value-triple :redundant)
                   state))
           ((erp targets file-name path-wo-ext
                 header pretty-printing proofs prog-const
                 wf-thm fn-thms & & print state)
            (atc-process-inputs args state))
           ((erp event)
            (atc-gen-everything targets file-name path-wo-ext
                                header pretty-printing proofs prog-const
                                wf-thm fn-thms print call state)))
        (retok event state))))

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

    (defthm
      pseudo-event-formp-of-atc-process-inputs-and-gen-everything.event
      (b* (((mv acl2::?erp acl2::?event acl2::?state)
            (atc-process-inputs-and-gen-everything args call state)))
        (pseudo-event-formp event))
      :rule-classes :rewrite)