interplane.Get Omega
Read in your language

physics-mv

FORGE: request-bound machine realization, providers and verification for AienOS. Host, simulated and GB10 hardware paths have separate evidence.

Brought by drakestapleton

branch main Branches Tags History

physics-mv / docs / PD0_HIDDEN_EQUATION_BENCHMARK.md

372 lines · 37668 bytes Raw Blame History Source

PD-0: HIDDEN-EQUATION BENCHMARK

Status: DRAFT, docs only. Part of PHYSICS0_DISCOVERY_ENGINE.md. No code exists yet. Every threshold below is a frozen initial value that no one has yet run a reference solver against; see section 11 for what must happen before any learner is scored. Language: Rust or C per the host repository's toolchain (the first implementation is C in omega, ADR 0024 toolchain clause); wire formats unchanged. Wire conventions: little-endian, fixed-width integers, no floating point in any canonical byte, fractions as integers. This copies the rule of docs/FORGE_SUBSTRATE_V2_SPEC.md:42-45.


1. What PD-0 tests

A learner is given a black box: a dynamical system whose equations it cannot see. It may reset the box to a chosen starting state, apply bounded pushes, and read back measurements, within a fixed budget. It must produce a compact written relation that predicts the box on situations it has not seen, and it must reach that relation through the law ladder (section 5), not by curve fit alone. A relation that fits but is not compact, or that was not tested by deliberate experiments, does not pass.

PD-0 is a plumbing and validity benchmark. It is not a blind scientific test, because the generators are written in this public repository (section 2.4). PD-0 makes no scientific claim.

2. Black-box world interface

2.1 Number format

All world values are signed 64-bit integers in micro-units (1 unit = 1_000_000). Product rescale: mul(a, b) = (a * b) / 1_000_000, computed in 128-bit, truncating toward zero. Division by a constant uses the same truncation. Every generator below is exact integer arithmetic, so a world run is bit-reproducible from its seed on any machine.

2.2 What the learner is told (the describe record)

FieldTypeMeaning
magic8 bytesPD0DESC2
n_obsu8number of observed variables (labels s0, s1, ...)
n_channelsu8number of intervention channels (labels c0, ...)
dt_microi64time per tick, micro-units
chan_min[n_channels], chan_max[n_channels]i64inclusive intervention bounds
reset_min[n_obs], reset_max[n_obs]i64 eachinclusive reset box per observed variable
episode_max_stepsu32steps per episode: 20 for L0, 100 for L1 to L6
budget_stepsu32total steps for this world instance
budget_episodesu32total resets for this world instance

