• 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
      • Riscv
      • Instant-runoff-voting
      • Imp-language
      • Sidekick
      • Leftist-trees
      • Java
      • Taspi
      • 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
          • Definition
            • Initialization
            • Transitions
            • States
              • Committees
                • Max-faulty-for-total
                • Bonded-committee-at-round
                • Committee-members-stake
                • Active-committee-at-round
                • Update-committee-with-transaction
                • Committee-quorum-stake
                • Lookback
                • Committee-option
                • Update-committee-with-transaction-list
                • Committee-after-blocks
                • Same-bonded-committees-p
                • Same-active-committees-p
                • 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
                • Messages
                • Transactions
                • Proposals
                • Validator-states
                • Blocks
                • Addresses
              • Events
              • Reachability
            • 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
    • Committee

    Committeep

    Recognizer for committee structures.

    Signature
    (committeep x) → *

    Definitions and Theorems

    Function: committeep

    (defun committeep (x)
      (declare (xargs :guard t))
      (let ((__function__ 'committeep))
        (declare (ignorable __function__))
        (and (mbe :logic (and (alistp x)
                              (equal (strip-cars x)
                                     '(members-with-stake)))
                  :exec (fty::alist-with-carsp x '(members-with-stake)))
             (b* ((members-with-stake (cdr (std::da-nth 0 x))))
               (address-pos-mapp members-with-stake)))))

    Theorem: consp-when-committeep

    (defthm consp-when-committeep
      (implies (committeep x) (consp x))
      :rule-classes :compound-recognizer)