# PF-002 C3 analytical slice, version 1: Stage 2 audit

**Virtual lab - simulated experiment. Analytical model only.** This audit records the bounded Stage 2 implementation and its focused fixtures. A verified identity says the stated algebra or arithmetic holds. It is not physical validation, mechanism existence, physics acceptance or apparatus qualification. No retained analytic record, primary, integrator, field solver, full gate, envelope, PR or deployment exists. Root's implementation review is pending.

## Chronology

| Step | Commit | Note |
| --- | --- | --- |
| Root proposal review pass, Stage 2 released | `ea263b4ecdeb7458a58a04f8e3d89066f15222ec` | Scoped to the stated analytical status |
| Lifecycle transition, before any code | `d63fb230225fbcefbc4b6b3934c1aaad4e73ae78` | `fixture_verification_authorised` true, mode `analytical_verification_fixtures`, `execution_authorised` false. Freeze digest unchanged: `4649adfa77a9f80a75d594a831f82bcaee2656c707ca5ca389cdd72b9481f290` |
| Implementation and tests | `9d301c18147cc26717100e97fecf81560a0e7c9c` | Four new files, nothing else changed |
| Fixture invocation 1 | at `9d301c1` | Exit 0, 32 of 32 |
| First audit | `43380ce26b6543e45f305287a78ddc41926666d0` | Audit only |
| Guard hardening, after root's interim read | `035f7fe5e3bc7be8c5e2a4492b3ee0e9dc0005c7` | Code and tests only. See below |
| Fixture invocation 2 | at `035f7fe` | Exit 0, 38 of 38 |
| This audit update | this commit | Audit only |

Before the commit, edits used only a syntax parse with `feature_version` (3, 9), which runs no code, and the repository policy check. Three issues were found and fixed **before any test ran**:

- The guard returned `identity_verified` from labels alone for an in-class B2 request and a nonzero quotient. Both now also require derived, oracle and claimed values to agree.
- A Unicode escape in a test was written as a literal combining character. It is now built with `chr(0x301)`, so the source is ASCII.
- The CLI test used `-I`, which on Python 3.11 and later drops the script directory from `sys.path`. It now uses `-E -s -B`.

No failed invocation exists to retain, and no threshold or tolerance was tuned.

## Guard hardening at `035f7fe`

Root's interim code read asked for four changes. None changes the freeze, a tolerance or the science.

- **Fields outside the freeze.** The digest pinned only the freeze block, so an extra or changed field elsewhere could pass. The guard now requires the exact set of top-level keys. It also pins the whole reviewed twin by the same canonical digest, `3528ee765a2cfb9beadc88daec09645b6563b0d234239b80da475ce1a472d0d9`. New tests show that an extra top-level field, an extra nested variant, a changed prohibited claim and a changed status are each refused, while the freeze digest is unchanged in every case.
- **Label payloads.** `_compare` accepted equal booleans or labels. Comparison payloads must now be one supported scientific kind, shared by all three values:
  - an exact `Fraction`
  - a finite `Decimal`
  - polynomial terms keyed by `(name, power)` monomials with exact, non-boolean coefficients
  - a pair of such terms

  Claim IDs must be `V1` to `V9`. Booleans, strings, plain integers, `None`, mixed kinds, raw objects, bool coefficients and unknown IDs are refused. B2 and quotient payloads follow the same rule.
- **V9 carriers.** The boolean `(True, True)` comparison is replaced by exact margins: `min(E - |p|)` and `sum E - |sum p|` in the checker, and `min(E - p, E + p)` forms without `abs` in the oracle. A typed `inequality` request verifies only when the two exact margins are equal and non-negative. A frozen-external negative carrier `(1, 2)` gives `identity_failed`.
- **CLI cold start.** At `9d301c1` the CLI test already used `-E -s -B`, not `-I`, and it cold-started successfully in invocation 1. Root preferred isolation. So the checker now has a reviewed script-mode bootstrap that adds exactly its own directory to `sys.path` before the sibling import. The CLI tests run `python -I -B` again, including a new cold start from an unrelated temporary directory by absolute path.

## Files

Current hashes at `035f7fe`:

| File | sha256 |
| --- | --- |
| `pf002_c3_analytical_guard_v1.py` | `f9fc3551b073954c5206d9eb029314afd34570dcfe20076179e65e034765bd9e` |
| `pf002_c3_analytical_checker_v1.py` | `69b284844263cc8654cdd97d4d807599cdecc041fd1bfdc29735900dd1fc762e` |
| `pf002_c3_analytical_oracle_v1.py` | `08fbfc44d0d47bf6bef634dd4cf4bcf29fccf95e7a529529da2947b56a6c3207` |
| `test_pf002_c3_analytical_v1.py` | `c935b1672a7fdc5558697a5643aa203d456993f67dba13c03eb8511527a0fc6b`, 38 tests |
| Twin and dossier | Unchanged from the table below |

