Dated corrections (2026-10-27): formal-consensus/RULEAZA-TOT.md translated into English and dated (it stated, without a date, facts of the chain of August 2026); the models print the chain facts of their time with the date, or the facts of today (labels and printed strings only, the logic and the verdicts unchanged: 37 of 37 models pass); README: 37 models counted on 2026-10-27 and the reproduction pointer to aere-docs REPRODUCE.md section 3b
This commit is contained in:
1 parent
9b2a69ab6b
commit
6d24576357
8 files changed
+149
-133
No files matched your search
@@ -155,9 +155,12 @@ class Block:
|
||||
falcon_ok = If(is_anchor(self.h), anykey >= self.K_eff(), BoolVal(True))
|
||||
return And(self.qbft >= QBFT_Q, falcon_ok)
|
||||
|
||||
print("### AERE anchor BLOCKING-QUORUM SAFETY -- fork at 14,050,000, K=3, N=9, q=6\n")
|
||||
print("### AERE anchor THRESHOLD SAFETY on the chain of 2026-08-15 (K=3, N=9, q=6, registries R1 of 7 keys and R2 of 9)")
|
||||
print("### modelled for anchor heights >= 14,050,000, called 'the fork' below. Corrected 2026-10-27: that height is the bound of")
|
||||
print("### this model, not a blocking fork: the property armed there changed no enforcement (correction of 2026-08-19), and the K=3")
|
||||
print("### step is from 13,034,000. Today: ten validators since 2026-09-11, minimum 7 per scheme since block 20,715,632.\n")
|
||||
print(f" anchor grid: every {ANCHOR_INTERVAL} blocks from {ANCHOR_START}; "
|
||||
f"fork {FORK_BLOCKING} is {'ON' if (FORK_BLOCKING-ANCHOR_START)%ANCHOR_INTERVAL==0 else 'OFF'} the grid "
|
||||
f"model bound {FORK_BLOCKING} is {'ON' if (FORK_BLOCKING-ANCHOR_START)%ANCHOR_INTERVAL==0 else 'OFF'} the grid "
|
||||
f"((14050000-13014000)/32 = {(FORK_BLOCKING-ANCHOR_START)//ANCHOR_INTERVAL})\n")
|
||||
|
||||
# =============================================================================
|
||||
@@ -165,14 +168,14 @@ print(f" anchor grid: every {ANCHOR_INTERVAL} blocks from {ANCHOR_START}; "
|
||||
# =============================================================================
|
||||
s = Solver()
|
||||
s.add(Int('r') == (FORK_BLOCKING - ANCHOR_START) % ANCHOR_INTERVAL, Int('r') != 0)
|
||||
check("S0a CONFIG: the blocking-fork height 14,050,000 lies ON the anchor grid "
|
||||
check("S0a CONFIG: the model bound 14,050,000 lies ON the anchor grid "
|
||||
"(it is itself an anchor height)", s)
|
||||
|
||||
s = Solver()
|
||||
h = Int('h')
|
||||
s.add(h >= FORK_BLOCKING, sched_K(h) != K_TARGET)
|
||||
check("S0b SCHEDULE (all h >= fork): the min-seals schedule pins K == 3 at every "
|
||||
"blocking-era height (13034000:3 step is below the fork)", s)
|
||||
check("S0b SCHEDULE (all h >= 14,050,000, schedule of 2026-08-15): the min-seals schedule pins K == 3 at every "
|
||||
"modelled height (the 13034000:3 step is below the bound)", s)
|
||||
|
||||
s = Solver()
|
||||
h = Int('h')
|
||||
@@ -185,8 +188,8 @@ check("S0c REGISTRY PARTITION (all h): every height from 13,014,000 on is covere
|
||||
s = Solver()
|
||||
h = Int('h')
|
||||
s.add(h >= FORK_BLOCKING, Not(h >= REG2_START))
|
||||
check("S0d REGISTRY AT FORK (all h >= fork): the active registry in the blocking "
|
||||
"era is the 9-key registry (fork 14,050,000 > rotation 13,600,000)", s)
|
||||
check("S0d REGISTRY AT THE BOUND (all h >= 14,050,000): the active registry in the "
|
||||
"modelled range is the 9-key registry (14,050,000 > rotation 13,600,000)", s)
|
||||
|
||||
# =============================================================================
|
||||
# S1 -- THE INVARIANT (positive result). An anchor block at h >= fork, with the
|
||||
@@ -198,7 +201,7 @@ s = Solver(); s.add(b.wf())
|
||||
s.add(b.h >= FORK_BLOCKING, is_anchor(b.h), Not(b.ceil_set))
|
||||
s.add(b.finalized())
|
||||
s.add(b.distinct_eligible_valid() <= 2)
|
||||
check("S1 BLOCKING-QUORUM SAFETY: post-fork ANCHOR block finalized with <= 2 "
|
||||
check("S1 THRESHOLD SAFETY: post-fork ANCHOR block finalized with <= 2 "
|
||||
"distinct valid eligible Falcon seals is IMPOSSIBLE (K=3 floor holds)", s)
|
||||
|
||||
# same, with the ceiling engaged but at/above K: still no hole below 3
|
||||
@@ -338,21 +341,22 @@ s = Solver()
|
||||
s.add(c >= 0, w == If(c <= 2, c, 2)) # planted cap 2 < K
|
||||
s.add(c >= K_TARGET, w < K_TARGET)
|
||||
check("S7b NEG-CTRL: PLANT a cap of 2 < K -> a 3-seal certificate is written short "
|
||||
"of the quorum (why maxSeals below the schedule K is refused at load)", s,
|
||||
"of K (why maxSeals below the schedule K is refused at load)", s,
|
||||
expect_unsat=False, kind="NEG-CTRL")
|
||||
|
||||
# =============================================================================
|
||||
print("\n=== SUMMARY (anchor BLOCKING-QUORUM SAFETY) ===")
|
||||
print("\n=== SUMMARY (anchor THRESHOLD SAFETY, chain of 2026-08-15) ===")
|
||||
allok = True
|
||||
for name, tag, ok, kind in results:
|
||||
print(f" {tag:9} [{kind}] {name}")
|
||||
allok = allok and ok
|
||||
print()
|
||||
if allok:
|
||||
print(" PROVED: with the blocking fork active (h >= 14,050,000) no anchor block")
|
||||
print(" PROVED: on the chain of 2026-08-15, at anchor heights >= 14,050,000 (the bound of this model; that")
|
||||
print(" height changed no enforcement, correction of 2026-08-19) no anchor block")
|
||||
print(" can be finalized with fewer than K=3 valid Falcon seals from DISTINCT")
|
||||
print(" signers of the registry active at that height (the 9-key registry, since")
|
||||
print(" the fork lies above the 13,600,000 rotation), and non-anchor blocks")
|
||||
print(" the bound lies above the 13,600,000 rotation), and non-anchor blocks")
|
||||
print(" require no seals at all (proved in both directions). The mandated")
|
||||
print(" negative control FIRES: a planted rule permitting 2 seals finalizes an")
|
||||
print(" anchor block with exactly 2 seals (SAT), so the K>=3 guard is load-")
|
||||
@@ -362,7 +366,8 @@ if allok:
|
||||
print(" (and is the single designed path below 3); the maxSeals=5 write cap can")
|
||||
print(" never starve a certificate below K, and a planted cap of 2 does.")
|
||||
print(" BOUNDARY: design combinatorics of the finalization predicate, not Besu")
|
||||
print(" bytecode, not the live chain; registries modelled as index sets.")
|
||||
print(" bytecode, not the live chain; registries modelled as index sets. Today the set has ten validators")
|
||||
print(" (since 2026-09-11) and the minimum is 7 per scheme (since block 20,715,632): not modelled here.")
|
||||
else:
|
||||
print(" NOT fully established (see FAILED / unexpected result above).")
|
||||
import sys
|
||||
|
||||
Reference in new issue
Block a user