• 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
      • Bigmems
      • Builtins
      • Execloader
      • Aleo
        • Aleobft
          • Aleobft-static
          • Aleobft-dynamic
          • Aleobft-arxiv
            • Correctness
              • Unequivocal-dags-def-and-init
              • Same-committees-def-and-implied
              • Dag-omni-paths
              • Signer-records
              • Unequivocal-dags-next
              • Quorum-intersection
              • Dag-previous-quorum-def-and-init-and-next
              • Unequivocal-signed-certificates
              • Signed-previous-quorum
              • Nonforking-anchors-def-and-init-and-next
              • Successor-predecessor-intersection
              • Fault-tolerance
              • Last-anchor-voters-def-and-init-and-next
              • Signer-quorum
              • Committed-redundant-def-and-init-and-next
              • Nonforking-blockchains-def-and-init
              • Blockchain-redundant-def-and-init-and-next
              • No-self-endorsed
              • Last-anchor-present
              • Anchors-extension
              • Nonforking-blockchains-next
              • Backward-closure
              • Last-blockchain-round
              • Dag-certificate-next
              • Omni-paths-def-and-implied
              • Ordered-even-blocks
              • Simultaneous-induction
              • System-certificates
                • System-certs-of-next
                • Validators-certs
                • System-certs
                  • System-certs-when-init
                • Last-anchor-def-and-init
                • Last-anchor-next
                • Dag-previous-quorum
                • Signed-certificates
                • Committed-anchor-sequences
                • Omni-paths
                • Last-anchor-voters
                • Unequivocal-dags
                • Nonforking-blockchains
                • Nonforking-anchors
                • Committed-redundant
                • Same-committees
                • Blockchain-redundant
              • Definition
            • Aleobft-stake
            • Aleobft-proposals
            • Library-extensions
          • Leo
        • Solidity
        • Paco
        • Concurrent-programs
        • Bls12-377-curves
      • Debugging
      • Std
      • Proof-automation
      • Community
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • System-certificates

    System-certs

    Certificates in the system.

    Signature
    (system-certs systate) → certs
    Arguments
    systate — Guard (system-statep systate).
    Returns
    certs — Type (certificate-setp certs).

    We union the DAGs of all correct validators with the certificates in all the messages in the network.

    Definitions and Theorems

    Function: system-certs

    (defun system-certs (systate)
     (declare (xargs :guard (system-statep systate)))
     (let ((__function__ 'system-certs))
      (declare (ignorable __function__))
      (union
           (validators-certs (correct-addresses systate)
                             systate)
           (message-set->certificate-set (get-network-state systate)))))

    Theorem: certificate-setp-of-system-certs

    (defthm certificate-setp-of-system-certs
      (b* ((certs (system-certs systate)))
        (certificate-setp certs))
      :rule-classes :rewrite)

    Theorem: in-system-certs-when-in-some-dag

    (defthm in-system-certs-when-in-some-dag
     (implies
      (and
          (in val (correct-addresses systate))
          (in cert
              (validator-state->dag (get-validator-state val systate))))
      (in cert (system-certs systate))))

    Theorem: in-system-certs-when-in-network

    (defthm in-system-certs-when-in-network
      (implies (in msg (get-network-state systate))
               (in (message->certificate msg)
                   (system-certs systate))))

    Theorem: system-certs-of-system-state-fix-systate

    (defthm system-certs-of-system-state-fix-systate
      (equal (system-certs (system-state-fix systate))
             (system-certs systate)))

    Theorem: system-certs-system-state-equiv-congruence-on-systate

    (defthm system-certs-system-state-equiv-congruence-on-systate
      (implies (system-state-equiv systate systate-equiv)
               (equal (system-certs systate)
                      (system-certs systate-equiv)))
      :rule-classes :congruence)