• 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
            • Formalized-subset
            • Mapping-to-language-definition
            • Input-files
            • Compilation-database
            • Printer
            • Output-files
              • Output-files-implementation
                • Output-files-process-inputs
                • Output-files-process-const/arg
                • Output-files-process-printer-options
                • Output-files-gen-files
                • Output-files-fn
                  • Output-files-process-path
                  • Output-files-process-inputs-and-gen-files
                  • *output-files-printer-options*
                  • *output-files-allowed-options*
                  • Output-files-definition
                • Output-files-prog
              • Abstract-syntax-operations
              • Implementation-environments
              • Abstract-syntax
              • Concrete-syntax
              • Disambiguation
              • Validation
              • Gcc-builtins
              • Preprocessing
              • Parsing
            • Atc
            • 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
    • Output-files-implementation

    Output-files-fn

    Event expansion of output-files from the inputs.

    Signature
    (output-files-fn args ctx state) → (mv erp event state)
    Arguments
    args — Guard (true-listp args).
    ctx — Guard (ctxp ctx).
    Returns
    event — Type (pseudo-event-formp event).

    We set the flag progp for the programmatic interface to nil.

    Definitions and Theorems

    Function: output-files-fn

    (defun output-files-fn (args ctx state)
     (declare (xargs :stobjs (state)))
     (declare (xargs :guard (and (true-listp args) (ctxp ctx))))
     (let ((__function__ 'output-files-fn))
      (declare (ignorable __function__))
      (b*
       (((mv erp state)
         (output-files-process-inputs-and-gen-files nil args nil state))
        ((when erp)
         (er-soft+ ctx t '(_) "~@0" erp)))
       (value '(value-triple :invisible)))))

    Theorem: pseudo-event-formp-of-output-files-fn.event

    (defthm pseudo-event-formp-of-output-files-fn.event
      (b* (((mv acl2::?erp acl2::?event acl2::?state)
            (output-files-fn args ctx state)))
        (pseudo-event-formp event))
      :rule-classes :rewrite)