Readers refuse PD0DESC1. Revision 4: the single pair could not express the L0 reset box for s1 (omega #248 limit). The learner is not told: the level number, the generator, any constant, the number or existence of hidden variables, the noise level, or the seed. The describe record has no free-text field.

2.3 Calls

Three calls, as a language-neutral byte protocol over a pipe or socket between two processes (world process and learner process). A Rust trait is an implementation detail, not the contract.

CallRequestEffectCharged
describenonereturns the describe recordfree
resetn_obs values, each in [reset_min, reset_max]starts a new episode with that observed state, hidden variables set to 0; returns the first observation1 episode
stepchannel u8 (255 = none, i.e. passive), value i64applies the intervention for one tick; returns one observation record1 step

Bounded intervention rules:

2.4 No access to the generating equations

2.5 Observation record (PD0REC1)

One record per reset or step. This is what PHYSICS (the stand-in recorder in PD-0) writes and Cortex retains. The learner can only read it.

OffsetFieldTypeMeaning
0magic8 bytesPD0REC1\0
8versionu161; readers refuse other values
10n_obsu8observed variables
11statusu80 OK, 1 REFUSED_RANGE, 2 OUT_OF_BOUNDS, 3 EPISODE_END, 4 BUDGET_EXHAUSTED
12kindu80 reset, 1 step
13channelu8channel driven, 255 none
14reserved2 byteszero
16sequ64global record number from 0
24episodeu32episode number from 0
28step_in_episodeu320 at reset
32time_microi64step_in_episode * dt_micro (the time variable)
40requestedi64intervention value as requested
48appliedi64value actually applied (equals requested unless refused, then 0)
56vars_before[n_obs]i64 eachobserved variables before the step (the "variables")
thenvars_after[n_obs]i64 eachobserved variables after the step (the "outcome"); equals vars_before if refused
thenprev_hash32 bytesrecord_hash of record seq-1; all zero for seq 0
thenrecord_hash32 bytesSHA-256 of every preceding byte of this record

The primitive the learner trains on is (vars_before, applied) -> vars_after. Hidden variables never appear in a record. In a reset record, vars_before equals vars_after equals the reset values.

A reader recomputes the chain on load and refuses a broken chain. An unknown version is refused.

3. Randomness

4. Level ladder and hidden generators

Notation: s observed state, u the applied intervention on the channel named, dt = dt_micro. All updates use the old state on the right side (explicit Euler, simultaneous update). All generators are discrete maps: the hidden law is the map written here, not the continuous differential equation it resembles, and the map's effective coefficients are what a learner must recover. * means mul. Variables are s0, s1, .... The equation text below appears only here and in the world crate. The learner never sees it.

LevelNameObservedHiddenChannelsdtIntervention boundsInstance budget
L0kinematicss0, s1nonec01.0[-0.1, 0.1]3000 steps, 150 episodes of 20 steps
L1spring (k in [1.0, 4.0])s0, s1nonec00.05[-2.0, 2.0]3000 steps, 300 episodes
L2damped springs0, s1nonec00.05[-2.0, 2.0]3000 steps, 300 episodes
L3coupled oscillatorss0 to s3nonec0, c10.05[-2.0, 2.0] each3000 steps, 300 episodes
L4nonlinear springs0, s1nonec00.05[-2.0, 2.0]3000 steps, 300 episodes
L5noisy observationss0, s1nonec00.05[-2.0, 2.0]8000 steps, 300 episodes
L6hidden variables0, s1hc00.05[-2.0, 2.0]8000 steps, 300 episodes

Reset box: each observed variable in [-2.0, 2.0] (the training box), except L0 s1, which is in [-0.2, 0.2] (s0 stays [-2.0, 2.0]), and L4, where both variables are in [-1.0, 1.0] (revision 3, calibration 2026-10-04).

4.1 Generators

L0 kinematics. No constants. s0' = s0 + s1, s1' = s1 + u. Revision 3: episode_max_steps is 20, the instance budget is 3000 steps (150 episodes), the reset box for s1 is [-0.2, 0.2] (s0 stays [-2, 2]), and the push range is [-0.1, 0.1]. (Drake's form: x(t+1) = x + v, v(t+1) = v + a, with a the intervention.)

L1 spring. Constant k in [1.0, 4.0] (capped so explicit-Euler amplitude growth over 100 steps stays under 1.5x; review B1). s0' = s0 + s1 * dt s1' = s1 + (-(k * s0) + u) * dt

L2 damped spring. Constants drawn in order: k in [1.0, 9.0], c in [0.2, 2.0]. s0' = s0 + s1 * dt s1' = s1 + (-(k * s0) - (c * s1) + u) * dt

L3 coupled oscillators. Constants in order: k in [1.0, 4.0], g in [0.5, 2.0]. Channel c0 pushes s1, channel c1 pushes s3; the undriven channel is 0. s0' = s0 + s1 * dt s1' = s1 + (-(k * s0) + g * (s2 - s0) + u0) * dt s2' = s2 + s3 * dt s3' = s3 + (-(k * s2) - g * (s2 - s0) + u1) * dt

L4 nonlinear spring (cubic). Constants in order: k in [1.0, 4.0], b in [0.5, 2.0]. Reset box [-1.0, 1.0] for both variables (revision 3). s0' = s0 + s1 * dt s1' = s1 + (-(k * s0) - b * (s0 * s0 * s0) + u) * dt

L5 noisy observations. The L2 world (constants drawn the same way) with measurement noise: the learner sees s_obs = s + e for each observed variable, e from the "noise" stream with sigma_obs = 0.02 (20_000 micro). The underlying state evolves noise-free. Noise applies to every observation including reset records.

L6 hidden variable. Constants in order: k in [3, 5], w in [0.5, 1.0], m in [1.0, 2.0], q in [1.0, 2.0] (revision 3; order of drawing is k, w, m, q). Deterministic rule: after drawing k, w, m, q in order, while mq/w > 0.7k redraw m then q from the same stream; the redraw count is recorded in the instance receipt; an instance that reaches 1000 redraws is invalid and the seed is skipped and recorded. Hidden h, 0 at every reset. s0' = s0 + s1 * dt s1' = s1 + (-(k * s0) + m * h + u) * dt h' = h + (-(w * h) + q * s0) * dt Only s0, s1 are observed. The scale of h is not identifiable, so no coefficient involving h is scored (section 6.3).

4.2 Level validity checks (builder must run and record before any learner is scored)

Measured V3 breach rate (worst seed) for the revision 3 parameters, measured 2026-10-04, seeds 1..20, omega commit 652670378a71f8fafbc85e21e83d880f76450d23 (the latest omega main commit touching docs/physics0/CALIBRATION.md, which itself records no hash for its run):

LevelL0L1L2L3L4L5L6
Worst-seed breach rate0.020000.032000

5. The law ladder (state machine)

States, in order:

OBSERVATION -> CORRELATION -> CANDIDATE -> HYPOTHESIS -> PREDICTED
            -> INTERVENED -> REPLICATED -> PROVISIONAL_LAW
side states: REFUTED (kills one hypothesis), REJECTED (nothing found)

A transition happens only when every item of its evidence list exists as recorded, hash-referenced data. The learner proposes; the scorer-side ladder checker (part of the harness, outside the learner) decides. A transition the checker cannot verify does not happen.

Data splits. Every record the learner has ever seen is tagged by the checker as FIT (60% of episodes), SELECT (20%, model selection only) or HOLDOUT-0 (20%, never used for fitting or selection). Records gathered after a prediction is registered are new, tagged TRIAL. Records gathered for replication are tagged REP and may never have influenced any fit. The harness, not the learner, holds the split. The learner process receives only FIT and SELECT records. HOLDOUT-0, TRIAL and REP records are delivered to the learner only as scorer verdicts (pass/fail, error), never as raw vars_after, until the instance is closed (overview invariant I10).

#TransitionEvidence requiredFailure path
T1start -> OBSERVATIONat least 100 PD0REC1 records with status = OK from at least 5 episodes, chain verifiedstay; gather more
T2OBSERVATION -> CORRELATIONat least one pair (a variable or the applied intervention at time t, a one-step change of an observed variable) with absolute Pearson correlation at least 0.3 over at least 100 records, and permutation-test p <= 0.01 after Bonferroni correction over all pairs tested, using at least 2000 shuffles with a recorded shuffle seedstay; gather more; if the budget is spent, REJECTED Self pairs are excluded: a variable is not tested against its own one-step change, because regression to the mean produces a spurious correlation in a world where nothing depends on anything (revision 5).
T3CORRELATION -> CANDIDATEone explicit relation (a set of equations, one per observed variable, each a sum of monomials with fixed coefficients, plus any declared latent variables) with size within the level bound (section 6.2), selected by minimum description length on SELECT, and for noise-free levels one-step NRMSE on FIT at most 0.05; for L5 the residuals are white (lag-1 autocorrelation within +/-0.1) and no library term still correlates with them at p <= 0.01stay; widen library; if the budget is spent, REJECTED
T4CANDIDATE -> HYPOTHESISat least one rival relation (a different term set, or the explicit null "no relation") also recorded; a falsifier declared and hashed before any TRIAL data: declared prediction bound eps (rollout NRMSE over 20 steps) with eps <= the level bound of section 6.1 (noisy levels: section 6.1 note), and a minimum trial countstay
T5HYPOTHESIS -> PREDICTEDat least 5 intervention schedules chosen by the planner (section 8), none equal to any schedule hash in FIT, SELECT or HOLDOUT-0, each with predicted trajectories from the hypothesis and from each rival, hashed and recorded before the schedule is runstay The schedule hash is SHA-256 over the REQUESTED reset values (n_obs i64) followed by the (channel u8, value i64) steps in order, never over observed values; on noisy levels the observed reset differs from the requested one and must not enter the hash (revision 5, found by the first learner run: L5 preregistration could never match).
T6PREDICTED -> INTERVENEDall registered schedules executed through the bounded API; records tagged TRIAL; each trial passes if rollout NRMSE (20 steps) is within the declared eps; all trials passany failing trial: the hypothesis moves to REFUTED, the failing record is appended to its exceptions list, and the learner returns to CANDIDATE with those records now in FIT
T7INTERVENED -> REPLICATEDat least 3 independent REP batches, each at least 10 episodes of 20 steps, schedules drawn from fresh streams never used before, half planner-chosen and half uniform random; each batch within eps and no single episode above 3 * epsa failing batch: REFUTED as in T6 Error normalisation as in the paragraph below (revision 6).
T8REPLICATED -> PROVISIONAL_LAWthe law record of section 7 written with confidence_ppm computed by the section 7 rule, exceptions listed, all experiment hashes included, every record reference verifying against the chainstay

Trial and replication error normalisation (revision 6): the rollout NRMSE of a single trial or REP episode divides each variable's RMSE by the pooled standard deviation of that variable over the FIT records (the observed domain), never by the spread inside the trial itself. A quiet trial with little motion would otherwise fail on measurement noise alone even under the true relation (found by the first learner run on L5).

Void episodes (revision 7): a TRIAL or REP episode in which the world ends the episode with OUT_OF_BOUNDS before the rollout horizon is void, not a failed prediction; the harness records it as void and draws a replacement episode from the same fresh stream within the same batch; at most 3 voids per batch, a fourth voids the batch and it is redrawn; void episodes never count toward p or f in the confidence rule (found by the first learner run: an L0 replication batch came up one episode short).

Rules:

6. Per-level pass criteria

A level passes when all 5 independent world instances (5 fresh seeds, each with its own constants and its own budget, starting from nothing) pass all of 6.1 to 6.3. Zero retries within a level. Instance seeds are fixed (section 2.4).

6.1 Held-out prediction error

The scorer holds the generator. After a learner declares its final relation on an instance, the scorer generates held-out scoring episodes: 20 episodes of 20 steps from the "score" stream, with initial states and intervention schedules the learner has never seen. Half start inside the training box [-2, 2], half in the extrapolation box [-3, 3] (reset restricted to [-2, 2] for the learner, so extrapolation episodes are scorer-only). For L6 every episode starts with h = 0.

The learner supplies a prediction for each episode from the initial state and the intervention sequence. For scoring episodes the scorer supplies the noise-free initial state on every level, including L5. Scoring tests the relation, not the learner's denoising. The scorer compares with the noise-free true trajectory.

NRMSE = max over variables j of ( RMSE_j / std_j ), where RMSE_j is the root mean square error of variable j over all steps and episodes and std_j is the standard deviation of the true values of variable j over the same set.

LevelIn-box NRMSE (20-step) boundExtrapolation-box boundOne-step NRMSE bound
L0 to L40.020.060.01
L50.02 (versus noise-free truth)0.060.01 (versus noise-free truth)
L60.030.08not scored (hidden state not given)

The in-box scoring region is the level's reset box; the extrapolation box is 1.5 times it in every observed variable.

Note for the T4 and T6 trials on L5: the learner can only compare with noisy observations, so the in-ladder declared eps for L5 is capped at 0.05. The final 6.1 score still uses noise-free truth.

6.2 Compactness

Size of a relation |R| = (number of nonzero monomial terms summed over all equations, counting an intervention term as one term) + (number of declared latent variables). The generator's true size S* and the bound |R| <= S* + 2:

LevelTrue termsS*Bound
L0Ds0: s1; Ds1: u24
L1Ds0: s1; Ds1: s0, u35
L2Ds0: s1; Ds1: s0, s1, u46
L3Ds0: s1; Ds1: s0, s2, u0; Ds2: s3; Ds3: s0, s2, u1810
L4Ds0: s1; Ds1: s0, s0^3, u46
L5as L246
L6Ds0: s1; Ds1: s0, h, u; Dh: h, s0; plus 1 latent79

(Dx is the one-tick change of x; the dt factor sits in the coefficient.) Further rules: monomial degree at most 3; no lookup tables, no stored trajectories, no non-parametric component; any such component counts one term per stored number, so a memoriser fails by size. The relation must be expressible in the canonical form of section 7.

Description length in bits (description_bits in the PDLAW1 record, fixed rule so later programs compute explanatory gain from the record alone): per term, 8 bits per exponent entry (n_vars + n_channels entries) plus 24 bits for the coefficient (quantised to 24-bit precision for this count only; the stored coef stays i64 micro-units), plus 8 bits per declared latent variable. description_bits = sum over terms (8 * (n_vars + n_channels) + 24) + 8 * n_latent.

6.3 Structure and constants

Calibration 2026-10-04: with the revision 3 constants the harness latent-free reference reaches in-box NRMSE 0.069 to 0.138 across seeds 1..5 (V2 PASS on all five); the factor-3 margin (0.09) is met on three of five seeds. Whether the margin changes is an operator decision pending; until then L6 cannot pass and no learner is scored on it.

6.4 Replication

5 of 5 instances pass 6.1 to 6.3, and within each instance the ladder of section 5 reaches PROVISIONAL_LAW with T7 satisfied.

6.5 Level receipts

Pass writes a new receipt PD0_L<n>_PASS containing the seed commitments, the five law records, the scorer output, the harness commit and the label STAND_IN for recorder and range check. Fail writes PD0_L<n>_FAIL with the reason. Neither overwrites an earlier receipt. Level n+1 is attempted only after level n passes.

7. Law record format (PDLAW1)

A canonical fixed byte layout (language-neutral, version-refused-if-unknown), with a non-canonical JSON projection for humans. All integers little-endian.

FieldTypeMeaning
magic8 bytesPDLAW1\0\0
versionu161
stateu80 REJECTED, 1 REFUTED, 2 HYPOTHESIS, 3 PROVISIONAL_LAW
law_id32 bytesSHA-256 of the canonical bytes with this field zeroed
relationshipblocksee below
observed_domainblocksee below
confidence_ppmu32see rule below, 0 to 1_000_000
exceptionsu16 count, then listeach: record_seq u64, record_hash 32 bytes, predicted i64, observed i64, error_micro i64
experimentsu16 count, then listeach: experiment_id 32 bytes (hash), kind u8 (0 trial, 1 replication batch), prereg_hash 32 bytes, outcome_hash 32 bytes, result u8 (0 pass, 1 fail), first_seq u64, last_seq u64
chain_root32 bytesrecord_hash of the last record the law depends on
claim_textu16 length-prefixed bytesgenerated only from the template below

relationship block: n_vars u8 (observed plus latent), n_latent u8, n_channels u8, description_bits u32 (rule in section 6.2), n_refutations u16 (number of times this instance passed through REFUTED before this record), n_equations u8, then per equation: target u8 (variable index), n_terms u16, then per term: coef i64 (micro-units), exponents[n_vars + n_channels] u8 each (powers of each variable then each channel; an intervention term has exponent 1 on its channel and 0 elsewhere). Variable order: observed, then latent. Equation form: Dtarget = sum of coef * monomial, where Dtarget is the one-tick change.

observed_domain block: per observed variable min i64, max i64 (the range actually visited in FIT, SELECT and TRIAL records); per channel min i64, max i64 applied; dt_micro i64; n_observations u64 (all status = OK records used); n_episodes u32; boundary_conditions as the fixed set: reset box, episode length, latent reset value (0 when declared).

confidence_ppm rule (author's choice, UNVERIFIED as the best rule, confidence: low-medium): floor(1_000_000 * (p + 1) / (p + f + 2)), where p is the number of registered held-out episodes (T6 trials and T7 batch episodes) within eps and f the number outside. A Laplace rule of succession over recorded held-out trials. No other input changes it.

claim_text template (the only allowed phrasing): Across <n_observations> observations under <domain summary>, this relation predicts within <eps> (rollout NRMSE, 20 steps). Confidence <confidence_ppm> ppm. <n_exceptions> exceptions recorded. No sentence using "always", "universally" or "true" may be generated.

Illustrative JSON projection for an L1 instance (values illustrative, never run, UNVERIFIED as a real result):

{
  "state": "PROVISIONAL_LAW",
  "relationship": [
    {"target": "s0", "terms": [{"coef": 50000, "monomial": "s1"}]},
    {"target": "s1", "terms": [{"coef": -200000, "monomial": "s0"}, {"coef": 50000, "monomial": "c0"}]}
  ],
  "observed_domain": {"s0": [-2500000, 2500000], "s1": [-3000000, 3000000], "c0": [-2000000, 2000000], "n_observations": 2400},
  "confidence_ppm": 972222,
  "exceptions": [],
  "experiments": ["trial x5", "replication batch x3"]
}

(Here k = 4.0 and dt = 0.05, so the s1 -> s0 coefficient is 0.05 = 50000 and the s0 -> s1 coefficient is -k * dt = -0.2.)

8. Experiment planner contract

Language-neutral contract; the algorithm is free.

Inputs: the live hypothesis set H (at least the best candidate and one rival, possibly the null); the visited domain (from observed_domain); the remaining budget; the API bounds from describe; a planner seed.

Output (PD0EXP1 record): a schedule (a reset state inside the reset box plus a sequence of at most 20 (channel, value) steps inside the bounds); expected[h] = the predicted trajectory for every h in H; the divergence score D; the schedule hash. The schedule hash is SHA-256 over the REQUESTED reset values (n_obs i64) followed by the (channel u8, value i64) steps in order, never over observed values; on noisy levels the observed reset differs from the requested one and must not enter the hash (revision 5, found by the first learner run: L5 preregistration could never match).

Selection rule: choose the schedule that maximizes D(s) = max over pairs (i, j) in H of max over steps of |pred_i(s) - pred_j(s)| / r, where r is the pooled residual standard deviation of the hypotheses on SELECT. Candidate set: at least 256 seeded random schedules plus local refinement of the top 16. Ties break by lowest total absolute intervention, then by lexicographic schedule hash.

Required behaviours:

  1. Deterministic given inputs and seed.
  2. Never emits a request outside the API bounds (a refused step in a planner schedule is a planner defect and a gate failure).
  3. Never repeats a schedule hash already in FIT, SELECT, HOLDOUT-0, TRIAL or REP.
  4. If the best D < 3 (rivals indistinguishable at three residual standard deviations), the planner returns NO_DISCRIMINATING_EXPERIMENT. The learner must then widen its domain (it may not repeat a tested range) or report REJECTED. It may not fake a divergence.
  5. It must push into regions rarely visited: at least 20% of planner schedules in a run must start or reach outside the middle 50% of the visited range of some variable. UNVERIFIED that 20% is a good number (confidence: low); it is a starting value to prevent a planner that only re-tests the comfortable centre.
  6. A PD0EXP1 record is a proposal. Its schedule executes only after the recorder has chained the preregistration record (PD0EXP1 with its hash and the predicted trajectories) ahead of any TRIAL record; the guard refuses a TRIAL step whose schedule hash has no earlier chained preregistration. The planner cannot authorize its own experiment.

9. Negative controls and PD-1 pointer

9.1 Negative controls (mandatory gates; red before green)

NC-1: null world. A world with the same interface and record shape as L2 in which nothing depends on anything: each observed variable after each step is a fresh independent draw e from the "null" stream with standard deviation 0.5 (the same Irwin-Hall form), regardless of state or intervention. 20 instances, seeds 101..120, full L2 budget. Pass condition: the engine emits zero PROVISIONAL_LAW records in 20 of 20 instances. The highest ladder state reached is recorded in the receipt and is not itself a failure. A single PROVISIONAL_LAW is a failed gate PD0_NC1_FAIL.

NC-2: shuffled real data. Take a recorded L1 run and permute the outcome blocks (vars_after) across records with a recorded seed, rebuilding valid hash chains. The learner is fed the permuted data only. Same pass condition: zero laws in 20 permutations.

NC-3: mutated pass criteria must fail. The harness runs the scorer with deliberately wrong inputs; every row must produce the stated verdict, or the scorer is not trustworthy.

MutationActionExpected verdict
M1oracle solver's recovered k multiplied by 1.10FAIL (6.3 constants)
M2oracle relation padded with 5 spurious terms having tiny nonzero coefficientsFAIL (6.2 size)
M3memoriser: a lookup table of all training transitions, nearest-neighbour predictionFAIL (6.2 size, and extrapolation bound 6.1)
M4"always emit a law" stub learner (writes a law record with no evidence)FAIL (ladder checker refuses the record; NC-1 red)
M5the 6.1 bound loosened 100 timesthe scorer must still FAIL M1 through M4 on structure, constants and size; if any passes only because of the loosened bound, the criteria were redundant and that is reported
M6trial schedule reused from FIT data (leak)FAIL (T5 refuses a repeated schedule hash)

Positive control (V1): the oracle solver passes every level. Together with NC-1 to NC-3, a result is believed only if both the oracle passes and every null or mutated run fails. Receipt PD0_CONTROLS_PASS is required before any learner receipt is accepted.

9.2 PD-1 pointer (not specified here)

PD-1 is the second benchmark and the test that matters: can the engine discover a machine behaviour nobody told it? Retrospective target: the GB10 stale-command bug of 2026-10-02, where a host-polled completion word placed in GPU-cacheable memory became visible about 1.06 s late and rarely never, fixed by allocating it GPU-uncached plus an L2 flush (mind map note gb10-completion-flag-uncached; omega#230, fb36109 per that note). PD-1 would give the learner only intervention and outcome records with labels stripped: no words "cache", "stale", "flush", "uncached"; opaque variable names; interventions (allocation attribute, flush present or absent, wait style) and outcomes (host-visible delay, or never). Success: the learner recovers, as a compact relation with a law record, that delay depends on the allocation attribute and the flush and not on the other recorded knobs. UNVERIFIED: that per-launch intervention and outcome records of the campaign were preserved in a form that can be stripped and replayed (confidence: low-medium). Item for the PD-1 spec: the learner must not have the mind map or Cortex entries about this bug. A separate document will specify it.

10. Explicit non-goals

11. Gates and what a builder must do first

Builder order (each step receipted, no step skipped):

  1. G0 harness self-test: wire records round-trip, hash chain verifies, unknown version refused, reproducibility (same seed, same record bytes, run twice).
  2. G1 level validity V1 to V3 (section 4.2) and the oracle solver passes L0 to L6 under the section 6 criteria.
  3. Threshold calibration check: the section 6 numbers are untested initial values. Run the oracle solver and one plain reference solver (a sparse least-squares fit over the monomial library, written in Rust, no Python) and record their scores. If the oracle fails a bound, that is a spec defect: stop and report with the numbers. Do not tune a bound silently. Any bound change needs the operator's approval and a new revision of this file.
  4. G2 ladder checker unit tests: each transition accepts valid evidence and refuses every missing-evidence case; skipping a state is refused.
  5. G3 planner contract tests (section 8 behaviours 1 to 4).
  6. G4 negative controls NC-1 to NC-3 and the positive control (PD0_CONTROLS_PASS).
  7. G5 isolation check: the learner crate's dependency graph has no path to the world crate; the world runs in a separate process; the learner binary never opens the recorder's HOLDOUT-0, TRIAL or REP files (invariant I10).
  8. Only then score a learner, level by level (section 6.5).

Suggested crates (names only, layout open): pd0-wire (byte layouts), pd0-world (generators, own binary), pd0-recorder (stand-in for PHYSICS, labelled STAND_IN), pd0-guard (stand-in for AEGIS range check, labelled STAND_IN), pd0-ladder (checker), pd0-score, pd0-planner, pd0-learner. Boundaries between crates follow ADR 0024 lines 30 to 35.

12. Open items