At `9d301c1`, as first committed:

| File | sha256 at `9d301c1` | Role |
| --- | --- | --- |
| `pf002_c3_analytical_guard_v1.py` | `3838863f7e55ee0258582d207bd1dcdec56dd3c15ec0295df47e7de86b6670cc` | Strict reader and classifier. Bytes, nodes, depth, duplicate keys, finiteness, NFC, exact lifecycle, pinned freeze digest, frozen field values and cardinalities, unsafe paths. Eight frozen states |
| `pf002_c3_analytical_checker_v1.py` | `5d6f6fd7eaea37fcb39a1e5e0ed358df19a5b6182c3136e2b92ad875c4782fe4` | Exact polynomial class with symbolic `d/dt` and Euler-Lagrange equations. Derives V1 to V6 and V9, exact edge integrals, constants and Botermann in 50-digit Decimal. Report caps and no-clobber writer. Its CLI refuses a retained report |
| `pf002_c3_analytical_oracle_v1.py` | `78a30ae9aa8f4f9c4a82b60a4ab986b74f669bf7273a69c593f1e763d25cc948` | Imports only `decimal`, `fractions` and `math`. Its own copy of the frozen inputs, hand-expanded derivatives, per-edge trapezoid closed forms, other constant paths, Decimal bisection |
| `test_pf002_c3_analytical_v1.py` | `6d3c13db85977cb7cf02fe4f603736ef81f442f319e85a4249703789346faa0f` | 32 focused tests |
| `pf002-c3-analytical-v1-protocol.json` | `78a2637c972ef861b05c975a98ef283fc0e326a099ce0e46d0816a5178a20f6a` | Unchanged since `d63fb23` |
| `PF002_C3_ANALYTICAL_V1.md` | `32b7002eaeb3e635465b866211f1d38e87e792f7204667e59435a0ccac64ecf3` | Unchanged since `d63fb23` |

## What the tests establish, with provenance

**Verified identities, algebra only.** Each is the checker's derivation, compared with the oracle's hand result and the dossier's claim. All three must be equal, through the classifier:

- **V1:** curvature components, vanishing only at `G = 0`.
- **V2:** the `s` and `R` Euler-Lagrange expressions with the minus sign.
- **V3:** both halves of the Euler-Lagrange term of `d/dt Lambda`, for each frozen `Lambda` and every coordinate.
- **V4:** the coordinate, drive and output bookkeeping for each frozen `c`.
- **V5:** signed loops, reversal and collapse on the rectangle; the control square, its reversal and the degenerate line.
- **V6:** the cross-multiplied identity for every frozen `h`, with the quotient formed only when `h`, `A_Rnu` and `B_snu` are all nonzero.
- **V9:** the static field has zero Poynting vector and stress `eps0*E0^2/2`. The radiative inequality holds on each frozen carrier set.

**Arithmetic from retained constants.**

- **V7:** checker and oracle agree within the frozen 1e-12 relative. Each rounds to the twin's quoted digits. `alpha` is within 2e-4 of `k*nhat`. Unit exponents check.
- **V8:** `gamma^2*beta^2` is exactly `28561/221439`. Linearised `q` central and 1-sigma round to the quoted values. The exact and linearised central values agree within 1e-6. No confidence bound is produced.

**Assumptions, explicit in the checker:**

- the original `L_h` as frozen
- `G`, `Cm`, `w` and `w2` constant
- `H(s) = w*s + w2*s^2` as a generic polynomial stand-in
- the retained constants as quoted
- Botermann's reported values

**Unproved, carried in every summary and never set by a test:**

- `P-theta` and the output law `q`
- `H_d` and `kappa_theta`
- `Y` and the autonomous ledger
- K2 closure
- any bound on original C3
- mechanism existence

**Adverse fixtures, each failing closed:**

| Fixture | State reached |
| --- | --- |
| Revision 1's plus-sign Euler-Lagrange claim, and a sign-flipped `L_h` | `identity_failed` |
| The omitted square root, ratio statistic | `identity_failed` |
| An untransformed output map, for each `c != 0` | `identity_failed` |
| K1 `b = 0` claimed as all-interaction, and K2 `lambda_Y = 0` claimed as all effects | `identity_failed` |
| A static, near-field or background carrier, or incoming radiation, under the B2 budget | `outside_regime_unproved` |
| B2 applied to K1 or K2 | `outside_regime_unproved` |
| Unknown or declared readout | `readout_unknown_unproved`. The freeze has no detector map |
| `kappa_theta = 0`, `Delta != 0`, or phi-dependent loading | `outside_regime_unproved` |
| A deliberately wrong expected value | `identity_failed` |
| All 14 frozen required cases, iterated from the twin | Each reaches its frozen state |

