• 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
        • Ethereum
        • Event-macros
        • Java
        • Riscv
        • Bitcoin
        • Zcash
        • Yul
        • ACL2-programming-language
        • Prime-fields
        • Json
        • Syntheto
          • Process-syntheto-toplevel-fn
          • Translation
          • Language
            • Static-semantics
            • Abstract-syntax
            • Outcome
              • Outcome-fix
              • Outcome-case
              • Outcomep
              • Outcome-equiv
              • Outcome-proof-obligation-failure
                • Outcome-proof-obligation-failure->obligation-expr
                • Outcome-proof-obligation-failure->message
                • Make-outcome-proof-obligation-failure
                • Change-outcome-proof-obligation-failure
                • Outcome-transformation-success
                • Outcome-kind
                • Outcome-unexpected-failure
                • Outcome-type-success
                • Outcome-transformation-failure
                • Outcome-theorem-success
                • Outcome-theorem-failure
                • Outcome-specification-success
                • Outcome-function-success
              • Abstract-syntax-operations
              • Outcome-list
              • Outcomes
            • Process-syntheto-toplevel
            • Shallow-embedding
          • 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-proof-obligation-failure

    Change-outcome-proof-obligation-failure

    Modifying constructor for outcome-proof-obligation-failure structures.

    Syntax
    (change-outcome-proof-obligation-failure x 
                                             [:message <message>] 
                                             [:obligation-expr <obligation-expr>]) 
    

    This is an often useful alternative to make-outcome-proof-obligation-failure.

    We construct a new outcome-proof-obligation-failure structure that is a copy of x, except that you can explicitly change some particular fields. Any fields you don't mention just keep their values from x.

    Definition

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

    Macro: change-outcome-proof-obligation-failure

    (defmacro change-outcome-proof-obligation-failure (x &rest args)
      (std::change-aggregate
           'outcome-proof-obligation-failure
           x args
           '((:message .
                       outcome-proof-obligation-failure->message)
             (:obligation-expr
                  .
                  outcome-proof-obligation-failure->obligation-expr))
           'change-outcome-proof-obligation-failure
           'nil))