Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

15. The Four Prohibitions

The Paragraph That Hid Three Fatal Flaws

Imagine sitting on an operational risk committee at a retail bank. A consultant hands you a polished slide deck containing the following sentence:

“Considering the two-year call-center history, the average arrival rate of $312$ calls per hour, the mean handling time of $6.2$ minutes, and the standard Erlang-C queueing model, the expected service level is $82%$ of calls answered within $20$ seconds; we therefore recommend maintaining the current staffing of $36$ agents.”

On a first reading, the sentence sounds authoritative, technical, and reassuring. Yet when the bank follows this recommendation, customer waiting times explode and the phone queue collapses on Mondays and Fridays. Why? Because natural-language prose is an extraordinary hiding place for unexamined assumptions.

Buried inside that single smooth sentence are three fatal omissions:

  1. It applied a nonlinear queueing formula to the average arrival rate ($f(\mathbb{E}[X])$) instead of averaging the queueing delay across the fluctuating days ($\mathbb{E}[f(X)]$), hiding a massive Jensen’s Gap ($82%$ promised versus $57%$ realized!).
  2. It treated $27\text{,}716$ five-minute intervals as independent observations instead of clustering by the $164$ calendar days, understating the margin of error by a factor of $\sqrt{28.26} \approx 5.3\times$.
  3. It never declared how many alternative staffing formulas the consultant tried before picking the one that looked best on historical data, nor what numeric threshold would force the bank to pull the plug if the model failed in live operation.

In a traditional organization—or in a multi-agent Artificial Intelligence pipeline where Large Language Models converse in free English or Portuguese paragraphs—one agent’s smooth prose becomes the next agent’s unquestioned premise. Rhetorical confidence substitutes for mathematical proof.

To make hiding impossible, the Stochology Protocol establishes Four Golden Prohibitions (AGENTS.md §I, audited in EpistemologicalCard::audit() and Gate G6). No claim, model, or inter-agent message may pass into production if it violates any of the four.

The Four Golden Prohibitions of the Stochology Protocol PROHIBITION 1 · COMMUNICATION No Free Prose Between Agents • Strict YAML Card Schema • EpistemologicalCard::audit() • Defeats adjective laundering Gate G1 & G6 PROHIBITION 2 · BRIDGE L₂ → L₃ No Lone Mean Under Curvature • f(E[X]) & E[f(X)] • Jensen's Gap Δ_J ≠ 0 • Median, q₀₅, q₉₅ & CRPS Gate G2 & G6 PROHIBITION 3 · BRIDGE L₃ → L₁ No Confusing Fit with Performativity • Separate θ_PS vs. θ_PO • PerfGD Stackelberg step • RRM contraction εβ/γ < 1 --defect performativity PROHIBITION 4 · CALIBRATION No Dogmatic 0/1 or Hidden Trials • Cromwell p ∈ [ε, 1-ε] • CORP-Murphy PAV OOS • Attempts K ≥ 1 & e-process --defect cromwell
Figure 15.1 — The Four Golden Prohibitions Guarding Inter-Agent and Institutional Epistemology

15.1 Prohibition 1 — Ban on Unstructured Free Prose Between Agents (PROHIBITION_1)

Why Prose Fails in Multi-Agent and Institutional Systems

When human teams or autonomous AI agents communicate through free natural language, two well-documented pathologies emerge:

  • Adjective Laundering: Uncertain guesses in the first stage (“the data weakly suggest, under strong stationarity assumptions…”) are summarized by the second stage as established facts (“based on the verified trend…”).
  • Sycophancy Cascades: In multi-agent LLM architectures, downstream agents defer to the confident tone of upstream agents rather than recomputing the variance budget, SHA-256 data hash, or cost-loss threshold.

The Structural Remedy: Typed Epistemological Cards

