• 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
              • Input-files-implementation
                • Input-files-process-inputs
                • Input-files-gen-events
                • Input-files-process-preprocess-args
                • Input-files-process-inputs-and-gen-events
                • Input-files-complete-preprocess-extra-args
                • Input-files-process-ienv
                • Input-files-fn
                  • Input-files-read-files
                  • Input-files-process-const
                  • String-stringlist-map-map-cons-values
                  • Input-files-process-path
                  • Input-files-process-files
                  • Input-files-process-process
                  • Input-files-preprocess-arg-std
                  • Input-files-process-preprocess
                  • Input-files-process-keep-going
                  • Input-files-process-inputp
                  • Input-files-preprocess-inputp
                  • *input-files-allowed-options*
                  • Input-files-definition
                • Input-files-prog
              • Compilation-database
              • Printer
              • Output-files
              • 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
    • Input-files-implementation

    Input-files-fn

    Event expansion of input-files from the inputs.

    Signature
    (input-files-fn files-presentp files path preprocess 
                    preprocess-args process const-presentp 
                    const keep-going std gcc short-bytes 
                    int-bytes long-bytes long-long-bytes 
                    plain-char-signed ctx state) 
     
      → 
    (mv erp event state)
    Arguments
    files-presentp — Guard (booleanp files-presentp).
    const-presentp — Guard (booleanp const-presentp).
    ctx — Guard (ctxp ctx).
    Returns
    event — Type (pseudo-event-formp event).

    We set the flag progp for the programmatic interface to nil. We ignore the artifacts returned as additional results.

    Definitions and Theorems

    Function: input-files-fn

    (defun input-files-fn
           (files-presentp files path preprocess
                           preprocess-args process const-presentp
                           const keep-going std gcc short-bytes
                           int-bytes long-bytes long-long-bytes
                           plain-char-signed ctx state)
      (declare (xargs :stobjs (state)))
      (declare (xargs :guard (and (booleanp files-presentp)
                                  (booleanp const-presentp)
                                  (ctxp ctx))))
      (let ((__function__ 'input-files-fn))
        (declare (ignorable __function__))
        (b* (((mv erp event & state)
              (input-files-process-inputs-and-gen-events
                   files-presentp files path preprocess
                   preprocess-args process const-presentp
                   const keep-going std gcc short-bytes
                   int-bytes long-bytes long-long-bytes
                   plain-char-signed nil state))
             ((when erp)
              (er-soft+ ctx t '(_) "~@0" erp)))
          (value event))))

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

    (defthm pseudo-event-formp-of-input-files-fn.event
      (b* (((mv acl2::?erp acl2::?event acl2::?state)
            (input-files-fn files-presentp files path preprocess
                            preprocess-args process const-presentp
                            const keep-going std gcc short-bytes
                            int-bytes long-bytes long-long-bytes
                            plain-char-signed ctx state)))
        (pseudo-event-formp event))
      :rule-classes :rewrite)