• 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
              • System-states
              • Certificates
                • Certificate-set-unequivocalp
                • Certificate-sets-unequivocalp
                • Cert-with-author+round
                • Certs-with-authors+round
                • Certs-with-author
                • Certs-with-round
                • Unequivocal-certs-with-authors+round
                • Unequivocal-cert-with-author+round
                • Certificate
                • Cert-set->author-set
                • Certificate-option
                • Cert-set->round-set
                • Certs-with-authors
                • Certificate-list-orderedp
                • Certs-with-signer
                • Certificate->signers
                • Certificate-list-evenp
                • Certificate->transactions
                • Certificate->previous
                • Certificate->author
                  • Certificate->round
                  • Certificate-set
                  • Certificate-list
                • 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
    • Certificates

    Certificate->author

    Author of (the proposal in) a certificate.

    Signature
    (certificate->author cert) → author
    Arguments
    cert — Guard (certificatep cert).
    Returns
    author — Type (addressp author).

    Definitions and Theorems

    Function: certificate->author

    (defun certificate->author (cert)
      (declare (xargs :guard (certificatep cert)))
      (let ((__function__ 'certificate->author))
        (declare (ignorable __function__))
        (proposal->author (certificate->proposal cert))))

    Theorem: addressp-of-certificate->author

    (defthm addressp-of-certificate->author
      (b* ((author (certificate->author cert)))
        (addressp author))
      :rule-classes :rewrite)

    Theorem: certificate->author-of-certificate-fix-cert

    (defthm certificate->author-of-certificate-fix-cert
      (equal (certificate->author (certificate-fix cert))
             (certificate->author cert)))

    Theorem: certificate->author-certificate-equiv-congruence-on-cert

    (defthm certificate->author-certificate-equiv-congruence-on-cert
      (implies (certificate-equiv cert cert-equiv)
               (equal (certificate->author cert)
                      (certificate->author cert-equiv)))
      :rule-classes :congruence)