• 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
            • 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
              • Nonforking-anchors-p-of-next
              • Nonforking-anchors-p
                • Nonforking-anchors-p-when-init
              • 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-blockchain
              • Simultaneous-induction
              • System-certificates
              • 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
            • 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
    • Nonforking-anchors-def-and-init-and-next

    Nonforking-anchors-p

    Definition of the invariant: given two correct validators in the system, their sequences of committed anchor do not fork.

    Definitions and Theorems

    Theorem: nonforking-anchors-p-necc

    (defthm nonforking-anchors-p-necc
     (implies
      (nonforking-anchors-p systate)
      (implies
         (and (in val1 (correct-addresses systate))
              (in val2 (correct-addresses systate)))
         (lists-noforkp
              (committed-anchors (get-validator-state val1 systate))
              (committed-anchors (get-validator-state val2 systate))))))

    Theorem: booleanp-of-nonforking-anchors-p

    (defthm booleanp-of-nonforking-anchors-p
      (b* ((yes/no (nonforking-anchors-p systate)))
        (booleanp yes/no))
      :rule-classes :rewrite)

    Theorem: nonforking-anchors-p-of-system-state-fix-systate

    (defthm nonforking-anchors-p-of-system-state-fix-systate
      (equal (nonforking-anchors-p (system-state-fix systate))
             (nonforking-anchors-p systate)))

    Theorem: nonforking-anchors-p-system-state-equiv-congruence-on-systate

    (defthm
          nonforking-anchors-p-system-state-equiv-congruence-on-systate
      (implies (system-state-equiv systate systate-equiv)
               (equal (nonforking-anchors-p systate)
                      (nonforking-anchors-p systate-equiv)))
      :rule-classes :congruence)