jcb stwsk

Computational geology

What the original synthetic experiment measured

The first simulation was deliberately small: 80 epochs of 2016 heights, or 161,280 observations, with 40 trials in each of two worlds. It tested one ultra-deep-discard policy. It did not test all ways a miner could manipulate candidate state.

World A used iid uniform samples. World B multiplied uniform luck by an exogenous, clamped lognormal target path. Honest and attacked runs were coupled. The attacker had monopoly redraw power: when a sample would update the relevant frontier and was below bar/1000, it could be discarded, with up to 20 resamples.

This was not Bitcoin consensus retargeting, a historical chain scan or a hashrate-profit model. It did not start from the empirical current frontier. Its G1/G2 labels are candidate aliases, unrelated to the later Git theory criteria G1–G8.

Recorded mean count changes

World A: raw records +0.075; C1 +2.300; C2/C3 −0.025; C4 +0.100; C8 0; C10 0.

World B: raw records +0.100; C1 +1.600; C2/C3 +0.025; C4 +0.275; C8 +0.025; C10 0.

C2 and C3 had identical counts on all 40 trials in both honest and attacked runs, as expected from their fixed-history identity. C1 produced the most consistent positive gains under this particular policy. C4 had a World B maximum difference of 11, showing how a small mean can hide a rare large pathwise result.

What zero did not establish

A zero mean delta for C10 in 40 short rare-event trials does not establish zero elasticity. The policy ignored post-cross suppression and the non-qualifying-minimum hole. It did not model ownership competition, fork races, realistic opportunity costs or economic profitability.

The retained program includes the individual candidate simulators, coupling logic, analytic comparators, unit tests and output aggregation. Appendix C contains the complete historical code; Appendix B contains full output. Those artifacts were reproduced, not rerun, in the compilation. The public archival transcript preserves them for inspection, but PDF line wrapping means it should not be treated as a ready-to-run source file.

The experiment’s strongest result is methodological: a policy needs to match the candidate’s actual state update. Testing only the old all-time-minimum attack can miss a cheaper attack on the new rule.

Source and attribution

Adapted from Geology — work to date, compiled November 8, 2026, PDF pages 21–34. Underlying work: Geology original simulation, output and code, seed 20260902. This is a historical research account, not a new experiment or a current deployment report.

Editorial caution: These are retained historical results, not newly reproduced measurements or evidence that the candidates were secure.

Historical source: full original output and simulation program

The following is the historical filing, retained so the technical work is available in full. Its author and original claim labels are preserved. The corrected article above and the November 8 correction register govern any conflict. These excerpts are evidence of what was written, not a new endorsement or independent verification. PDF-extracted equations, tables and code retain line wrapping; code is a readable historical transcription, not a certified runnable source file.

Source: Geology — work to date, PDF pages 23–34.

PDF PAGE 23

B — Original simulation output
Attribution: Geology

Source: sim-elasticity-001.txt

SHA-256: 87daa6178b2d329fc655c5545a37754e2cc48d4f4a15130c656645370bc78863

GoldAtom/1     creation-through-suppression (count elasticity)

Pure synthetic Monte Carlo. No Bitcoin extraction, no keys, GoldAtom/0 untouched.


N=161280 heights       (80 epochs x W=2016)    trials=40 per world

seed=20260902     attacker: monopoly, discard if updates frontier AND hash < bar/1000

resample up to 20 times then accept

World A: H_h = U_h ~ Unif(0,1)

World B: T_0=1, T_{e+1}=T_e*clip(exp(0.05*Z_e),0.25,4), Z_e~N(0.3,1); H_h=U_h*T_{e(h)}

Coupled trials: attacker first-candidate is the honest hash; extras independent.

wall_clock_s=81.0

World B T_79 over trials: mean=3.887 median=3.403 min=1.161 max=9.278


World A (normalized i.i.d. Unif)

predicate                mean_honest   mean_attacker    mean_delta   max_delta   n_pos   n_neg

RAW_RECORD                   12.7000          12.7750       0.0750          3        1       0

G1_EPOCH_LR                 571.8750        574.1750        2.3000         13       17       1

