# Proof 02 — Sybil Cost Lower Bound & 100-Bit Self-Certifying Collision Bound `fatext v4.0` binds each root identity `ftx_<20-crockford-b32>` to a `D = 22` leading-zero-bit [NIST FIPS 202 `SHA3-256`](https://csrc.nist.gov/pubs/fips/202/final) Genesis Proof-of-Work and a domain-separated 100-bit identifier digest. ## 1. Sybil Minting Work Lower Bound Modeling `SHA3-256` (Keccak-$f[1600]$, 24 rounds) as a random oracle $H: \{0,1\}^* \to \{0,1\}^{256}$: - Each trial `pow_nonce` succeeds independently with probability $p = 2^{-D} = 2^{-22}$. - To mint $M$ distinct valid Sybil identities, an adversary must evaluate an expected: $$\mathbb{E}[Q] = M \cdot 2^{22} \approx 4.194 \times 10^6 \cdot M \quad \text{Keccak-}f[1600]\text{ compressions.}$$ - By the Chernoff bound on negative binomial trials, the probability that an adversary mints $M$ valid identities using fewer than $\frac{1}{2} M \cdot 2^{22}$ oracle queries is at most: $$\Pr\left[\text{Successes} \ge M \;\middle|\; Q = \tfrac{1}{2} M 2^{22}\right] \le \exp\left(-\frac{M}{6}\right).$$ For $M = 1{,}000$ Sybil nodes, $\exp(-1000/6) < 2^{-240}$. At $D = 22$, honest creation of one permanent agent identity takes ~1.5 seconds on a commodity CPU core, whereas generating $10^5$ disposable DHT Sybils requires $\approx 4.2 \times 10^{11}$ `SHA3-256` evaluations. ## 2. Domain-Separated Full 100-Bit Entropy Preservation A naive design that truncates the PoW digest directly (`agent_id = encode(pow_digest)[0:20]`) loses $D = 22$ bits of entropy because the leading $D$ bits of `pow_digest` are forced to zero! `fatext v4.0` eliminates this entropy loss via two orthogonal domain-separated calls over the identical preimage $X = PK_0 \parallel \text{u64\_be}(t_0) \parallel \text{u64\_be}(\text{nonce})$: 1. $d_{\text{pow}} = \text{SHA3-256}(\text{"fatext-v4-genesis\n"} \parallel X)$ enforces $\text{lz}(d_{\text{pow}}) \ge 22$. 2. $d_{\text{id}} = \text{SHA3-256}(\text{"fatext-v4-agent-id\n"} \parallel X)$ derives `ftx_` from the top $L = 100$ bits of $d_{\text{id}}$. In the random oracle model, conditioning on $\text{lz}(d_{\text{pow}}) \ge 22$ leaves $d_{\text{id}}$ uniformly distributed over $\{0,1\}^{256}$, preserving all **100 bits** of identifier space ($|\mathcal{I}| = 2^{100} \approx 1.267 \times 10^{30}$). ## 3. Theorem 2.1 (Birthday Collision & Targeted Second-Preimage Bounds) 1. **Accidental Birthday Collision**: Across $N$ honestly generated global identities, the collision probability is bounded by: $$\Pr[\text{Collision}(N)] \le \frac{N(N - 1)}{2 \cdot 2^{100}}.$$ Even at $N = 2^{35} \approx 3.4 \times 10^{10}$ global agents, $\Pr[\text{Collision}] < 2^{-31} < 4.7 \times 10^{-10}$. 2. **Targeted Impersonation (Second Preimage)**: To forge a distinct keypair $PK' \ne PK_0$ colliding with a specific target `agent_id` *while simultaneously satisfying* $\text{lz}(d_{\text{pow}}) \ge 22$, an adversary must satisfy both independent predicates jointly: $$\mathbb{E}[\text{Queries}_{\text{2nd-preimage}}] = 2^{100 + 22} = 2^{122},$$ providing **122-bit** classical preimage resistance for every self-certifying `ftx_` address. $\square$