Under Prohibition 1, all communication between agents or modules transits exclusively through structured Epistemological Cards (EpistemologicalCard in crates/stochology-core/src/card.rs), serialized in strict YAML (cards/*.yaml) and validated by EpistemologicalCard::audit().

Why does a fixed schema defeat adjective laundering? Because an empty or inconsistent slot cannot hide behind an eloquent verb. If an agent wants to recommend an action in a YAML card, the parser forces the agent to fill in:

  • the exact SHA-256 hash of the dataset (dataset_sha256);
  • the true independent unit and Moulton-Campbell effective sample size (effective_sample_size_n_eff);
  • all seven numbers of the nonlinear summary (f_at_mean, mean_of_f, jensen_gap, median, q05, q95, crps);
  • the four variance-budget shares summing to $1.0$;
  • the counter of attempted specifications $K \ge 1$;
  • and the numeric exit clause (exit_clause).

If any slot is missing, malformed, or algebraically inconsistent with its neighbors, EpistemologicalCard::audit() rejects the card before any downstream agent ever reads it.


15.2 Prohibition 2 — Ban on the Lone Mean (PROHIBITION_2)

Why the Mean Alone Is a Lie Under Curvature, Compounding, or Heavy Tails

In elementary courses, students are taught to summarize a random variable $X$ by its sample mean $\bar{x}$. That habit is harmless only in a linear, thin-tailed, additive Gaussian world. It becomes a dangerous distortion whenever any of three conditions holds:

  1. The payoff or loss function $f(X)$ is nonlinear (Bridge $L_2 \to L_3$, Chapter 2): by Jensen’s Inequality, $f(\mathbb{E}[X]) \neq \mathbb{E}[f(X)]$.
  2. The dynamics are multiplicative over time (Lens 2, Chapter 6): by Itô’s variance drain, the ensemble mean growth rate $\mu$ overstates the compounded time-average growth rate $\mu - \frac{1}{2}\sigma^2$.
  3. The upper tail is heavy (Lens 3, Chapter 6): when the Pareto tail index satisfies $\alpha \le 2$, the population variance is infinite, and the mean is dominated by rare, violent jumps.

The Seven Mandatory Quantities of NonlinearSummary

Under Prohibition 2, reporting only $\mathbb{E}[X]$ or $f(\mathbb{E}[X])$ is strictly forbidden. Every Epistemological Card (epistemological_header.nonlinearity) and every laboratory summary (NonlinearSummary in crates/stochology-core/src/layers.rs) must report all seven numbers together:

$$\bigl( f(\mathbb{E}[X]),\quad \mathbb{E}[f(X)],\quad \Delta_J = \mathbb{E}[f(X)] - f(\mathbb{E}[X]),\quad \text{median},\quad q_{05},\quad q_{95},\quad \mathrm{CRPS} \bigr)$$

Each of these seven numbers answers a distinct operational question:

Mandatory FieldSymbolOperational Question It Answers
f_at_mean$f(\mathbb{E}[X])$What would the cost/payoff be if the world froze at its average input every single day?
mean_of_f$\mathbb{E}[f(X)]$What is the true expected cost/payoff once daily fluctuations pass through the curved function $f$?
jensen_gap$\Delta_J$How much extra tax ($\mathbb{E}[f(X)] - f(\mathbb{E}[X])$) is volatility charging us because of curvature?
median$q_{50}$What does a typical realization look like, uncorrupted by extreme tail spikes?
q05 & q95$q_{05}, q_{95}$What is the $90%$ central inter-quantile range spanning calm days to surge days?
crps$\mathrm{CRPS}$How well does the entire predictive distribution $F(x)$ score out-of-sample against realized outcomes $y$?

Furthermore, EpistemologicalCard::audit() checks the exact algebraic closure $|\Delta_J - (\mathbb{E}[f(X)] - f(\mathbb{E}[X]))| \le 10^{-3}$ and requires $\Delta_J \neq 0$ whenever nonlinearity is present.


15.3 Prohibition 3 — Ban on Confusing Learning with Performativity (PROHIBITION_3)

Why Low Validation Error Does Not Prove Causal or Performative Validity

Suppose a credit-scoring model or an airline ground-delay controller achieves a tiny Brier score on last year’s holdout data. Does that prove the model will work when deployed tomorrow?

No—for two distinct reasons across Rung 2 of Pearl’s Ladder and Bridge $L_3 \to L_1$:

  1. Confounded Passive Fit vs. Intervention: A model that predicts well passively ($P(Y \mid X)$) may be riding a spurious proxy or confounder that breaks the moment the agent intervenes ($P(Y \mid \mathrm{do}(X))$).
  2. Performative Feedback ($\mathcal{D}(\theta)$): When deploying parameter $\theta$ causes customers, borrowers, airlines, or drivers to change their behavior, the data distribution shifts from $\mathcal{D}$ to $\mathcal{D}(\theta)$.

Mandatory Performative Audit on Bridge $L_3 \to L_1$

Under Prohibition 3, every model operating on Bridge $L_3 \to L_1$ must explicitly separate:

  • Performative Stability ($\theta_{\mathrm{PS}}$): the fixed point of myopic Repeated Risk Minimization (retraining passively on the distribution induced by the previous round);
  • Performative Optimality ($\theta_{\mathrm{PO}}$): the true Stackelberg equilibrium that anticipates the population’s strategic response;
  • Wasserstein-1 Distribution Sensitivity ($\varepsilon$) and the Strict RRM Contraction Condition: $$r_{\mathrm{RRM}} = \frac{\varepsilon \beta}{\gamma} < 1$$

If $r_{\mathrm{RRM}} \ge 1$, PerformativeSystem and EpistemologicalCard::audit() reject the card immediately (--defect performativity), preventing an automated retraining loop from destabilizing the real-world environment.


15.4 Prohibition 4 — Ban on Dogmatic Extremes and Omitted Attempts (PROHIBITION_4)

Prohibition 4 guards against two of the most common sins in quantitative research: dogmatic certainty ($0%$ or $100%$) and unreported cherry-picking ($p$-hacking).

Part A: Cromwell’s Rule ($p \in [\varepsilon_{\text{floor}}, 1 - \varepsilon_{\text{floor}}]$)

In August 1650, Oliver Cromwell wrote to the General Assembly of the Church of Scotland:

“I beseech you, in the bowels of Christ, think it possible that you may be mistaken.”

In the 1980s, Bayesian statistician Dennis Lindley named Cromwell’s Rule after this plea. Look back at Bayes’ theorem from the Preface:

$$P(H \mid E) = \frac{P(E \mid H) P(H)}{P(E \mid H) P(H) + P(E \mid \neg H) (1 - P(H))}$$

What happens if an agent sets their prior probability to $P(H) = 0$ (or $P(H) = 1$)? Then no matter how overwhelming the empirical evidence $E$ is—even a billion black swans marching past the window!—multiplying by $P(H) = 0$ forces the posterior probability $P(H \mid E)$ to stay frozen at $0$ forever. Furthermore, under the logarithmic scoring rule $-\ln p$, assigning $p = 0$ to an event that subsequently occurs inflicts an infinite penalty ($\infty$).

Therefore, Prohibition 4 bans probabilities of $0%$ and $100%$ across the entire protocol. Every declared probability $p$ must lie strictly inside the Cromwell Corridor bounded by a declared base-rate floor $\varepsilon_{\text{floor}} \in (0, 0.05]$:

$$\varepsilon_{\text{floor}} \le p \le 1 - \varepsilon_{\text{floor}}$$

If any card or module attempts to declare $p = 0.0$, $p = 1.0$, or $p$ outside $[\varepsilon_{\text{floor}}, 1 - \varepsilon_{\text{floor}}]$, Gate G6 blocks execution with exit code 1 (--defect cromwell).

Part B: The Garden of Forking Paths, the Attempt Counter $K \ge 1$, and Findings Conservation

Why do so many published “statistically significant ($p < 0.05$)” findings fail to replicate when tested by an independent laboratory (John Ioannidis, 2005)?

Suppose a hundred analysts toss a fair coin $20$ times each, or one analyst tests $K = 50$ noisy predictors against a random target on a small validation set. Even when nothing is happening in the World ($L_1$), if you try $K = 20$ different feature combinations, outlier exclusions, or functional forms—what Andrew Gelman and Eric Loken called the Garden of Forking Paths—and report only the single best-looking run while hiding the $19$ failed attempts in a file drawer, the probability of finding a false positive climbs from $5%$ to $1 - (1 - 0.05)^{20} \approx 64%$!

Even more striking: in 2022, Nate Breznau and colleagues gave 73 independent research teams the exact same social-science dataset and the exact same hypothesis; the teams came back with confident estimates ranging from strongly negative to strongly positive, and over $95%$ of the variance across teams came from undeclared modeling choices along the bridge!

To make the file drawer visible and auditable, Prohibition 4 enforces three mandatory disclosures in data_and_audit_contract:

  1. The Attempt Counter ($K \ge 1$): Every card must declare attempt_counter_K—the total number of model specifications, hyperparameter sweeps, or threshold revisions attempted on the problem.
  2. Multiplicity-Adjusted Sequential Evidence (e-process $E_t$): The sequential likelihood ratio (e-process $E_t = \prod_{i=1}^t L_i$) is penalized by $1/K$ under Ville’s inequality (e_process_multiplicity $\ge 1.0$).
  3. Exact Findings Conservation (findings): Every card must declare three integers—registered (total hypotheses/atoms tested), used (retained in the final model), and unused (discarded)—satisfying the exact conservation law: $$\text{registered} = \text{used} + \text{unused}, \qquad \text{registered} \ge 1, \qquad \text{used} \ge 1$$
  4. Out-of-Sample Isotonic CORP-Murphy Audit: Every probabilistic forecast must report its out-of-sample PAV decomposition ($\mathrm{BS} = \mathrm{REL}_{\mathrm{CORP}} - \mathrm{RES}_{\mathrm{CORP}} + \mathrm{UNC}_0$).

Computational Audit in Rust

Test the enforcement of the Four Prohibitions directly through the epistemological gates and negative proofs:

cargo run --release --bin gates
cargo run --release --bin gates -- --defect cromwell
cargo run --release --bin gates -- --defect performativity

When --defect cromwell injects a dogmatic probability ($p = 0.0$ or $p = 1.0$) into a card, or when --defect performativity injects a divergent RRM loop ($r_{\mathrm{RRM}} \ge 1$), gates catches the violation and exits with code 1.

Exercises

  1. (Concept — Prohibition 1) Read the following prose statement from an engineering memo: “Our battery degradation neural network achieved an $R^2$ of $0.94$ on historical lab cycles, so we can safely extend the warranty to $10$ years.” List at least four mandatory fields of an EpistemologicalCard that are completely missing from this sentence.
  2. (Calculation — Prohibition 2) Suppose daily server latency penalty is $f(X) = X^3$, where daily traffic load $X$ takes values $1$, $2$, and $6$ with equal probability $1/3$. Compute $\mathbb{E}[X]$, $f(\mathbb{E}[X])$, $\mathbb{E}[f(X)]$, and Jensen’s Gap $\Delta_J$. By what factor does $f(\mathbb{E}[X])$ understate the true average penalty $\mathbb{E}[f(X)]$?
  3. (Calculation — Prohibition 4 & Multiplicity) If an analyst runs $K = 30$ independent hypothesis tests at significance level $\alpha = 0.05$ on pure noise where the null hypothesis is true in every single test, what is the probability $1 - (1 - 0.05)^{30}$ that at least one test crosses $p < 0.05$ by pure chance? How does declaring $K = 30$ and requiring $E_t / K \ge 1/\alpha$ protect the decision-maker?
  4. (Concept — Cromwell’s Rule) Why does assigning $P(H) = 0.9999$ behave completely differently under Bayes’ theorem from assigning $P(H) = 1.0000$ when a catastrophic counterexample arrives?
Analytical & Computational Solutions (Click to Expand)
  1. Prohibition 1 Missing Card Fields: The prose sentence omits: (a) the SHA-256 dataset and pre-registration hashes (dataset_sha256, preregistration_hash), (b) the true independent unit and Moulton-Campbell $n_{\mathrm{eff}}(p)$ across battery batches, (c) the 7-number NonlinearSummary ($\Delta_J, q_{05}, q_{95}, \mathrm{CRPS}$), (d) the cost-loss threshold $p^{\ast} = \frac{C}{\eta L}$, (e) the attempt counter $K \ge 1$ and discarded specifications, and (f) the numeric exit clause (exit_clause).
  2. Prohibition 2 Jensen’s Gap Calculation:
    • $\mathbb{E}[X] = \frac{1 + 2 + 6}{3} = 3.0$, so $f(\mathbb{E}[X]) = 3.0^3 = 27.0$.
    • $\mathbb{E}[f(X)] = \frac{1^3 + 2^3 + 6^3}{3} = \frac{1 + 8 + 216}{3} = \frac{225}{3} = 75.0$.
    • $\Delta_J = 75.0 - 27.0 = +48.0$. Reporting $f(\mathbb{E}[X]) = 27.0$ understates the true average penalty by a factor of $\frac{75}{27} \approx 2.78\times$.
  3. Prohibition 4 Multiplicity Calculation:
    • Family-wise false-positive rate: $1 - (0.95)^{30} \approx 1 - 0.2146 = 0.7854$ ($78.54%$ chance of at least one false discovery on pure noise!).
    • Penalizing the sequential e-process by $E_t / K \ge 1/\alpha$ requires $E_t \ge K/\alpha = 30 / 0.05 = 600$, preserving anytime-valid Type-I error $\le \alpha$ by union bound and Ville’s inequality.
  4. Cromwell’s Rule: When $P(H) = 1.0000$, $1 - P(H) = 0$, so Bayes’ denominator cannot update away from $H$ even after observing an event with tiny likelihood under $H$. When $P(H) = 0.9999$, prior odds are $9\text{,}999 : 1$, so two independent counterexamples with likelihood ratio $10^{-3}$ immediately flip posterior odds to $9.999 \times 10^{-3} : 1$ ($\approx 1%$ belief in $H$).

Summary

  • Prohibition 1 bans unstructured free prose between modules/agents, requiring all claims to travel as validated YAML EpistemologicalCard structs.
  • Prohibition 2 bans reporting a lone mean under nonlinearity, multiplicative compounding, or heavy tails, requiring the 7-number NonlinearSummary ($f(\mathbb{E}[X]), \mathbb{E}[f(X)], \Delta_J, \text{median}, q_{05}, q_{95}, \mathrm{CRPS}$).
  • Prohibition 3 bans equating passive predictive accuracy with causal or performative validity, requiring explicit separation of $\theta_{\mathrm{PS}}$ vs. $\theta_{\mathrm{PO}}$ and verification of $r_{\mathrm{RRM}} = \frac{\varepsilon\beta}{\gamma} < 1$.
  • Prohibition 4 bans dogmatic probabilities ($0%$ or $100%$, enforcing Cromwell’s Rule $p \in [\varepsilon_{\text{floor}}, 1 - \varepsilon_{\text{floor}}]$) and bans hiding failed trials in a file drawer (requiring $K \ge 1$, e-process $E_t$, $\text{registered} = \text{used} + \text{unused}$, and out-of-sample CORP-Murphy decomposition).