G2_CROSS_EPOCH               39.6000          39.5750      -0.0250          0        0       1

G3_FIRST_CROSS               39.6000          39.5750      -0.0250          0        0       1

G4_ORDER2                    22.7250          22.8250       0.1000          4        1       0

G8_TWO_LOOKBACK              26.4250          26.4250       0.0000          0        0       0

G10_EPOCH_ORDER2              6.9500           6.9500       0.0000          0        0       0


G2 vs G3: honest counts match on 40/40 trials (YES all equal). attacker counts match on 40/40 trials

 (separate resample streams; G2≡G3 on a shared hash chain).


World B (raw, trending difficulty)

predicate                mean_honest   mean_attacker    mean_delta   max_delta   n_pos   n_neg

RAW_RECORD                   11.4500          11.5500       0.1000          4        1       0

G1_EPOCH_LR                 577.4500        579.0500        1.6000          9       15       1

G2_CROSS_EPOCH               39.3500          39.3750       0.0250          1        1       0

G3_FIRST_CROSS               39.3500          39.3750       0.0250          1        1       0

G4_ORDER2                    21.2250          21.5000       0.2750         11        1       0

G8_TWO_LOOKBACK              25.8000          25.8250       0.0250          1        1       0

G10_EPOCH_ORDER2              5.9250           5.9250       0.0000          0        0       0


G2 vs G3: honest counts match on 40/40 trials (YES all equal). attacker counts match on 40/40 trials

 (separate resample streams; G2≡G3 on a shared hash chain).


World A honest analytic (i.i.d. continuous; empirical is the result):

  H_N=12.568116     H_W=8.186334    H_80=4.965479

  RAW_RECORD              theory=12.5681    empirical_honest=12.7000

  G1_EPOCH_LR             theory=574.9067   empirical_honest=571.8750

  G2_CROSS_EPOCH          theory=39.5000    empirical_honest=39.6000

  G3_FIRST_CROSS          theory=39.5000    empirical_honest=39.6000

  G4_ORDER2               theory=22.1362    empirical_honest=22.7250

  G8_TWO_LOOKBACK         theory=26.0000    empirical_honest=26.4250


PDF PAGE 24

  G10_EPOCH_ORDER2    theory=6.9310   empirical_honest=6.9500


RAW_RECORD remaining-expectation given current F over finite N is not closed form;

numbers above are empirical. Infinite-horizon record theory: E[count]=H_N.


Interpretation: mean_delta = mean(attacker_count - honest_count) is creation

via refusing ultra-deep frontier updates (bar/1000) and resampling.

Positive delta: suppression created extra deposits. max_delta is worst trial.


PDF PAGE 25

C — Original simulation code
Attribution: Geology

Source: sim_elasticity_001.py

SHA-256: 5fd50c7cc4612c2ad2f885b8ea975ecd7339b2164b13bcf7a782f5867928ce62

#!/usr/bin/env python3

"""GoldAtom/1: creation-through-suppression count elasticity.


Pure Monte Carlo on synthetic Uniform hashes. No chain extraction,

no GoldAtom/0 modifications, no keys.

"""

from __future__ import annotations


import csv

import math

import time

from pathlib import Path


import numpy as np


W = 2016

N_EPOCHS = 80

N = W * N_EPOCHS       # 161280

N_TRIALS = 40

MAX_RESAMPLE = 20

DEPTH_DIV = 1000.0

SEED = 20260902


PREDICATES = [

      "RAW_RECORD",

      "G1_EPOCH_LR",

      "G2_CROSS_EPOCH",

      "G3_FIRST_CROSS",

      "G4_ORDER2",

      "G8_TWO_LOOKBACK",

      "G10_EPOCH_ORDER2",

]


INF = math.inf

OUT_DIR = Path("goldatom")


def harmonic(n: int) -> float:

      # H_n for moderate n; exact-enough via numpy

      return float(np.sum(1.0 / np.arange(1, n + 1, dtype=np.float64)))


def second_smallest(vals: list[float]) -> float:

      a = INF

      b = INF

      for x in vals:


PDF PAGE 26

          if x < a:

               b = a

               a = x

          elif x < b:

               b = x

    return b


