• 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-transformation-success
                • Outcome-transformation-success->toplevels
                • Outcome-transformation-success->message
                • Make-outcome-transformation-success
                • Change-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-transformation-success

    Change-outcome-transformation-success

    Modifying constructor for outcome-transformation-success structures.

    Syntax
    (change-outcome-transformation-success x 
                                           [:message <message>] 
                                           [:toplevels <toplevels>]) 
    

    This is an often useful alternative to make-outcome-transformation-success.

    We construct a new outcome-transformation-success 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-transformation-success

    (defmacro change-outcome-transformation-success (x &rest args)
      (std::change-aggregate
           'outcome-transformation-success
           x args
           '((:message .
                       outcome-transformation-success->message)
             (:toplevels .
                         outcome-transformation-success->toplevels))
           'change-outcome-transformation-success
           'nil))