• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Wp-gen
      • Dimacs-reader
      • Pfcs
      • Legacy-defrstobj
      • C
      • Proof-checker-array
      • Soft
      • Farray
      • Rp-rewriter
      • Instant-runoff-voting
      • Imp-language
      • Sidekick
      • Ethereum
      • Leftist-trees
      • Java
      • Riscv
      • Taspi
      • Bitcoin
      • Zcash
      • Des
      • X86isa
      • Sha-2
      • Yul
        • Transformations
        • Language
          • Abstract-syntax
          • Dynamic-semantics
          • Concrete-syntax
          • Static-soundness
            • Static-soundess-of-execution
            • Theorems-about-cstate-to-vars-and-execution
            • Static-soundness-theorems-about-add-funs
            • Static-soundness-theorems-about-modes
            • Static-soundness-theorems-about-init-local
            • Check-var-list
            • Funinfo-safep
            • Static-soundness-theorems-about-find-fun
            • Funenv-to-funtable
            • Theorems-about-checking-expression-lists-in-reverse
            • Static-soundness-of-variable-writing
            • Funscope-to-funtable
            • Funenv-safep
            • Funscope-safep
            • Cstate-to-vars
            • Funinfo-to-funtype
            • Static-soundness-of-variable-addition
            • Static-soundness-of-variable-reading
            • Static-soundness-of-literal-execution
            • Exec-top-block-static-soundness
              • Static-soundness-of-path-execution
            • Static-semantics
            • Errors
          • Yul-json
        • Proof-checker-itp13
        • Regex
        • ACL2-programming-language
        • Json
        • Jfkr
        • Equational
        • Cryptography
        • Axe
        • Poseidon
        • Where-do-i-place-my-book
        • Aleo
        • Bigmems
        • Builtins
        • Execloader
        • Solidity
        • Paco
        • Concurrent-programs
        • Bls12-377-curves
      • Debugging
      • Community
      • Std
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Static-soundness

    Exec-top-block-static-soundness

    Top-level static soundness theorem.

    This applies to the top-level block. If the block is safe, then its execution can only return either a final state or a limit error, never any other kind of error.

    Definitions and Theorems

    Theorem: exec-top-block-static-soundness

    (defthm exec-top-block-static-soundness
      (implies (not (reserrp (check-safe-top-block block)))
               (b* ((cstate (exec-top-block block limit)))
                 (implies (not (reserr-limitp cstate))
                          (not (reserrp cstate))))))