6-State Closure Taxonomy, Bend + Lean Proofs & Qualification Gates (G1–G10 + ZP-Q11–Q30)
60-Second TL;DR (
ZNN-SPEC-PHASE1-v4): Governed by the 6-State Closure Taxonomy (OPEN -> SPEC-RESOLVED -> IMPLEMENTED -> PROVEN -> PHYSICALLY QUALIFIED -> CLOSED), Zenon Phase 1v4enforces 30 conjunctive qualification gates: core gatesG1–G10, Round-2 supplemental gatesZP-Q11–Q22(ZDC-ZP1-HR-001), Round-3 post-quantum & sunset gatesZP-Q23–Q26(ZDC-QS-DEEZ-HR-001), and Round-4 cryptographic & supervisor gatesZP-Q27–Q30(ZDC-ZP1-R4-AUDIT). No Spork may activate on mainnet until every applicable gate reachesCLOSED.
1. Mandatory 6-State Audit Closure Taxonomy
| Closure State | Required Falsifiable Artifact |
|---|---|
OPEN | Confirmed defect or underspecification without normative specification text. |
SPEC-RESOLVED | Normative specification updated in zenon-phase-1 with byte-exact formulas, state machines, and internally consistent arithmetic (0 contradictions). |
IMPLEMENTED | Clean-room CGO_ENABLED=0 Go 1.27+ (go-zenon-v1) and/or Rust (zenon-rs, zeno-stf) implementation merged with deterministic unit + golden-vector tests. |
PROVEN | Mechanized Bend 2.0.40 + Lean 4.34.0 / TLA+ / Apalache theorem or cryptographic soundness bound discharged with 0 sorry axioms. |
PHYSICALLY QUALIFIED | Sustained 24h+ benchmark/fault-injection run on physical RFC-00 hardware (>= 3 Raspberry Pi 5 8 GB nodes over shaped 100/25 Mbps WAN). |
CLOSED | All four upstream artifacts (SPEC-RESOLVED + IMPLEMENTED + PROVEN + PHYSICALLY QUALIFIED) archived and hash-pinned in CI. |
2. Core 10-Gate Mainnet Qualification Ladder (G1–G10)
| Gate | Falsifiable Pass Criterion (ZNN-SPEC-PHASE1-v4) | Scope |
|---|---|---|
G1 | Pinned Commits & Cross-Language Golden Wire Vectors: Byte-identical Go 1.27+ (AssertMLDSAReady 621b16f8... & BoundSigningDigest b7444ca3... KATs R4-01, golden 0x02 z1qgyf208a5... N02, ChannelContract ...r7xsx2 R4-08) and Rust vectors across AccountBlock v2, 179B PoP, ZenonCommitStateProto (1,538 B), 99B checkpoints, and [0x00]/[0x01] smt-v1. | All Layers |
G2 | Exhaustive Small-State Model Checking (n = 4, 7): Exhaustive permutation check of non-overlapping stride = 5 Mahi-Mahi (Profile C-AS) wave commits and (if enabled) Profile B DirectSkip (C02) & r + 3 maturity (C01). | Consensus |
G3 | Lossless 13B/50B Ordered Parent Bitmap & 34B Delta MAP_REPLY Parity (H16): 100% identical traversals vs. uncompressed engine under 15% delayed parents and 33 simultaneous equivocators within < 0.2 Mbps Class 0 budget. | Consensus |
G4 | Asynchronous Prefix Liveness & Pure-SHA3-256 HashRand-PQ Coin (R4-05): Verified epsilon > 0 wave progress, 1-bit unique S_w interpolation (M_coin = 256, T_coin = 86), 2^-512 QROM degree check, and < 8 MB RSS AVID-FP replenishment (0.69–1.34 Mbps). | Consensus |
G5 | Quantized M = 4,096 Voting & M_coin = 256 Intersection + 2D AVID Custody (B04, R4-05, H08, M08): Verified 2 * 2,731 - 4,096 == 1,366 > F_Q and 2 * 171 - 256 == 86 == T_coin across skewed stake distributions and malicious AVID-FP / 2D AVID codeword injection. | Consensus & DA |
G6 | 3-Horizon Crash Recovery, qc_wal & xmss_wal (H09, M04): SIGKILL fault injection around Pebble WriteBatch(Sync: true), qc_wal single-vote height lock, and xmss_wal fdatasync leaf high-water mark (0 double-signs). | Storage & WAL |
G7 | Disjoint-Commuting F1 == F0, H_inc + 1, postPromoStore & InclusionContext (B03, B05, M01, M05, R4-03): 256-striped user execution + sequential Embedded Contract fold matches SerialOracle F0 byte-for-byte across postPromoStore (#8), InclusionContext (#9), and Version = 2 contract blocks (#10). | VM & Projection |
G8 | Physical Raspberry Pi 5 WAN Qualification (B08, M01, M02, C05): Separate -race concurrency pass + uninstrumented release run on >= 3 Pi 5 (8 GB, 1 TB NVMe) nodes over shaped 100/25 Mbps sustaining 24h load within <= 6.5 GB RSS, <= 15 Mbps control TX, and <= 450 GB projected NVMe. | Hardware Gate |
G9 | Post-Quantum, /znn/tls-pq/1.0.0 & Equi-X Fuzzing Gate (H14, M04, M08, R4-09): 10^8 differential Go/Rust fuzz iterations for Go 1.27+ crypto/mldsa, pure-Go fn-dsa v0.3 (32B seed keygen/sign/verify, 0 FPU verify!), SLH-DSA-128s, /znn/tls-pq/1.0.0, and Equi-X [E5]. | Post-Quantum L1 |
G10 | Pure-SHA3 WHIR-SHA3-v1 2^-128 QROM Soundness & Zero-Alloc Arena Audit (H02, H07, M10, R4-04): External cryptographic audit + mutation testing confirming <= 2^-128 CMS19 QROM soundness (256b ext field + 32b grind), 0 Poseidon2, <= 8,000 Keccak perms, <= 131,072 B cap, and 0 heap allocs. | Proof-First ZK |
3. Supplemental Adversarial Gates (ZP-Q11 – ZP-Q30, Rounds 2, 3 & 4)
| Gate | Falsifiable Pass Criterion | Blocks Stage |
|---|---|---|
ZP-Q11 | Mechanized Profile B (Steelhead) Refinement Proof (H10): TLA+/Lean refinement proof; until CLOSED, Profile C-AS (stride = 5 Mahi-Mahi) is mandatory. | Profile B Opt-In |
ZP-Q12 | 5%-Capped Coin Share Whale Bound (R4-05): Proves c_i <= 13 HashRand-PQ PQCoinShareBundleProto stays <= 14.2 KiB (< 13 Mbps at 1.0 Hz). | Phase 1B |
ZP-Q13 | HashRand-PQ Memory, AVID-FP Replenishment & Bad-Dealer Exclusion (R4-05): < 8 MB dealer RSS (2.03 MiB matrix) & 0 deadlocks across 10 bank rollovers with 33% corrupt dealers. | Phase 1B |
ZP-Q14 | End-to-End MomentumPQQC Formation & Equivocation Slash (H09): 100% unique Momentum.Hash QCs, qc_wal crash safety, and 0.65 Mbps wire bound. | Phase 1B |
ZP-Q15 | Direct Mesh Topology & Zero-Lattice XMSS-SHAKE_22 + HQC-192 Failover (M01, M04, R4-05): Live N = 100 shaped test (<= 6.59 Mbps at 2 Hz XMSS + 0.4 Hz coin) + SIGKILL leaf-uniqueness check. | Phase 1B |
ZP-Q16 | AuthRegistry (#14) Competing-Generation, PrecommitKey & 179B PoP Suite (B03, B05, M06): Exhaustive two-intent Send->Receive race, ErrAuthNonceOverflow, cross-genesis replay, and address-bricking rejection tests. | Phase 1A |
ZP-Q17 | Two-Lane Dynamic Plasma, 0x1f->uint64 Mask & PoKoS Anti-Starvation (H01, H02, M07): Saturated SubmitBatch queue test proving 1 reserved PoKoS slot/s + bit-exact Phase 0 0x1f replay parity. | Phase 1A / 1C |
ZP-Q18 | Sovereign Pi 5 1-Year Accelerated Storage & RAM Projection (B08): Proves <= 450 GB NVMe (incl. H in {1,2} legacy pin) and <= 320 MB pubKeyHash RAM cache under 10M-account dust pressure. | Phase 1B |
ZP-Q19 | Equi-X ([E5]) + 306B Hash + WitnessPlasma Conformance (H14): Cross-language Go/Rust vector suite for HashX compilation, uint128 effort target, and +272 plasma. | Phase 1A |
ZP-Q20 | WHIR-SHA3-v1 Verifier (<= 3.5 ms Cortex-A76) & Client/Server Prover Benchmark (R4-04): Physical Pi 5 verifier (<= 8,000 Keccak perms, <= 3.5 ms, 0 allocs) + measured laptop/mobile R_PoKoS & Tier 1–3 zeno-stf benchmarks. | Phase 1A / 1C |
ZP-Q21 | ChannelContract (#15), SigLock & 256b HTLC Conservation Suite (B06, B07, B09, M07, M10): Lean 4 conservation proof + GraceExtension = 3,600 anti-snipe & 92B SigLock recipient-binding tests. | Phase 1D |
ZP-Q22 | Reproducible Phase 1.0 go-zenon vs. go-zenon-v1 Benchmark: Published open-source sync/storage/verification benchmark harness on identical hardware. | Phase 1.0 |
ZP-Q23 | Era-Separated H_inc Sunset vs. MomentumAcknowledged Replay Suite (DEEZ-B02, M09): Proves 0x00/0x81 blocks referencing H_ack < H_sunset are rejected at H_inc >= H_sunset while historical sync replays cleanly, plus >= 85% stake-readiness spork gate test. | Phase 1E |
ZP-Q24 | pubKey_A-Bound R_PoKoS Soundness & Cohort Conformance (DEEZ-B06, B08, M05): QROM knowledge-soundness proof + test vectors verifying 32B expectedPubKeyA binding on exposed accounts (~2^126 Grover), zero-balance sponsor submission, and 12/24-word + KeyFile + raw seed coverage. | Phase 1A |
ZP-Q25 | Post-CRQC SunsetAnchorCheckpoint + MaxPreCRQCBitcoinHeight Rejection (DEEZ-B11, R4-09): Proves 100% rejection of forged Phase 0 Ed25519 chains AND post-CRQC spoofed BTC OP_RETURNs at heights > MaxPreCRQCBitcoinHeight. | Phase 1E |
ZP-Q26 | Complete Embedded-Contract Classical Sunset & Zero-Stranded-Funds Drain (DEEZ-B12): End-to-end state tests verifying Bridge, Swap, Pillar.RegisterLegacy, and Ptlc {0,1,2} Unlock halt at H_inc >= H_sunset while Ptlc.Reclaim deletes ReclaimLock cleanly (R4-03). | Phase 1D / 1E |
ZP-Q27 | BoundSigningDigest (0x81 Anti-Stripping), O(1) Exposure Resolver & MomentumVM Landmines #8–#10 (R4-01, R4-02, R4-03): Verifies 0x81 -> 0x00 stripping & Path-C ransomware rejection, O(1) ByHeight(1..2) + AuthRegistry[0x03] exposure parity (0 ChangesHash drift), postPromoStore, InclusionContext, and Version = 2 contract blocks. | Phase 1A |
ZP-Q28 | HashRand-PQ AVID-FP Re-Encoding Uniqueness & stride = 5 Wave Suite (R4-05): Mechanized Lean 4 proof of (100, 34) Reed-Solomon ReencodeCheck uniqueness + 1.0 Hz coin cadence verification at 5 Hz rounds. | Phase 1B |
ZP-Q29 | Domain-Separated smt-v1 ([0x00]/[0x01]), LP-Framed Witness & [0x11] Sidecar Compaction (R4-07, C03): Proves leaf/internal collision immunity and 0 Momentum.ChangesHash divergence when [0x11] ProofWitness compacts at 14 days. | Phase 1A / 1C |
ZP-Q30 | ChannelContract (#15) In-CLOSING ClaimHTLC + FinalizeBasePayouts Suite (R4-08): Proves RevealedPreimage survives ChallengeHigherNonce snipes before expiryTs and FinalizeBasePayouts releases balance_a, balance_b while dust HTLCs remain unsettled. | Phase 1D |
4. Extended Bend 2.0.40 + Lean 4.34.0 Proof Suites (test/bend/)
- Suite 12 (
dag_m4096_and_hashrand_pq):m4096_quorum_identity,m256_coin_identity,avid_fp_reencode_uniqueness, andmahi_stride5_wave_safety. - Suite 13 (
adapter_qc_and_hfork):witness_excluded_unit_identity,qc_single_vote_uniqueness,hfork_wallclock_preservation, anddisjoint_stripes_commute_with_f0. - Suite 14 (
smt_v1_and_settlement):smt_v1_domain_separated_soundness,sidecar_witness_pruning_preserves_changes_hash, andsettlement_escrow_minted_conservation. - Suite 15 (
pq_auth_plasma_and_sunset):bound_signing_digest_non_strippable,o1_exposure_resolver_soundness,h_inc_sunset_and_key_immutability, andchannel_decoupled_base_htlc_conservation.