• 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
      • Riscv
      • 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
              • System-states
              • Certificates
              • Messages
              • Transactions
              • Proposals
                • Proposal
                • Props-with-author+round
                • Props-with-round
                • Prop-set-unequivp
                • Proposal-option
                • Prop-set-none-author-p
                  • Prop-set-all-author-p
                  • Proposal-set
                • Validator-states
                • Blocks
                • Addresses
              • Events
              • Reachability
            • Library-extensions
          • Aleovm
          • Leo
        • Bigmems
        • Builtins
        • Execloader
        • Solidity
        • Paco
        • Concurrent-programs
        • Bls12-377-curves
      • Debugging
      • Community
      • Std
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Proposals

    Prop-set-none-author-p

    Check if none of the proposals in a set have a given author.

    Definitions and Theorems

    Theorem: prop-set-none-author-p-necc

    (defthm prop-set-none-author-p-necc
      (implies (prop-set-none-author-p author props)
               (implies (in prop (proposal-set-fix props))
                        (not (equal (proposal->author prop)
                                    (address-fix author))))))

    Theorem: booleanp-of-prop-set-none-author-p

    (defthm booleanp-of-prop-set-none-author-p
      (b* ((yes/no (prop-set-none-author-p author props)))
        (booleanp yes/no))
      :rule-classes :rewrite)

    Theorem: prop-set-none-author-p-of-address-fix-author

    (defthm prop-set-none-author-p-of-address-fix-author
      (equal (prop-set-none-author-p (address-fix author)
                                     props)
             (prop-set-none-author-p author props)))

    Theorem: prop-set-none-author-p-address-equiv-congruence-on-author

    (defthm prop-set-none-author-p-address-equiv-congruence-on-author
      (implies (address-equiv author author-equiv)
               (equal (prop-set-none-author-p author props)
                      (prop-set-none-author-p author-equiv props)))
      :rule-classes :congruence)

    Theorem: prop-set-none-author-p-of-proposal-set-fix-props

    (defthm prop-set-none-author-p-of-proposal-set-fix-props
      (equal (prop-set-none-author-p author (proposal-set-fix props))
             (prop-set-none-author-p author props)))

    Theorem: prop-set-none-author-p-proposal-set-equiv-congruence-on-props

    (defthm
          prop-set-none-author-p-proposal-set-equiv-congruence-on-props
      (implies (proposal-set-equiv props props-equiv)
               (equal (prop-set-none-author-p author props)
                      (prop-set-none-author-p author props-equiv)))
      :rule-classes :congruence)