• 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
              • Smtlink-hint
                • Smtlink-hint-p
                • Make-smtlink-hint
                • Func
                • Smtlink-hint-fix
                • Maybe-smtlink-hint
                • Hint-pair
                • Decl
                • Binding
                • Smtlink-hint-equiv
                • Let-binding
                • Change-smtlink-hint
                  • Smtlink-hint->expanded-clause-w/-hint
                  • Smtlink-hint->type-decl-list
                  • Smtlink-hint->fast-functions
                  • Smtlink-hint->expanded-g/type
                  • Smtlink-hint->smt-params
                  • Smtlink-hint->let-binding
                  • Smtlink-hint->hypotheses
                  • Smtlink-hint->fty-info
                  • Smtlink-hint->wrld-fn-len
                  • Smtlink-hint->symbols
                  • Smtlink-hint->smt-fname
                  • Smtlink-hint->smt-dir
                  • Smtlink-hint->smt-cnf
                  • Smtlink-hint->rm-file
                  • Smtlink-hint->main-hint
                  • Smtlink-hint->int-to-rat
                  • Smtlink-hint->functions
                  • Smtlink-hint->fty-types
                  • Smtlink-hint->custom-p
                  • Smtlink-hint->fty
                  • Smtlink-hint->abs
                • Smt-hint
                • Make-alist-fn-lst
                • True-list-fix
              • 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
    • Smtlink-hint

    Change-smtlink-hint

    Modifying constructor for smtlink-hint structures.

    Syntax
    (change-smtlink-hint x 
                         [:functions <functions>] 
                         [:hypotheses <hypotheses>] 
                         [:main-hint <main-hint>] 
                         [:let-binding <let-binding>] 
                         [:symbols <symbols>] 
                         [:abs <abs>] 
                         [:fty <fty>] 
                         [:fty-info <fty-info>] 
                         [:fty-types <fty-types>] 
                         [:int-to-rat <int-to-rat>] 
                         [:smt-dir <smt-dir>] 
                         [:rm-file <rm-file>] 
                         [:smt-fname <smt-fname>] 
                         [:smt-params <smt-params>] 
                         [:fast-functions <fast-functions>] 
                         [:type-decl-list <type-decl-list>] 
                         [:expanded-clause-w/-hint <expanded-clause-w/-hint>] 
                         [:expanded-g/type <expanded-g/type>] 
                         [:smt-cnf <smt-cnf>] 
                         [:wrld-fn-len <wrld-fn-len>] 
                         [:custom-p <custom-p>]) 
    

    This is an often useful alternative to make-smtlink-hint.

    We construct a new smtlink-hint 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-smtlink-hint

    (defmacro change-smtlink-hint (x &rest args)
      (std::change-aggregate
           'smtlink-hint
           x args
           '((:functions . smtlink-hint->functions)
             (:hypotheses . smtlink-hint->hypotheses)
             (:main-hint . smtlink-hint->main-hint)
             (:let-binding . smtlink-hint->let-binding)
             (:symbols . smtlink-hint->symbols)
             (:abs . smtlink-hint->abs)
             (:fty . smtlink-hint->fty)
             (:fty-info . smtlink-hint->fty-info)
             (:fty-types . smtlink-hint->fty-types)
             (:int-to-rat . smtlink-hint->int-to-rat)
             (:smt-dir . smtlink-hint->smt-dir)
             (:rm-file . smtlink-hint->rm-file)
             (:smt-fname . smtlink-hint->smt-fname)
             (:smt-params . smtlink-hint->smt-params)
             (:fast-functions . smtlink-hint->fast-functions)
             (:type-decl-list . smtlink-hint->type-decl-list)
             (:expanded-clause-w/-hint
                  . smtlink-hint->expanded-clause-w/-hint)
             (:expanded-g/type . smtlink-hint->expanded-g/type)
             (:smt-cnf . smtlink-hint->smt-cnf)
             (:wrld-fn-len . smtlink-hint->wrld-fn-len)
             (:custom-p . smtlink-hint->custom-p))
           'change-smtlink-hint
           'nil))