• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Pfcs
      • Wp-gen
      • Dimacs-reader
      • Legacy-defrstobj
      • Proof-checker-array
      • Soft
      • C
      • Farray
      • Rp-rewriter
      • Instant-runoff-voting
      • Imp-language
      • Sidekick
      • Leftist-trees
      • Java
      • Taspi
      • Riscv
      • Bitcoin
      • 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
      • Aleo
        • Aleobft
          • Correctness
            • Unequivocal-dags-def-and-init
            • Same-committees-def-and-implied
            • Dag-omni-paths
            • Signer-records
            • Unequivocal-dags-next
            • Quorum-intersection
            • Dag-previous-quorum-def-and-init-and-next
            • Unequivocal-signed-certificates
            • Signed-previous-quorum
            • Nonforking-anchors-def-and-init-and-next
            • Successor-predecessor-intersection
            • Fault-tolerance
              • Pick-correct-validator
              • Validator-committees-fault-tolerant-p
              • Committee-correct-members
              • Committee-fault-tolerant-p
              • All-system-committees-fault-tolerant-p
              • System-committees-fault-tolerant-p
              • Committee-faulty-members
              • Last-anchor-voters-def-and-init-and-next
              • Signer-quorum
              • Committed-redundant-def-and-init-and-next
              • Nonforking-blockchains-def-and-init
              • Blockchain-redundant-def-and-init-and-next
              • No-self-endorsed
              • Last-anchor-present
              • Anchors-extension
              • Nonforking-blockchains-next
              • Backward-closure
              • Last-blockchain-round
              • Dag-certificate-next
              • Omni-paths-def-and-implied
              • Ordered-blockchain
              • Simultaneous-induction
              • System-certificates
              • Last-anchor-def-and-init
              • Last-anchor-next
              • Dag-previous-quorum
              • Signed-certificates
              • Committed-anchor-sequences
              • Omni-paths
              • Last-anchor-voters
              • Unequivocal-dags
              • Nonforking-blockchains
              • Nonforking-anchors
              • Committed-redundant
              • Same-committees
              • Blockchain-redundant
            • Definition
            • Library-extensions
          • Aleovm
          • Leo
        • Bigmems
        • Builtins
        • Execloader
        • Solidity
        • Paco
        • Concurrent-programs
        • Bls12-377-curves
      • Debugging
      • Std
      • Community
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Fault-tolerance

    Committee-faulty-members

    Addresses of the faulty validators in a committee.

    Signature
    (committee-faulty-members commtt systate) → addresses
    Arguments
    commtt — Guard (committeep commtt).
    systate — Guard (system-statep systate).
    Returns
    addresses — Type (address-setp addresses).

    This is the difference between all the validators in the committee and the correct ones.

    Definitions and Theorems

    Function: committee-faulty-members

    (defun committee-faulty-members (commtt systate)
      (declare (xargs :guard (and (committeep commtt)
                                  (system-statep systate))))
      (let ((__function__ 'committee-faulty-members))
        (declare (ignorable __function__))
        (difference (committee-members commtt)
                    (correct-addresses systate))))

    Theorem: address-setp-of-committee-faulty-members

    (defthm address-setp-of-committee-faulty-members
      (b* ((addresses (committee-faulty-members commtt systate)))
        (address-setp addresses))
      :rule-classes :rewrite)

    Theorem: committee-faulty-members-subset-committee-members

    (defthm committee-faulty-members-subset-committee-members
      (subset (committee-faulty-members commtt systate)
              (committee-members commtt)))

    Theorem: committee-faulty-members-of-create-next

    (defthm committee-faulty-members-of-create-next
      (b* ((?new-systate (create-next cert systate)))
        (equal (committee-faulty-members commtt new-systate)
               (committee-faulty-members commtt systate))))

    Theorem: committee-faulty-members-of-accept-next

    (defthm committee-faulty-members-of-accept-next
      (implies (accept-possiblep msg systate)
               (b* ((?new-systate (accept-next msg systate)))
                 (equal (committee-faulty-members commtt new-systate)
                        (committee-faulty-members commtt systate)))))

    Theorem: committee-faulty-members-of-advance-next

    (defthm committee-faulty-members-of-advance-next
      (implies (advance-possiblep val systate)
               (b* ((?new-systate (advance-next val systate)))
                 (equal (committee-faulty-members commtt new-systate)
                        (committee-faulty-members commtt systate)))))

    Theorem: committee-faulty-members-of-commit-next

    (defthm committee-faulty-members-of-commit-next
      (implies (commit-possiblep val systate)
               (b* ((?new-systate (commit-next val systate)))
                 (equal (committee-faulty-members commtt new-systate)
                        (committee-faulty-members commtt systate)))))

    Theorem: committee-faulty-members-of-event-next

    (defthm committee-faulty-members-of-event-next
      (implies (event-possiblep event systate)
               (b* ((?new-systate (event-next event systate)))
                 (equal (committee-faulty-members commtt new-systate)
                        (committee-faulty-members commtt systate)))))

    Theorem: committee-faulty-members-of-committee-fix-commtt

    (defthm committee-faulty-members-of-committee-fix-commtt
      (equal (committee-faulty-members (committee-fix commtt)
                                       systate)
             (committee-faulty-members commtt systate)))

    Theorem: committee-faulty-members-committee-equiv-congruence-on-commtt

    (defthm
          committee-faulty-members-committee-equiv-congruence-on-commtt
      (implies (committee-equiv commtt commtt-equiv)
               (equal (committee-faulty-members commtt systate)
                      (committee-faulty-members commtt-equiv systate)))
      :rule-classes :congruence)

    Theorem: committee-faulty-members-of-system-state-fix-systate

    (defthm committee-faulty-members-of-system-state-fix-systate
     (equal (committee-faulty-members commtt (system-state-fix systate))
            (committee-faulty-members commtt systate)))

    Theorem: committee-faulty-members-system-state-equiv-congruence-on-systate

    (defthm
      committee-faulty-members-system-state-equiv-congruence-on-systate
      (implies (system-state-equiv systate systate-equiv)
               (equal (committee-faulty-members commtt systate)
                      (committee-faulty-members commtt systate-equiv)))
      :rule-classes :congruence)