The tests also check that every state produced lies in the frozen set, and that none names physical support.

## Fixture invocation 1

**Command:** from the repository root,

```sh
python3 -I run_fixtures.py WORKTREE .cache/review-evidence/pf002-c3-analytical-v1/fixtures-9d301c1-1
```

The launcher `run_fixtures.py` is kept outside the repository, sha256 `8e3ec451e2481dff9efff89d7ac451396d124230b08ede676c395915a3a9a226`, for root to review.

**Child command:** `python3 -E -s -B -m unittest -v test_pf002_c3_analytical_v1`, run in `experiments/pf-001`. It is the new focused file only, with no discovery.

| Item | Value |
| --- | --- |
| Runtime | CPython 3.14.6 |
| Launcher PID | 16733 |
| Child PID | 16737, in its own process group |
| Start and end | 2026-11-03T21:05:31Z, 0.337 s elapsed |
| Exit | 0. 32 tests, OK |
| Deadline | 1200 s including a 60 s cleanup reserve. Not reached |
| stdout | 0 bytes, sha256 `e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855` |
| stderr | 4352 bytes, sha256 `6891e8ca10813ac0e0b73e8d8e51c3fa7339fc5bbd31ce81ffa35c7ac751654e`. Both within 64 KiB |
| Cleanup | Unconditional `killpg` of the child group, then a check that found no survivors |
| HEAD and upstream | `9d301c1` before and after. Tree clean before and after |
| Sources | All six hashes above identical before and after |
| Receipt | sha256 `851693c5368f636f9c604916d1a6abbbcd61b2c86ca9d43a4c3ce08b1bd22218`. Kept with the logs in the ignored evidence directory |

## Fixture invocation 2

The launcher, command form and child command are the same as for invocation 1. The evidence directory is `.cache/review-evidence/pf002-c3-analytical-v1/fixtures-035f7fe-1`.

| Item | Value |
| --- | --- |
| Runtime | CPython 3.14.6 |
| Launcher PID | 25698 |
| Child PID | 25702, in its own process group |
| Start and end | 2026-11-03T21:10:28Z, 0.494 s elapsed |
| Exit | 0. 38 tests, OK |
| stdout | 0 bytes |
| stderr | 5156 bytes, sha256 `c6846932a2c4d6dd541bff6228a17b8384e1fff014222fd267c5bd813a0ef6dc`. Both within 64 KiB |
| Cleanup | Unconditional `killpg`, then a check that found no survivors |
| HEAD and upstream | `035f7fe` before and after. Tree clean before and after |
| Sources | All six hashes identical before and after |
| Receipt | sha256 `3e6543d749400b22efd3e09336a58aeb061b31f2fcc67f4d8d3e19044732eee0` |

## Weaknesses and limits, stated plainly

**Status after `035f7fe`.** The boolean V9 comparison below is replaced by typed exact margins, and the CLI now cold-starts isolated. V7's four unit-exponent checks remain plain test assertions on booleans. They are not classifier passes.

- **Thin checks.** V4 is bookkeeping by construction: it checks that the stated transform is applied consistently, not physics. The oracle's V3 pairs are hand-written equalities. Their value is in checking the checker's derived halves, term by term.
- **Hand-coded truth tables.** The null table and B2 classes are in the guard. The twin's frozen null strings are pinned by exact comparison, but the table's mapping is reviewed by reading, not derived.
- **Booleans.** V9 carrier results compare booleans from two implementations. The inequalities are trivial on these frozen sets.
- **Shared constants.** V7 and V8 run in 50-digit Decimal, with `pi` taken as the exact binary `math.pi` in both checker and oracle. That is a precision choice, not a tolerance change. The checker-oracle agreement therefore does not test the value of `pi`.
- **Runtime coverage.** Only CPython 3.14.6 ran. Python 3.9 compatibility rests on the syntax parse only.
- **Nested child cleanup.** The CLI tests start one child in its own session and kill that group in a `finally` block. The launcher's survivor check covers only the test process group, not that nested one.
- **Temporary directories.** Tests use the system temporary directory for no-clobber and symlink checks, and remove them.
- **No report run.** The fixture-summary path ran only inside the tests. No retained analytic record exists, and none is committed. A record with `implementation` and a status would be a result under the Atlas rule.

## Stop

Stopped for root's implementation review. Root will inspect all code and run the focused tests independently before deciding on any single bounded analytic report or publication preparation.
