• 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

    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) '(addresses)))
                  :exec (fty::alist-with-carsp x '(addresses)))
             (b* ((addresses (cdr (std::da-nth 0 x))))
               (and (address-setp addresses)
                    (not (emptyp addresses)))))))

    Theorem: consp-when-committeep

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