def maybe_suppress(x: float, scale: float, bar: float | None, frontier: float, rng) -> float:

    """If bar is set and x would update frontier AND x < bar/1000, resample.


    Up to MAX_RESAMPLE discards, then accept the last draw.

    """

    if bar is None:

          return x

    thr = bar / DEPTH_DIV

    for k in range(MAX_RESAMPLE):

          if not (x < frontier and x < thr):

               return x

          x = rng.random() * scale

    return x


def generate_world(rng: np.random.Generator, world: str):

    U = rng.random(N)

    T = np.empty(N_EPOCHS, dtype=np.float64)

    T[0] = 1.0

    if world == "B":

          Z = rng.normal(0.3, 1.0, size=N_EPOCHS - 1)

          r = np.clip(np.exp(0.05 * Z), 0.25, 4.0)

          T[1:] = T[0] * np.cumprod(r)

    else:

          T[1:] = 1.0

    scale = np.repeat(T, W)

    return U, T, scale


def sim_raw_record(U, scale, attack, rng) -> int:

    F = INF

    count = 0

    for h in range(N):

          s = scale[h]

          x = U[h] * s

          if attack:

               bar = None if F is INF else F

               x = maybe_suppress(x, s, bar, F, rng)

          if x < F:

               count += 1

               F = x

    return count


PDF PAGE 27

def sim_g1_epoch_lr(U, scale, attack, rng) -> int:

    count = 0

    F = INF

    for h in range(N):

        if h % W == 0:

              F = INF   # reset each epoch; first block initializes, no deposit

        s = scale[h]

        x = U[h] * s

        if attack:

              bar = None if F is INF else F

              x = maybe_suppress(x, s, bar, F, rng)

        if F is INF:

              F = x   # initialize, do not deposit

        elif x < F:

              count += 1

              F = x

    return count


def sim_g2_cross_epoch(U, scale, attack, rng) -> int:

    count = 0

    prev_m = INF

    run_m = INF

    for h in range(N):

        e = h // W

        if h % W == 0:

              run_m = INF

        s = scale[h]

        x = U[h] * s

        if attack:

              bar = None if e < 1 else prev_m

              x = maybe_suppress(x, s, bar, run_m, rng)

        if x < run_m:

              run_m = x

        if h % W == W - 1:

              # epoch closes

              if e >= 1 and run_m < prev_m:

                   count += 1

              prev_m = run_m

    return count


def sim_g3_first_cross(U, scale, attack, rng) -> int:

    count = 0

    prev_m = INF

    run_m = INF

    deposited = False

    for h in range(N):

        e = h // W

        if h % W == 0:

              run_m = INF

              deposited = False


PDF PAGE 28

        s = scale[h]

        x = U[h] * s

        if attack:

               # same suppression as G2: refuse ultra-deep epoch-min updates vs m_{e-1}

               bar = None if e < 1 else prev_m

               x = maybe_suppress(x, s, bar, run_m, rng)

        if x < run_m:

               run_m = x

        if e >= 1 and (not deposited) and x < prev_m:

               count += 1

               deposited = True

        if h % W == W - 1:

               prev_m = run_m

    return count


def sim_g4_order2(U, scale, attack, rng) -> int:

    F1 = INF

    F2 = INF

    count = 0

    for h in range(N):

        s = scale[h]

        x = U[h] * s

        if attack:

               bar = None if F2 is INF else F2

               x = maybe_suppress(x, s, bar, F2, rng)

        if F2 is not INF and x < F2:

               count += 1

        # update order stats

        if x < F1:

               F2 = F1

               F1 = x

        elif x < F2:

               F2 = x

    return count


def sim_g8_two_lookback(U, scale, attack, rng) -> int:

    count = 0

    m_hist: list[float] = []

    run_m = INF

    for h in range(N):

        e = h // W

        if h % W == 0:

               run_m = INF

        s = scale[h]

        x = U[h] * s

        if attack:

               if e >= 2:

                   bar = min(m_hist[e - 1], m_hist[e - 2])

               else:

                   bar = None


