• 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
        • Soft
        • Bv
        • Imp-language
          • Semantics
            • Step
            • Write-var
            • Outcome
              • Outcome-case
              • Outcome-fix
              • Outcome-equiv
              • Outcome-terminated
                • Outcome-terminated->env
                • Make-outcome-terminated
                  • Change-outcome-terminated
                • Outcomep
                • Outcome-nonterminating
                • Outcome-kind
              • Beval
              • Read-var
              • Config
              • Terminatingp
              • Aeval
              • Step*
              • Stepn
              • Env
            • Abstract-syntax
            • Interpreter
          • 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
    • Outcome-terminated

    Make-outcome-terminated

    Basic constructor macro for outcome-terminated structures.

    Syntax
    (make-outcome-terminated [:env <env>]) 
    

    This is the usual way to construct outcome-terminated structures. It simply conses together a structure with the specified fields.

    This macro generates a new outcome-terminated structure from scratch. See also change-outcome-terminated, which can "change" an existing structure, instead.

    Definition

    This is an ordinary make- macro introduced by fty::defprod.

    Macro: make-outcome-terminated

    (defmacro make-outcome-terminated (&rest args)
      (std::make-aggregate 'outcome-terminated
                           args '((:env))
                           'make-outcome-terminated
                           nil))

    Function: outcome-terminated

    (defun outcome-terminated (env)
      (declare (xargs :guard (envp env)))
      (declare (xargs :guard t))
      (let ((__function__ 'outcome-terminated))
        (declare (ignorable __function__))
        (b* ((env (mbe :logic (env-fix env) :exec env)))
          (cons :terminated (list env)))))