• 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
          • 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
          • Bitcoin
          • Zcash
          • Yul
          • ACL2-programming-language
          • Prime-fields
          • Json
          • Syntheto
          • File-io-light
          • Cryptography
          • Number-theory
          • Axe
          • Lists-light
          • Builtins
          • Solidity
          • Helpers
          • Htclient
          • Typed-lists-light
          • Arithmetic-light
        • X86isa
        • Axe
        • Execloader
      • 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))