The Mechanism · Gated-generation receipt

gen-define-self-information-and-give-one-short-worked-example-f11d

stable pending witness
2026-05-29 05:59:48 UTC · anthropic/claude-sonnet-4-5

Prompt

Define self-information and give one short worked example.
58 chars

Generation

# Self-Information **Definition:** Self-information (or surprisal) measures the amount of information gained when observing a specific outcome of a random variable. For an event $A$ with probability $P(A)$, the self-information is: $$I(A) = -\log_2 P(A) = \log_2 \frac{1}{P(A)}$$ measured in bits (when using log base 2). **Key intuition:** Rare events carry more information than common events. ## Worked Example Consider flipping a fair coin that lands heads. - Probability: $P(\text{Heads}) = 0.5$ - Self-information: $$I(\text{Heads}) = -\log_2(0.5) = \log_2(2) = 1 \text{ bit}$$ This means observing heads from a fair coin provides exactly **1 bit** of information. **Contrast:** If the coin were biased with $P(\text{Heads}) = 0.99$: $$I(\text{Heads}) = -\log_2(0.99) \approx 0.014 \text{ bits}$$ The common outcome (heads from a biased coin) provides very little information, while the rare outcome would provide much more.
18 tokens in · 307 tokens out · 7446 ms · $0.0047

The four gates

RED
pass
no disqualifying input patterns detected
FLOOR
pass
output above protective minimum; no mismatches
WAY
pass
no declared way_path (Way check NA); no coercion language
EXECUTION
deferred
no witnesses available (Witness Roll not yet constituted)

Verifier results

scripture_anchors NOT_APPLICABLE
0 Scripture citation(s) extracted
theology_doctrine NOT_APPLICABLE
no doctrine keyword patterns detected

Metrics

Total latency
7455.0 ms
Base LLM
7445.6 ms
Verifiers
0.2 ms
Gates
0.1 ms
Cost
$0.0047

Trail

05:59:48 received prompt_chars=58 verifiers=['scripture_anchors', 'theology_doctrine']
05:59:48 red_gate decision=pass reason=no disqualifying input patterns detected
05:59:55 base_llm_call model=anthropic/claude-sonnet-4-5 tokens_in=18 tokens_out=307 latency_ms=7445.6 cost_usd=0.0047
05:59:55 verifier:scripture_anchors verdict=NOT_APPLICABLE summary=0 Scripture citation(s) extracted
05:59:55 verifier:theology_doctrine verdict=NOT_APPLICABLE summary=no doctrine keyword patterns detected
05:59:55 floor_gate decision=pass reason=output above protective minimum; no mismatches
05:59:55 way_gate decision=pass reason=no declared way_path (Way check NA); no coercion language
05:59:55 execution_gate decision=deferred reason=no witnesses available (Witness Roll not yet constituted)
05:59:55 signed hash_algo=sha256 hash=sha256:2dafb0edd22ceee0d869a68ba029edb9657fbd013f5c5791fd89207e3759995c

Content hash

sha256:2dafb0edd22ceee0d869a68ba029edb9657fbd013f5c5791fd89207e3759995c

SHA256 over the canonical JSON (excluding this field). Tamper detection. Ed25519 signing planned for v2 once the operator’s signing key is provisioned on disk.

Bring another teaching · Run a discernment