— Capitulum I.α —
The core math.
Robust-MAD-Z. SigmaScore. Escalation cost. The primitives every Deviate Engine inherits. Patent triggers at 5σ; deviation rises through Cognitive (±20σ), Nature (±20σ), and Physics (±30σ HARD).
— primitive · 01
Robust-MAD-Z
rawMAD = median(|scorei − median(scores)|)
Robust-MAD-Z = 0.6745 · (score − median(baseline)) / rawMAD
M-estimator on the deviation residual. The 0.6745 constant calibrates to a normal distribution. Robust = outlier-resistant. Z = unitless sigma score.
— primitive · 02
SigmaScore
SigmaScore = 0.3 · structural + 0.7 · behavior
Patent trigger ≥ 5σ
Behavior weighted heavier than structure — what the system does matters more than how it's drawn. Any output ≥ 5σ from baseline triggers patent-claim review.
— primitive · 03
Escalation cost
|n| ≤ 10 → 2|n|
10 < |n| ≤ 20 → 1024 · 3(n−10)
20 < |n| ≤ 30 → 1024 · 310 · 5(n−20)
Cost of deviation grows super-exponentially. Each sigma stage has a higher per-unit ceiling. Governance budget bounds where the engine can operate.
— gate logic
Three gates
- Cognitive — block if any layer's Robust-MAD-Z < 3.0
- Bell — block if |S| ≤ 2 (no entanglement signal)
- Hawking — block if InternalVolume > 10·SurfaceArea (black-box)
- Fine-tuning — block if ViableBand / ParameterSpace > 0.10
- Vacuum — block if BaselineVariance < ε
The three-layer stack.
— Cognitive · engines 01–20 · ±20σ
Mechanism. Rupture. Collision.
Mechanism = 0.25·CausalLinkDensity + 0.20·FeedbackLoopClarity + 0.20·ConstraintVisibility + 0.15·FailureModeCoverage + 0.10·OperationalSpecificity + 0.10·Testability
Rupture = 0.25·AssumptionRemoval + 0.20·CategoryFrameBreak + 0.20·OrthodoxyViolation + 0.15·ReframeStrength + 0.10·FirstPrinciplesRebuild + 0.10·IrreversibilityOfInsight
Collision = 0.25·DomainDistance + 0.25·StructuralAlignment + 0.20·PracticalTransfer + 0.15·EmergentPropertyCreation + 0.15·MetaphorNonDecorativeness
Gate: any MADZ < 3.0 → BLOCK
— Nature · engines 21–30 · ±20σ
Pheromone. Flight. Spiral.
Ant pheromone: τ(t+1) = (1−ρ)τ + Σ τk
Lévy flight: P(s) ∝ s−1−α
Physarum flow: Q = (D/L)(pi − pj)
Firefly: β(r) = β0·e−γr²
Whale spiral: D′·ebl·cos(2πl)
Biology as architecture: every Nature-layer engine borrows a natural search heuristic — ant colony, Lévy, Physarum, firefly, whale optimization.
— Physics · engines 31–40 · ±30σ HARD
Fine-tuning. Bell. Hawking.
FineTuningRatio = ViableBand / ParameterSpace (BLOCK if > 0.10)
FineTuningEntropy = −Σ pi·log(pi)
BellParameterS = E(a,b) − E(a,b′) + E(a′,b) + E(a′,b′) (BLOCK if |S| ≤ 2)
Hawking gate: InternalVolume > 10·SurfaceArea → BLOCK
Vacuum gate: BaselineVariance < εvacuum → BLOCK
Hardest layer. Physics gates are the last filter before patent claim.
Representative Enhanced Brain (REB) · core formulas
Bayes update: P(H|E) = P(E|H)·P(H) / P(E)
FSRS retention: R(t,S) = (1 + t/(9S))−1
Ebbinghaus forgetting: R(t) = e−t/S
Expected value: EV = Σ Pi·Vi
Kelly criterion: f* = (bp − q) / b
Compound growth: A = P(1 + r)n
Power law: P(X ≥ x) ∼ x−α
KL divergence: DKL(P‖Q) = Σ P(x)·log(P(x)/Q(x))
Autonomous Digital Twin Brain (ADTB+) · formulas
Bayes: P(H|E) = P(E|H)·P(H) / P(E)
Shannon information: I(x) = −log P(x)
Mutual information: I(X;Y) = Σ P(x,y)·log(P(x,y)/(P(x)P(y)))
KL divergence: DKL(P‖Q) = Σ P(x)·log(P(x)/Q(x))
Cross entropy: H(p,q) = −Σ p(x)·log q(x)
Expected value: EV = Σ Pi·Vi
SIR diffusion: dI/dt = βSI − γI
Power law: P(X ≥ x) ∼ x−α
Wright's law: Y = a·Xb
Cumulative learning: output compounds with experience
Prediction Studio · scoring + calibration
Brier Score: BS = (1/N)·Σi(pi − oi)²
Log Score: LS = −(1/N)·Σi[oi·log(pi) + (1−oi)·log(1−pi)]
Confidence-weighted P: Pfinal = Σ(pi·ci) / Σci
Disagreement: σcouncil = √( (1/N) · Σi(pi − p̄)² )
Trimmed mean: Ptrim = mean( sort(probs)[k : N−k] )
Engine weight: wnew = (1−η)·wold + η·reward
Market-blended: forecast = swarm·agent + market·prior
EVI: E[utility|collect] − E[utility|no] − cost
— targets: Brier < 0.15 · Log Loss < 0.40 · ECE < 0.05/bucket · feedback latency < 1hr
Public surface only. Full claim language, parameter values, and apparatus details are under filing (RIG-DE-001 · Q4 2025). Patent trigger: SigmaScore ≥ 5σ on Robust-MAD-Z.