• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Wp-gen
      • Dimacs-reader
      • Pfcs
      • Legacy-defrstobj
      • Proof-checker-array
      • Soft
      • C
      • Farray
      • Rp-rewriter
      • Instant-runoff-voting
      • Imp-language
      • Sidekick
      • Leftist-trees
      • Java
      • Taspi
      • Bitcoin
      • Riscv
      • Des
      • Ethereum
      • X86isa
      • Sha-2
      • Yul
      • Zcash
      • Proof-checker-itp13
      • Regex
      • ACL2-programming-language
        • Primitive-functions
        • Translated-terms
        • Values
        • Evaluation
          • Step-from-trans
          • Call-primitive-function
          • Step-from-init
          • Put-leftmost-nonconst
          • Exec-outcome
            • Exec-outcome-case
            • Exec-outcome-fix
            • Exec-outcome-equiv
            • Exec-outcome-p
            • Exec-outcome-terminating
            • Exec-outcome-nonterminating
            • Exec-outcome-kind
            • Exec-outcome-error
          • Stepn
          • Step
          • Terminatingp
          • Get-leftmost-nonconst
          • Exec-call
          • Step*
        • Program-equivalence
        • Functions
        • Packages
        • Programs
        • Interpreter
        • Evaluation-states
      • Json
      • Jfkr
      • Equational
      • Cryptography
      • Poseidon
      • Where-do-i-place-my-book
      • Axe
      • Bigmems
      • Builtins
      • Execloader
      • Aleo
      • Solidity
      • Paco
      • Concurrent-programs
      • Bls12-377-curves
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
    • Math
    • Testing-utilities
  • Evaluation

Exec-outcome

Fixtype of execution outcomes.

This is a tagged union type, introduced by fty::deftagsum.

Member Tags → Types
:terminating → exec-outcome-terminating
:error → exec-outcome-error
:nonterminating → exec-outcome-nonterminating

When attempting to exhaustively perform execution steps, there are three possible outcomes: (i) a final state is reached, with a final result value; (ii) an error state is reached; and (iii) execution continues forever. Here we capture these possible outcomes.

Subtopics

Exec-outcome-case
Case macro for the different kinds of exec-outcome structures.
Exec-outcome-fix
Fixing function for exec-outcome structures.
Exec-outcome-equiv
Basic equivalence relation for exec-outcome structures.
Exec-outcome-p
Recognizer for exec-outcome structures.
Exec-outcome-terminating
Exec-outcome-nonterminating
Exec-outcome-kind
Get the kind (tag) of a exec-outcome structure.
Exec-outcome-error