• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Wp-gen
      • Dimacs-reader
      • Pfcs
      • Legacy-defrstobj
      • C
      • Proof-checker-array
      • Soft
      • Farray
      • Rp-rewriter
      • Instant-runoff-voting
      • Imp-language
      • Sidekick
      • Ethereum
      • Leftist-trees
      • Java
      • Riscv
        • Specification
          • Semantics
          • Features
          • Instructions
            • Instr
            • Op-funct
              • Op-funct-fix
              • Op-funct-case
              • Op-funct-p
              • Op-funct-equiv
              • Op-funct-kind
              • Op-funct-xor
              • Op-funct-sub
              • Op-funct-srl
              • Op-funct-sra
              • Op-funct-sltu
              • Op-funct-slt
              • Op-funct-sll
              • Op-funct-remu
              • Op-funct-rem
              • Op-funct-or
              • Op-funct-mulhu
              • Op-funct-mulhsu
              • Op-funct-mulh
              • Op-funct-mul
              • Op-funct-divu
              • Op-funct-div
              • Op-funct-and
              • Op-funct-add
                • Make-op-funct-add
                • Change-op-funct-add
              • Op-32-funct
              • Op-imm-funct
              • Load-funct
              • Branch-funct
              • Op-imms-funct
              • Instr-validp
              • Store-funct
              • Op-imms-32-funct
              • Instr-option
              • Op-imm-32-funct
            • Encoding
            • States
            • Reads-over-writes
            • Semantics-equivalences
            • Decoding
            • Execution
          • Executable
          • Specialized
          • Optimized
        • Taspi
        • Bitcoin
        • Zcash
        • Des
        • X86isa
        • Sha-2
        • Yul
        • Proof-checker-itp13
        • Regex
        • ACL2-programming-language
        • Json
        • Jfkr
        • Equational
        • Cryptography
        • Axe
        • Poseidon
        • Where-do-i-place-my-book
        • Aleo
        • Bigmems
        • Builtins
        • Execloader
        • Solidity
        • Paco
        • Concurrent-programs
        • Bls12-377-curves
      • Debugging
      • Community
      • Std
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Op-funct-add

    Change-op-funct-add

    Modifying constructor for op-funct-add structures.

    Syntax
    (change-op-funct-add x 
                         ) 
    

    This is an often useful alternative to make-op-funct-add.

    We construct a new op-funct-add 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-op-funct-add

    (defmacro change-op-funct-add (x &rest args)
      (std::change-aggregate 'op-funct-add
                             x args 'nil
                             'change-op-funct-add
                             'nil))