• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • 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
        • Aleobft
          • Aleobft-static
          • Aleobft-stake2
          • Aleobft-dynamic
            • Correctness
            • Definition
              • Initialization
              • Transitions
              • States
                • Committees
                  • Update-committee-with-transaction
                  • Max-faulty-for-total
                  • Bonded-committee-at-round
                  • Active-committee-at-round
                  • Update-committee-with-transaction-list
                  • Committee-after-blocks
                  • Lookback
                  • Committee-quorum
                  • Committee-option
                  • Committee
                    • Committee-fix
                    • Committee-equiv
                    • Make-committee
                    • Committeep
                    • Committee->addresses
                    • Change-committee
                    • Committee-members
                    • Committee-total
                    • Committee-max-faulty
                    • Same-bonded-committees-p
                    • Same-active-committees-p
                    • Genesis-committee
                  • System-states
                  • Certificates
                  • Messages
                  • Validator-states
                  • Transactions
                  • Blocks
                  • Addresses
                • Events
            • Aleobft-stake
            • Aleobft-proposals
            • Library-extensions
          • Leo
        • Solidity
        • Paco
        • Concurrent-programs
        • Bls12-377-curves
      • Debugging
      • Std
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Committee

    Change-committee

    Modifying constructor for committee structures.

    Syntax
    (change-committee x 
                      [:addresses <addresses>]) 
    

    This is an often useful alternative to make-committee.

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

    (defmacro change-committee (x &rest args)
      (std::change-aggregate 'committee
                             x args
                             '((:addresses . committee->addresses))
                             'change-committee
                             'nil))