• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
        • Z3-installation
        • Smt-hint
        • Tutorial
        • Status
        • Developer
          • Verified
            • Uninterpreted-fn-cp
              • Fhg-single-args
              • Fhg-args
                • Fhg-args-fix
                • Make-fhg-args
                • Fhg-args-equiv
                • Fhg-args->fn-more-returns-hint-acc
                • Fhg-args->fn-returns-hint-acc
                • Fhg-args->lambda-acc
                • Change-fhg-args
                  • Fhg-args->term-lst
                  • Fhg-args->fn-lst
                  • Fhg-args-p
                • Lambda-binding
                • Generate-fn-hint-lst
              • Smt-hint-interface
              • Function-expansion
              • 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
    • Fhg-args

    Change-fhg-args

    Modifying constructor for fhg-args structures.

    Syntax
    (change-fhg-args x 
                     [:term-lst <term-lst>] 
                     [:fn-lst <fn-lst>] 
                     [:fn-returns-hint-acc <fn-returns-hint-acc>] 
                     [:fn-more-returns-hint-acc <fn-more-returns-hint-acc>] 
                     [:lambda-acc <lambda-acc>]) 
    

    This is an often useful alternative to make-fhg-args.

    We construct a new fhg-args 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-fhg-args

    (defmacro change-fhg-args (x &rest args)
     (std::change-aggregate
      'fhg-args
      x args
      '((:term-lst . fhg-args->term-lst)
        (:fn-lst . fhg-args->fn-lst)
        (:fn-returns-hint-acc . fhg-args->fn-returns-hint-acc)
        (:fn-more-returns-hint-acc . fhg-args->fn-more-returns-hint-acc)
        (:lambda-acc . fhg-args->lambda-acc))
      'change-fhg-args
      'nil))