PDF PAGE 29

            x = maybe_suppress(x, s, bar, run_m, rng)

        if x < run_m:

            run_m = x

        if h % W == W - 1:

            m_hist.append(run_m)

            if e >= 2 and run_m < min(m_hist[e - 1], m_hist[e - 2]):

                   count += 1

    return count


def sim_g10_epoch_order2(U, scale, attack, rng) -> int:

    count = 0

    m_hist: list[float] = []

    run_m = INF

    for h in range(N):

        e = h // W

        if h % W == 0:

            run_m = INF

        s = scale[h]

        x = U[h] * s

        if attack:

            if e >= 2:

                   bar = second_smallest(m_hist)   # of {m_0..m_{e-1}}

            else:

                   bar = None

            x = maybe_suppress(x, s, bar, run_m, rng)

        if x < run_m:

            run_m = x

        if h % W == W - 1:

            if e >= 2:

                   bar_close = second_smallest(m_hist)

                   if run_m < bar_close:

                       count += 1

            m_hist.append(run_m)

    return count


SIMULATORS = {

    "RAW_RECORD": sim_raw_record,

    "G1_EPOCH_LR": sim_g1_epoch_lr,

    "G2_CROSS_EPOCH": sim_g2_cross_epoch,

    "G3_FIRST_CROSS": sim_g3_first_cross,

    "G4_ORDER2": sim_g4_order2,

    "G8_TWO_LOOKBACK": sim_g8_two_lookback,

    "G10_EPOCH_ORDER2": sim_g10_epoch_order2,

}


def unit_tests() -> None:

    """Tiny handmade chain + G2/G3 equivalence on a short random run."""

    # RAW / G4 / G1 / G2 / G3 on 4 hashes, W patched locally via logic re-check

    H = np.array([0.5, 0.6, 0.4, 0.1], dtype=np.float64)


PDF PAGE 30

    # RAW

    F = INF

    c = 0

    for x in H:

           if x < F:

               c += 1

               F = x

    assert c == 3, c


    # G4

    F1 = F2 = INF

    c = 0

    for x in H:

           if F2 is not INF and x < F2:

               c += 1

           if x < F1:

               F2 = F1

               F1 = x

           elif x < F2:

               F2 = x

    assert c == 2, c


    # G2 == G3 on a random short world using the real simulators with N,W

    rng = np.random.default_rng(1)

    U = rng.random(N)

    scale = np.ones(N)

    c2 = sim_g2_cross_epoch(U, scale, False, None)

    c3 = sim_g3_first_cross(U, scale, False, None)

    assert c2 == c3, (c2, c3)


    # attacker G2 vs G3 with same extra rng stream should match if we re-seed

    rng_a = np.random.default_rng(99)

    a2 = sim_g2_cross_epoch(U, scale, True, rng_a)

    rng_a = np.random.default_rng(99)

    a3 = sim_g3_first_cross(U, scale, True, rng_a)

    assert a2 == a3, (a2, a3)


    # G8/G10 range

    c8 = sim_g8_two_lookback(U, scale, False, None)

    c10 = sim_g10_epoch_order2(U, scale, False, None)

    assert 0 <= c8 <= 78

    assert 0 <= c10 <= 78


    # World A honest RAW should be close to H_N on this one draw (loose)

    raw = sim_raw_record(U, scale, False, None)

    assert 4 <= raw <= 30, raw


    # G1: records-minus-1 per epoch

    g1 = sim_g1_epoch_lr(U, scale, False, None)

    assert g1 > 100, g1


    print("unit tests passed", {"g2": c2, "g1": g1, "raw": raw, "g8": c8, "g10": c10, "a2": a2})


PDF PAGE 31

def theory_world_a() -> dict[str, float]:

    HN = harmonic(N)

    HW = harmonic(W)

    H80 = harmonic(N_EPOCHS)

    return {

        "RAW_RECORD": HN,       # E[# L-R minima] = H_N

        "G1_EPOCH_LR": N_EPOCHS * (HW - 1.0),

        "G2_CROSS_EPOCH": (N_EPOCHS - 1) / 2.0,

        "G3_FIRST_CROSS": (N_EPOCHS - 1) / 2.0,

        "G4_ORDER2": 2.0 * (HN - 1.5),         # deposits from h>=2, P=2/(h+1)

        "G8_TWO_LOOKBACK": (N_EPOCHS - 2) / 3.0,

        "G10_EPOCH_ORDER2": 2.0 * (H80 - 1.5),

    }


