• 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
          • Language
            • Abstract-syntax
            • Integer-ranges
            • Implementation-environments
            • Dynamic-semantics
              • Exec-expr
              • Exec
                • Exec-expr
                • Exec-stmt
                • Exec-fun
                • Exec-stmt-while
                • Exec-block-item-list
                • Exec-block-item
                • Exec-expr-list
                  • Exec-obj-declon
                  • Exec-stmt-dowhile
                  • Exec-initer
                • Exec-arrsub
                • Variable-resolution-preservation
                • Init-value-to-value
                • Apconvert-expr-value
                • Execution-limit-monotonicity
                • Exec-memberp
                • Exec-stmt
                • Exec-address
                • Init-scope
                • Exec-unary
                • Exec-member
                • Exec-fun
                • Exec-stmt-while
                • Eval-iconst
                • Exec-binary-strict-pure
                • Variable-visibility-preservation
                • Object-type-preservation
                • Eval-binary-strict-pure
                • Exec-block-item-list
                • Exec-indir
                • Exec-ident
                • Exec-block-item
                • Eval-cast
                • Frame-and-scope-peeling
                • Exec-expr-list
                  • Exec-obj-declon
                  • Exec-cast
                  • Exec-const
                  • Eval-unary
                  • Exec-stmt-dowhile
                  • Exec-initer
                  • Eval-const
                  • Execution-without-function-calls
                • Static-semantics
                • Grammar
                • Types
                • Integer-formats-definitions
                • Computation-states
                • Portable-ascii-identifiers
                • Values
                • Integer-operations
                • Object-designators
                • Operations
                • Errors
                • Tag-environments
                • Function-environments
                • Character-sets
                • Flexible-array-member-removal
                • Arithmetic-operations
                • Pointer-operations
                • Real-operations
                • Array-operations
                • Scalar-operations
                • Structure-operations
              • 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
      • Dynamic-semantics
      • Exec

      Exec-expr-list

      Execute zero or more expressions, in order.

      Signature
      (exec-expr-list es compst fenv limit) → (mv vals new-compst)
      Arguments
      es — Guard (expr-listp es).
      compst — Guard (compustatep compst).
      fenv — Guard (fun-envp fenv).
      limit — Guard (natp limit).
      Returns
      vals — Type (value-list-resultp vals).
      new-compst — Type (compustatep new-compst).

      The order is actually unimportant because we only call this function when either there is zero or one expression, or they are all pure.

      All the expressions must return a value, i.e. they must not be void.

      We perform array-to-pointer conversions on all the results, because that is required by all the callers of this function.