AIP-21 erratum and AIP-23 note (2026-10-01), formal models annotated: the post-quantum commit seal carries no round

AIP-21: a record that reaches `post-quantum` shows that the commit quorum of distinct validators sealed the block
post-quantum in some round; it does not by itself prove that the block was decided (follows the AIP-22 erratum of the same
day). AIP-23: dated note on what the finality level rests on; level names unchanged. Three formal models carry a dated note
where they treated certificate uniqueness as a property of the code rather than of the model.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Aere NetworkandClaude Opus 5.5 committed 2026-10-01 17:10:21 +03:00
1 parent 51d63e4c17
commit c9ba6d4bec
6 files changed
+46 -2

No files matched your search

@@ -41,6 +41,15 @@
# keccak256 is modelled as an INJECTIVE uninterpreted function where the argument
# rests on "a different block gives a different digest" [VERIFY: keccak256]. This
# checks the DESIGN-level composition, NOT the compiled EVM/Besu bytecode.
#
# Note added 2026-10-01 (AIP-22 erratum of that date). The guard this model's uniqueness rests on, "the
# certificate's digest is bound to the block QBFT FINALIZED", is NOT a rule of the shipped code: the anchor rules
# (PqAnchorDigestRule, PqAnchorSealsRule) check that the certificate sits under the anchor's hash and that K
# distinct valid seals sign M(parent), and M carries no round. The code therefore behaves as NEGATIVE CONTROL A
# below, and the erratum measures it in the reference client: seven valid seals over a block that no round
# decided, and an anchor over it that passes both rules (AereRoundFreeCertificateTest). AV1 and AV2 are
# properties of this model, not of chain 2800. Below AIP-22 stage 5 such an anchor's own header still needs the
# ECDSA commit quorum of one round, which an adversary without the classical keys cannot produce.
# -----------------------------------------------------------------------------
from z3 import (Int, Bool, Function, IntSort, Solver, And, Or, Not, Implies, If,
Sum, sat, unsat)