def run_all() -> tuple[list[dict], dict]:

    rows = []

    # diagnostics

    T_finals = []

    t0 = time.time()

    for world in ("A", "B"):

        w_off = 0 if world == "A" else 10_000

        for trial in range(N_TRIALS):

               rng = np.random.default_rng(SEED + w_off + trial)

               U, T, scale = generate_world(rng, world)

               if world == "B":

                   T_finals.append(float(T[-1]))

               honest = {}

               attacker = {}

               for i, pred in enumerate(PREDICATES):

                   fn = SIMULATORS[pred]

                   honest[pred] = fn(U, scale, False, None)

                   rng_att = np.random.default_rng(SEED + w_off + trial + 1_000_000 * (i + 1))

                   attacker[pred] = fn(U, scale, True, rng_att)

                   rows.append(

                       {

                             "world": world,

                             "trial": trial,

                             "predicate": pred,

                             "honest_count": honest[pred],

                             "attacker_count": attacker[pred],

                             "delta": attacker[pred] - honest[pred],

                       }

                   )

               if trial % 10 == 0 or trial == N_TRIALS - 1:

                   print(

                       f"    world {world} trial {trial}/{N_TRIALS-1} "

                       f"RAW hon={honest['RAW_RECORD']} att={attacker['RAW_RECORD']} "

                       f"G2h={honest['G2_CROSS_EPOCH']} G3h={honest['G3_FIRST_CROSS']} "

                       f"elapsed={time.time()-t0:.1f}s",


PDF PAGE 32

                       flush=True,

                   )

    meta = {

        "elapsed_s": time.time() - t0,

        "T_final_mean": float(np.mean(T_finals)) if T_finals else None,

        "T_final_median": float(np.median(T_finals)) if T_finals else None,

        "T_final_min": float(np.min(T_finals)) if T_finals else None,

        "T_final_max": float(np.max(T_finals)) if T_finals else None,

    }

    return rows, meta


