TL;DR: Instead of scanning the whole graph O(n), keep a reverse index from source → dependents. Cost becomes O(k) where k=|affected frontier|.
The Claim
cost(mutation) = O(k), not O(n)
T(Δp) = O(|Reach_D(p)| + C_eval)
What It Makes Possible
- True O(k) reactivity — only affected chain recomputes
-
Faithful explain() — returns
{expr, inputs, dependsOn, recomputed, sourcePath}not narrative -
Low overhead —
0.0122ms → 0.0189ms (+0.007ms p95)for 3000 nodes, 300 iterations -
Privacy-preserving — stealth scopes mask
●●●● origin: stealthbut structure stays visible - Deterministic convergence — local segments reach consistency without global sync
Why It Matters
It makes me['!'].explain() possible: handing over the computation itself, not a self-generated account of it.
Sources
- Explain thesis: https://suign.github.io/Explain.html
- Equations: https://suign.github.io/Equations.html
- Kernel: https://github.com/neurons-me/.me
Glossary explainer of work by Sui Gn (@suign).
Top comments (0)