WORLD STATE W ─────────────
W = (BBG, edge_store, privacy_state)
where BBG = Big Badass Graph commitment: BBG_root = H( by_neuron.commit ‖ by_particle.commit ‖ focus.commit ‖ balance.commit ‖ commitment_poly.commit ‖ nullifier_set.commit )
and edge_store = content-addressed storage: edge_store : H(edge) → edge
and privacy_state = UTXO state: particle_energy : PolynomialCommitment commitment_poly : PolynomialCommitment nullifier_set : PolynomialCommitment total_energy : u64
## State Transitions
TRANSITION: W × Transaction → W' | ⊥
TRANSACTION TYPES ─────────────────
-
Cyberlink: Add edge to graph tx = (neuron, from_particle, to_particle, weight, signature)
-
Transfer: Move balance between neurons (public) tx = (from_neuron, to_neuron, amount, signature)
-
PrivateTransfer: Move energy between records (ZK) tx = (nullifiers, commitments, deltas, fee, proof)
-
Computation: Execute nox reduction tx = (neuron, subject, formula, budget, signature)
VALIDITY CONDITIONS ───────────────────
- Authorization: signature valid OR ZK proof valid
- Balance: sufficient balance for any transfers
- Focus: sufficient focus for any computation
- Conservation: Σ focus' = 1, Σ balance' = B_total, energy conserved
- Consistency: all indexes updated correctly
- Availability: all referenced content retrievable
- Double-spend: nullifiers not in nullifier_set
PROOF OF VALID TRANSITION ───────────────────────── stark proves:
- All validity conditions hold
- New state correctly derived from old state + tx
- All indexes (by_neuron, by_particle) updated consistently
- ZK proofs verified (for private transactions)
Proof size: O(log |W|) Verification: O(log |W|)