def summarize(rows: list[dict], meta: dict) -> str:

    theo = theory_world_a()

    lines = []

    lines.append("GoldAtom/1       creation-through-suppression (count elasticity)")

    lines.append("Pure synthetic Monte Carlo. No Bitcoin extraction, no keys, GoldAtom/0

untouched.")

    lines.append("")

    lines.append(f"N={N} heights      ({N_EPOCHS} epochs x W={W})   trials={N_TRIALS} per world")

    lines.append(f"seed={SEED}       attacker: monopoly, discard if updates frontier AND hash <

bar/{int(DEPTH_DIV)}")

    lines.append(f"resample up to {MAX_RESAMPLE} times then accept")

    lines.append("World A: H_h = U_h ~ Unif(0,1)")

    lines.append("World B: T_0=1, T_{e+1}=T_e*clip(exp(0.05*Z_e),0.25,4), Z_e~N(0.3,1);

H_h=U_h*T_{e(h)}")

    lines.append("Coupled trials: attacker first-candidate is the honest hash; extras independent.")

    lines.append(f"wall_clock_s={meta['elapsed_s']:.1f}")

    if meta["T_final_mean"] is not None:

        lines.append(

               "World B T_79 over trials: "

               f"mean={meta['T_final_mean']:.4g} median={meta['T_final_median']:.4g} "

               f"min={meta['T_final_min']:.4g} max={meta['T_final_max']:.4g}"

        )

    lines.append("")


    def fmt(x: float) -> str:

        if abs(x - round(x)) < 1e-12 and abs(x) >= 1:

               return f"{x:.4f}"

        return f"{x:.4f}"


    for world in ("A", "B"):

        title = "World A (normalized i.i.d. Unif)" if world == "A" else "World B (raw, trending

difficulty)"

        lines.append(title)

        lines.append(

               f"{'predicate':<18} {'mean_honest':>12} {'mean_attacker':>14} "

               f"{'mean_delta':>11} {'max_delta':>10} {'n_pos':>6} {'n_neg':>6}"

        )

        wr = [r for r in rows if r["world"] == world]

        for pred in PREDICATES:

               pr = [r for r in wr if r["predicate"] == pred]


PDF PAGE 33

              hon = np.array([r["honest_count"] for r in pr], dtype=float)

              att = np.array([r["attacker_count"] for r in pr], dtype=float)

              d = att - hon

              n_pos = int(np.sum(d > 0))

              n_neg = int(np.sum(d < 0))

              lines.append(

                  f"{pred:<18} {hon.mean():12.4f} {att.mean():14.4f} "

                  f"{d.mean():11.4f} {d.max():10.0f} {n_pos:6d} {n_neg:6d}"

              )

          lines.append("")


          # G2 vs G3 match

          g2h = [r["honest_count"] for r in wr if r["predicate"] == "G2_CROSS_EPOCH"]

          g3h = [r["honest_count"] for r in wr if r["predicate"] == "G3_FIRST_CROSS"]

          g2a = [r["attacker_count"] for r in wr if r["predicate"] == "G2_CROSS_EPOCH"]

          g3a = [r["attacker_count"] for r in wr if r["predicate"] == "G3_FIRST_CROSS"]

          match_h = g2h == g3h

          # attacker streams differ per predicate seed, so counts may differ even

          # though the predicates are equivalent on a shared chain. Report both.

          match_a_same_chain = False   # not same chain

          n_match_h = sum(a == b for a, b in zip(g2h, g3h))

          n_match_a = sum(a == b for a, b in zip(g2a, g3a))

          lines.append(

              f"G2 vs G3: honest counts match on {n_match_h}/{N_TRIALS} trials "

              f"({'YES all equal' if match_h else 'NO'}). "

              f"attacker counts match on {n_match_a}/{N_TRIALS} trials "

              f"(separate resample streams; G2≡G3 on a shared hash chain)."

          )

          lines.append("")


    lines.append("World A honest analytic (i.i.d. continuous; empirical is the result):")

    HN = harmonic(N)

    lines.append(f"    H_N={HN:.6f}    H_W={harmonic(W):.6f}   H_80={harmonic(N_EPOCHS):.6f}")

    wrA = [r for r in rows if r["world"] == "A"]

    for pred in PREDICATES:

          pr = [r for r in wrA if r["predicate"] == pred]

          hon = np.mean([r["honest_count"] for r in pr])

          lines.append(f"    {pred:<18} theory={theo[pred]:.4f}   empirical_honest={hon:.4f}")

    lines.append("")

    lines.append("RAW_RECORD remaining-expectation given current F over finite N is not closed

form;")

    lines.append("numbers above are empirical. Infinite-horizon record theory: E[count]=H_N.")

    lines.append("")

    lines.append("Interpretation: mean_delta = mean(attacker_count - honest_count) is creation")

    lines.append("via refusing ultra-deep frontier updates (bar/1000) and resampling.")

    lines.append("Positive delta: suppression created extra deposits. max_delta is worst trial.")

    lines.append("")

    return "\n".join(lines) + "\n"


def main():

    print("running unit tests...", flush=True)


PDF PAGE 34

    unit_tests()

    print("running Monte Carlo...", flush=True)

    rows, meta = run_all()

    text = summarize(rows, meta)

    OUT_DIR.mkdir(parents=True, exist_ok=True)

    txt_path = OUT_DIR / "sim-elasticity-001.txt"

    csv_path = OUT_DIR / "sim-elasticity-001.csv"

    txt_path.write_text(text)

    with csv_path.open("w", newline="") as f:

        w = csv.DictWriter(

             f,

             fieldnames=["world", "trial", "predicate", "honest_count", "attacker_count", "delta"],

        )

        w.writeheader()

        w.writerows(rows)

    print(text)

    print(f"wrote {txt_path}")

    print(f"wrote {csv_path}")


if __name__ == "__main__":

    main()

Geology — work to date · PDF pages 21–34, 23–34

Follow the connections

See this note on the map →