• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
        • Z3-installation
        • Smt-hint
        • Tutorial
        • Status
        • Developer
          • Verified
            • Uninterpreted-fn-cp
            • Smt-hint-interface
            • Function-expansion
              • Ex-args
              • Expand
              • Expand-measure
              • Ex-outs
                • Ex-outs-fix
                • Ex-outs-equiv
                • Make-ex-outs
                • Ex-outs->expanded-term-lst
                • Ex-outs->expanded-fn-lst
                • Change-ex-outs
                  • Ex-outs-p
              • Smt-config
              • Fty-support
              • Smt-computed-hints
              • Add-hypo-cp
              • Smt-hint-please
              • Type-extract-cp
              • Smt-extract
              • Smtlink-process-user-hint
              • Smt-basics
              • Smt-type-hyp
              • Smt-magic-fix
            • Trusted
        • 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
        • 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
    • Ex-outs

    Change-ex-outs

    Modifying constructor for ex-outs structures.

    Syntax
    (change-ex-outs x 
                    [:expanded-term-lst <expanded-term-lst>] 
                    [:expanded-fn-lst <expanded-fn-lst>]) 
    

    This is an often useful alternative to make-ex-outs.

    We construct a new ex-outs 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 defprod.

    Macro: change-ex-outs

    (defmacro change-ex-outs (x &rest args)
      (std::change-aggregate
           'ex-outs
           x args
           '((:expanded-term-lst . ex-outs->expanded-term-lst)
             (:expanded-fn-lst . ex-outs->expanded-fn-lst))
           'change-ex-outs
           'nil))