• 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
          • Aleobft-stake
          • Aleobft-proposals
            • Correctness
            • Definition
              • Initialization
              • Transitions
              • States
                • Committees
                  • Max-faulty-for-total
                  • Bonded-committee-at-round
                  • Active-committee-at-round
                  • Committee-members-stake
                  • Update-committee-with-transaction
                  • Committee-quorum-stake
                  • Lookback
                  • Committee-option
                  • Update-committee-with-transaction-list
                  • Committee-validators-stake
                  • Committee-after-blocks
                  • Same-bonded-committees-p
                  • Same-active-committees-p
                  • Committee-validator-stake
                  • Committee
                    • Committee-fix
                    • Committeep
                    • Committee-equiv
                    • Committee->members-with-stake
                    • Make-committee
                    • Change-committee
                    • Committee-member-stake
                    • Committee-total-stake
                    • Committee-max-faulty-stake
                    • Committee-nonemptyp
                    • Committee-members
                    • Address-pos-map
                    • Genesis-committee
                  • System-states
                  • Certificates
                  • Transactions
                  • Proposals
                  • Messages
                  • Validator-states
                  • Blocks
                  • Addresses
                • Events
                • Reachability
            • 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 
                      [:members-with-stake <members-with-stake>]) 
    

    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
           '((:members-with-stake . committee->members-with-stake))
           'change-committee
           'nil))