• 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
                • System-states
                • Certificates
                  • Certificate-set-unequivocalp
                  • Cert-with-author+round
                  • Certificate-sets-unequivocalp
                  • Certificate
                  • Certs-with-author
                  • Certs-with-authors+round
                  • Certs-with-round
                  • Unequivocal-certs-with-authors+round
                  • Unequivocal-cert-with-author+round
                  • Certificate-option
                    • Certificate-option-fix
                    • Certificate-option-equiv
                    • Certificate-option-case
                    • Certificate-option-some
                    • Certificate-option-none
                    • Certificate-optionp
                    • Cert-set->author-set
                    • Cert-set->round-set
                    • Certificates-with-signer
                    • Certificates-ordered-even-p
                    • Certs-with-authors
                    • Certificate->signers
                    • Certificate-set
                    • Certificate-list
                  • 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
    • Certificate-option

    Certificate-optionp

    Recognizer for certificate-option structures.

    Signature
    (certificate-optionp x) → *

    Definitions and Theorems

    Function: certificate-optionp

    (defun certificate-optionp (x)
      (declare (xargs :guard t))
      (let ((__function__ 'certificate-optionp))
        (declare (ignorable __function__))
        (cond ((not x) (b* nil t))
              (t (b* ((fty::val x))
                   (certificatep fty::val))))))