Dated corrections (2026-10-27): README (a validator refuses an anchor below the threshold; the published follower lowers the count to one seal); formal-consensus models print the chain facts of today or date the ones of their time (ten validators, the anchor certificate enforced since 2026-08-14, votes attributed through post-quantum seals since block 24,300,000); verdicts unchanged (ALL MODELS PASS)
This commit is contained in:
1 parent
42047a8b48
commit
9b2a69ab6b
14 files changed
+57
-37
No files matched your search
@@ -248,7 +248,7 @@ if allok:
|
||||
print(" [VERIFY] keccak256 injectivity (a different block gives a different digest) is")
|
||||
print(" modelled, not re-proved. BOUNDARY: design-level composition of the QBFT lock and")
|
||||
print(" the certificate binding, not Besu/EVM bytecode; classical ECDSA consensus with an")
|
||||
print(" ADDITIVE post-quantum anchor.")
|
||||
print(" ADDITIVE post-quantum anchor, as on chain 2800 when this model was written (August 2026).")
|
||||
else:
|
||||
print(" NOT fully established (see FAILED / unexpected result above).")
|
||||
import sys
|
||||
|
||||
@@ -246,7 +246,8 @@ if allok:
|
||||
print(" modelled as the sigValid predicate, not re-proved. mandateHash chain/contract binding")
|
||||
print(" and keccak256 injectivity are [VERIFY], modelled as hash equality.")
|
||||
print(" DESIGN: application-layer payment authorization, holds NO funds (the cap is accounting,")
|
||||
print(" the AERE402 rail moves value); consensus stays classical ECDSA QBFT. The open path")
|
||||
print(" the AERE402 rail moves value) and does not touch consensus (classical ECDSA QBFT when")
|
||||
print(" this model was written, before 2026-08-02; see the aere-node SPEC.md for today). The open path")
|
||||
print(" (SETTLEMENT_EXECUTOR == 0) is verification/test only per the contract's documented L3;")
|
||||
print(" production MUST set the executor, which this model proves closes the vector. This checks")
|
||||
print(" the guard logic under unbounded-Int arithmetic, not the compiled EVM bytecode.")
|
||||
|
||||
@@ -195,7 +195,8 @@ if allok:
|
||||
print(" and the on-chain path is fail-closed off until configured; its codeless-verifier (L1)")
|
||||
print(" guard and fail-closed binding are covered by the aere-pq-screen Hardhat tests, not")
|
||||
print(" modelled here. Application-layer compliance tooling, no funds, no PII on chain (an")
|
||||
print(" anonymous bitset keyed by numeric index), consensus classical ECDSA QBFT. DESIGN-level")
|
||||
print(" anonymous bitset keyed by numeric index), no change to consensus (classical ECDSA QBFT")
|
||||
print(" when this model was written, before 2026-08-02; see the aere-node SPEC.md for today). DESIGN-level")
|
||||
print(" state logic, not the compiled EVM bytecode.")
|
||||
else:
|
||||
print(" NOT fully established (see FAILED / unexpected CEX above).")
|
||||
|
||||
@@ -25,9 +25,10 @@
|
||||
#
|
||||
# HONEST BOUNDARY: B-SAFETY per-N is a BOUNDED check; the intersection lemma and
|
||||
# the N-f>=quorum liveness identity are UNBOUNDED (all N). This is the certificate
|
||||
# COMBINATORICS of the design, not the Besu Java code, and NOT mainnet: chain
|
||||
# 2800 runs classical ECDSA QBFT and the Falcon layer there is LOG-ONLY, not
|
||||
# blocking (blocking requires N>=7 + a re-genesis with a Falcon anchor).
|
||||
# COMBINATORICS of the design, not the Besu Java code, and NOT mainnet: when this
|
||||
# model was written (before 2026-08-02) chain 2800 ran classical ECDSA QBFT and its
|
||||
# Falcon layer was LOG-ONLY, not blocking (dated on 2026-10-27; see the aere-node
|
||||
# SPEC.md for the chain of today).
|
||||
# -----------------------------------------------------------------------------
|
||||
from z3 import (Int, Bool, Solver, And, Or, Not, Implies, If, Sum, sat, unsat)
|
||||
|
||||
@@ -191,7 +192,7 @@ check("THRESHOLD-T1b N=7 IS safe(f=2) AND live(N-2=5>=q=5) for 2 faults "
|
||||
# (T2) SINGLE-Falcon-fault liveness margin: margin1(N) = (N-1) - quorum(N).
|
||||
# margin1 == 0 EXACTLY at N in {4,5} (a single fault forces ALL remaining
|
||||
# honest to sign; any further crash/slowness halts) and margin1 >= 1 at
|
||||
# N >= 6. The current AERE mainnet size N=5 has ZERO single-fault margin;
|
||||
# N >= 6. The AERE mainnet size of that time, N=5, had ZERO single-fault margin;
|
||||
# N=7 (the next BFT-OPTIMAL 3f+1 size) both restores positive margin AND
|
||||
# tolerates 2 Falcon faults (T1) -- that combination is the driver for N>=7.
|
||||
print(" single-fault margin (N-1)-quorum(N): "
|
||||
@@ -425,8 +426,10 @@ if allok:
|
||||
print(" an empty eligible set (F5, with the fail-open trap firing as a control); and arms")
|
||||
print(" at full margin under coverage k=N (FIX-ARM).")
|
||||
print(" BOUNDARY: bounded per-N/per-k safety; unbounded liveness identity; DESIGN")
|
||||
print(" combinatorics not Besu bytecode; mainnet Falcon layer is LOG-ONLY, not")
|
||||
print(" blocking (blocking needs N>=7 + an ADDRESS-BOUND registry covering the set).")
|
||||
print(" combinatorics not Besu bytecode; the mainnet Falcon layer was log-only, not blocking,")
|
||||
print(" until 2026-08-14 (blocking needs N>=7 + an ADDRESS-BOUND registry covering the set);")
|
||||
print(" since then a validator refuses an anchor block whose certificate holds fewer valid seals than")
|
||||
print(" the schedule requires (aere-node SPEC.md).")
|
||||
else:
|
||||
print(" NOT fully established (see FAILED / unexpected result above).")
|
||||
import sys
|
||||
|
||||
@@ -40,7 +40,8 @@
|
||||
#
|
||||
# HONEST BOUNDARY: bounded per-N checks over N in {7,9,11(,13)}; DESIGN
|
||||
# combinatorics of the dual-quorum rule, NOT the Besu Java bytecode; NOT mainnet
|
||||
# (chain 2800 is classical ECDSA QBFT, N=7, no Falcon layer of any kind).
|
||||
# (chain 2800 was classical ECDSA QBFT, N=7, with no Falcon layer of any kind when
|
||||
# this model was written, before 2026-08-02; dated on 2026-10-27).
|
||||
# Cryptographic soundness of Falcon-512 is out of scope (NIST KAT / precompile).
|
||||
# -----------------------------------------------------------------------------
|
||||
from z3 import Int, Bool, Solver, And, Or, Not, Implies, If, Sum, sat, unsat
|
||||
@@ -356,7 +357,8 @@ if allok:
|
||||
print(" ECDSA leg even when M<N (HM-FIX-SAFETY), is never weaker than ECDSA (HM-FIX-NEVER-")
|
||||
print(" WEAKER), and restores full margin under coverage k=N (HM-FIX-ARM).")
|
||||
print(" All negative controls FIRE. BOUNDARY: bounded per-N/per-k design combinatorics, not")
|
||||
print(" Besu bytecode, not mainnet (chain 2800 = classical ECDSA QBFT, no Falcon layer).")
|
||||
print(" Besu bytecode, not mainnet (chain 2800 was classical ECDSA QBFT with no Falcon layer")
|
||||
print(" when this model was written, before 2026-08-02; see the aere-node SPEC.md for today).")
|
||||
else:
|
||||
print(" NOT fully established (see FAILED / unexpected result above).")
|
||||
import sys
|
||||
|
||||
@@ -160,8 +160,10 @@ if allok:
|
||||
print(" strict no-op with zero halt risk. Both negative controls FIRE: putting the")
|
||||
print(" cert in the pre-image makes the hash cert-dependent, and letting the cert")
|
||||
print(" gate in log-only mode changes the committable set -- so the EXCLUSION and")
|
||||
print(" the always-true gate are each load-bearing. This is exactly the mainnet")
|
||||
print(" (chain 2800) posture: log-only, additive, non-gating.")
|
||||
print(" the always-true gate are each load-bearing. This was exactly the mainnet")
|
||||
print(" (chain 2800) posture when this model was written, before 2026-08-02: log-only, additive,")
|
||||
print(" non-gating; since 2026-08-14 a validator refuses an anchor block whose certificate holds fewer")
|
||||
print(" valid seals than the schedule requires.")
|
||||
else:
|
||||
print(" NOT fully established (see FAILED / unexpected result above).")
|
||||
import sys
|
||||
|
||||
@@ -243,7 +243,8 @@ if allok:
|
||||
print(" This is the parametric N=9 companion to formal-tla/QBFTPartition.tla, which")
|
||||
print(" TLC checks exhaustively at N=4; cross-method + cross-scale agreement is the")
|
||||
print(" point. BOUNDARY: design combinatorics of partition-era quorum formation, not")
|
||||
print(" Besu bytecode; single-height agreement; classical ECDSA (not post-quantum).")
|
||||
print(" Besu bytecode; single-height agreement; the model treats the votes as classical ECDSA")
|
||||
print(" signatures, as on chain 2800 when it was written (August 2026), not post-quantum ones.")
|
||||
else:
|
||||
print(" NOT fully established (see FAILED / unexpected result above).")
|
||||
import sys
|
||||
|
||||
@@ -254,7 +254,8 @@ if allok:
|
||||
print(" distinct hash-based attestations over the domain-bound block exist under the root) is")
|
||||
print(" [MEASURE], NOT implemented, proven only against a MOCK gateway in the contract tests.")
|
||||
print(" keccak256 injectivity (root / domain collision-resistance) is [VERIFY], modelled here.")
|
||||
print(" DESIGN: additive PQ finality, Aere consensus stays classical ECDSA QBFT; this checks")
|
||||
print(" DESIGN: additive PQ finality, beside consensus (classical ECDSA QBFT when this model")
|
||||
print(" was written, before 2026-08-02; see the aere-node SPEC.md for the chain of today); this checks")
|
||||
print(" the guard logic, not the compiled EVM bytecode.")
|
||||
else:
|
||||
print(" NOT fully established (see FAILED / unexpected CEX above).")
|
||||
|
||||
@@ -32,9 +32,9 @@
|
||||
#
|
||||
# Besu quorum quorum(N)=ceil(2N/3), fault bound f(N)=floor((N-1)/3).
|
||||
# HONEST BOUNDARY: bounded per-N/round model checks of the locking combinatorics,
|
||||
# not the C# bytecode; complements the adversarial soak. Chain 2800 consensus is
|
||||
# classical ECDSA QBFT; live mainnet runs Besu (which enforces locking) only, so
|
||||
# these findings gate the SECOND client's producing-validator swap, not the live
|
||||
# not the C# bytecode; complements the adversarial soak. When this model was written
|
||||
# (July 2026) chain 2800 consensus was classical ECDSA QBFT and live mainnet ran Besu
|
||||
# (which enforces locking) only, so these findings gated the SECOND client's producing-validator swap, not the live
|
||||
# chain.
|
||||
# -----------------------------------------------------------------------------
|
||||
from z3 import Int, Bool, Solver, And, Or, Not, Implies, If, Sum, sat, unsat
|
||||
@@ -251,7 +251,8 @@ if allok:
|
||||
print(" * P3 PROVED: because live mainnet's accepting quorum is Besu (which locks), a")
|
||||
print(" fresh conflicting proposal can never gather a prepare-quorum; so the second")
|
||||
print(" client's fresh-proposer gap is a LIVENESS cost (a wasted round), not a live-")
|
||||
print(" chain safety hole. Live mainnet (Besu-only) is unaffected.")
|
||||
print(" chain safety hole. Live mainnet, Besu-only when this model was written (July 2026),")
|
||||
print(" was unaffected; since 2026-09-11 one of its ten validators runs the second client.")
|
||||
print(" * P4 gives the exact threshold: k non-locking second-client nodes are SAFE while")
|
||||
print(" k < q-f (PROVED) but BREAK agreement at k >= q-f (CEX). A single non-locking node")
|
||||
print(" among locking Besu cannot fork the chain, but the second client cannot approach")
|
||||
@@ -266,8 +267,8 @@ if allok:
|
||||
print(" justification, agreement breaks even with every node running it. This is the formal")
|
||||
print(" reason the discretionary-list acceptor was rejected for the signed certificate.")
|
||||
print(" BOUNDARY: bounded per-N/round model checks of the locking combinatorics, not the")
|
||||
print(" C# bytecode; complements the adversarial soak. Chain 2800 consensus is classical")
|
||||
print(" ECDSA QBFT.")
|
||||
print(" C# bytecode; complements the adversarial soak. Chain 2800 consensus was classical")
|
||||
print(" ECDSA QBFT when this model was written (July 2026); see the aere-node SPEC.md for today.")
|
||||
else:
|
||||
print(" NOT fully established (see FAILED above).")
|
||||
import sys
|
||||
|
||||
@@ -52,11 +52,12 @@
|
||||
# uninterpreted function with an injectivity constraint over the terms used.
|
||||
#
|
||||
# HONEST BOUNDARY: this is the certificate/registry DESIGN combinatorics of the
|
||||
# activation transition, NOT the Besu Java bytecode, and NOT mainnet. Chain 2800
|
||||
# runs classical ECDSA QBFT (N=7, f=2, quorum 5); the Falcon layer there is
|
||||
# LOG-ONLY, non-gating, and carries no certificate. Activating BLOCKING and the
|
||||
# contract-anchored registry is isolated-testnet R&D and remains audit-gated and
|
||||
# founder-gated. A2's per-N conflict check is bounded (N=7); the fork-gate and
|
||||
# activation transition, NOT the Besu Java bytecode, and NOT mainnet. When this
|
||||
# model was written (before 2026-08-02) chain 2800 ran classical ECDSA QBFT (N=7, f=2,
|
||||
# quorum 5) and its Falcon layer was LOG-ONLY, non-gating, with no certificate, and
|
||||
# activating BLOCKING and the contract-anchored registry was isolated-testnet R&D,
|
||||
# audit-gated and founder-gated (dated on 2026-10-27; the chain of today is in the
|
||||
# aere-node SPEC.md). A2's per-N conflict check is bounded (N=7); the fork-gate and
|
||||
# registry lemmas are unbounded over the modeled variables. Cryptographic
|
||||
# soundness of Falcon-512 / keccak256 is out of scope (NIST KAT + precompile).
|
||||
# -----------------------------------------------------------------------------
|
||||
@@ -88,7 +89,7 @@ def check(name, s, expect_unsat=True, kind="PROOF"):
|
||||
N = 7
|
||||
q = quorum(N); f = faultbound(N)
|
||||
print("### AERE PQC ACTIVATION transition -- log-only->blocking + contract-anchored Falcon registry\n")
|
||||
print(f" live/target set N={N}: quorum q={q}, fault bound f={f} (chain 2800 = classical ECDSA QBFT)\n")
|
||||
print(f" modelled set N={N}: quorum q={q}, fault bound f={f} (the chain 2800 set, then classical ECDSA QBFT, when this model was written, before 2026-08-02)\n")
|
||||
|
||||
# =============================================================================
|
||||
# GROUP A -- NO SPLIT ACROSS THE ACTIVATION HEIGHT.
|
||||
@@ -328,9 +329,10 @@ if allok:
|
||||
print(" so each guard (single fork constant, ceil(2N/3), fork-gating, immutability, fail-")
|
||||
print(" closed) is load-bearing.")
|
||||
print(" BOUNDARY: DESIGN combinatorics of the transition, NOT Besu bytecode, NOT mainnet.")
|
||||
print(" Chain 2800 = classical ECDSA QBFT (N=7,f=2,q=5); the Falcon layer there is LOG-ONLY")
|
||||
print(" and non-gating. Blocking + contract-anchored registry stay isolated-testnet R&D,")
|
||||
print(" audit-gated and founder-gated.")
|
||||
print(" When this model was written, before 2026-08-02, chain 2800 was classical ECDSA QBFT")
|
||||
print(" (N=7, f=2, q=5) with a log-only, non-gating Falcon layer, and blocking with a")
|
||||
print(" contract-anchored registry was isolated-testnet R&D; the chain of today is described")
|
||||
print(" in the aere-node SPEC.md (this paragraph dated on 2026-10-27).")
|
||||
else:
|
||||
print(" NOT fully established (see FAILED / unexpected result above).")
|
||||
import sys
|
||||
|
||||
@@ -34,8 +34,9 @@
|
||||
# A bounded model check is NOT a proof for all N or all executions; it is a
|
||||
# decision procedure over the stated finite configuration. Stated honestly.
|
||||
# * This models the QBFT message combinatorics / locking DESIGN, not the Besu
|
||||
# Java bytecode. Chain 2800 consensus is classical ECDSA QBFT (NOT post-
|
||||
# quantum); the Falcon layer is modeled separately (falcon_*_smt.py).
|
||||
# Java bytecode. Chain 2800 consensus was classical ECDSA QBFT (NOT post-
|
||||
# quantum) when this model was written, before 2026-08-02 (dated on 2026-10-27);
|
||||
# the Falcon layer is modeled separately (falcon_*_smt.py).
|
||||
# -----------------------------------------------------------------------------
|
||||
from z3 import (Int, Bool, Solver, And, Or, Not, Implies, If, Sum, sat, unsat)
|
||||
|
||||
@@ -246,7 +247,8 @@ if allok:
|
||||
print(" proving the ceil(2N/3) quorum and the locking rule are load-bearing.")
|
||||
print(" BOUNDARY: L1 is unbounded (all N); L2/L3 are bounded model checks over")
|
||||
print(" the stated finite configs; this is the DESIGN combinatorics, not Besu")
|
||||
print(" bytecode; chain 2800 consensus is classical ECDSA QBFT.")
|
||||
print(" bytecode; chain 2800 consensus was classical ECDSA QBFT when this model was")
|
||||
print(" written, before 2026-08-02 (see the aere-node SPEC.md for the chain of today).")
|
||||
else:
|
||||
print(" NOT fully established (see FAILED / unexpected result above).")
|
||||
import sys
|
||||
|
||||
@@ -179,7 +179,8 @@ if allok:
|
||||
print(" un-activated chain) is a trusted primitive, modelled here as the verify predicate, not")
|
||||
print(" re-proved. keccak256 injectivity (the nonce-bound record hash) is [VERIFY], modelled.")
|
||||
print(" DESIGN: this contract records ATTESTATIONS about recovery events; it does not observe")
|
||||
print(" consensus, halt the chain, or activate PQ consensus (still classical ECDSA QBFT). The")
|
||||
print(" consensus, halt the chain, or activate PQ consensus (consensus was classical ECDSA QBFT")
|
||||
print(" when this model was written, before 2026-08-02; see the aere-node SPEC.md for today). The")
|
||||
print(" uint64 nonce cannot realistically overflow. This checks the guard logic, not the")
|
||||
print(" compiled EVM bytecode.")
|
||||
else:
|
||||
|
||||
@@ -168,7 +168,8 @@ if allok:
|
||||
print(" curates WHO may write but cannot set a reputation value or exceed the clamp. The live")
|
||||
print(" AereAIReputation computes the score FROM the delta; this model bounds what the adapter")
|
||||
print(" forwards (authorized + clamped), not the live contract's score formula. Application-")
|
||||
print(" layer, no funds, consensus classical ECDSA. DESIGN-level guard logic, not the bytecode.")
|
||||
print(" layer, no funds, no change to consensus (classical ECDSA when this model was written,")
|
||||
print(" before 2026-08-02; see the aere-node SPEC.md for today). DESIGN-level guard logic, not the bytecode.")
|
||||
else:
|
||||
print(" NOT fully established (see FAILED / unexpected CEX above).")
|
||||
import sys
|
||||
|
||||
Reference in new issue
Block a user