Skip to content

Commit 1d27fea

Browse files
d-burgclaude
andcommitted
DOCS - IMPROVEMENT - q=2 Delta' converges on a fixed ldp grid
An mpsi ladder (128..2048) on a deterministic ldp grid, which skips the two-pass measure-and-re-form step, converges the q=2 diagonal: successive increments are +1.889, +1.392, +0.443, -0.018, so the last doubling moves both Delta' and the SLAYER growth rate by 0.2%. Converged values are dpm[1,1] ~ 8.91 and gamma(2/1) ~ 214.5 Hz, and dpm[3,3] lands on ~-16.5 under both grid families. This changes the conclusion of the open problem above. The q=2 Delta' is not intrinsically ill-conditioned; its non-convergence under the auto grid is an artifact of that generator never reaching a fixed point. A plateau criterion is therefore implementable today against a fixed ldp grid, without waiting on the auto-grid work. Also records that the auto grid errs in both directions relative to the converged value — 6.39 at its default psi_accuracy (28% low), 9.51 at its tightest (7% high). Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent 3f5857b commit 1d27fea

1 file changed

Lines changed: 34 additions & 9 deletions

File tree

docs/src/developer_notes.md

Lines changed: 34 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,13 @@ A `psi_accuracy` scan on the DIII-D-like SLAYER deck (2e-3 down to 3.125e-5, a
5252
| 6.25e-5 | 457 | 916 | 8.911 | -6.477 | -16.510 | 214.4 |
5353
| 3.125e-5 | 559 | 1226 | 9.514 | -6.260 | -16.485 | 228.7 |
5454

55-
Three things follow. First, the outer surface `dpm[3,3]` (q=4) *does* plateau —
56-
the last four points agree to about 1% — while `dpm[2,2]` is marginal and
57-
`dpm[1,1]` (q=2) never settles, still moving ~7% between the two tightest grids.
58-
A plateau criterion would therefore succeed per-surface and correctly report
59-
failure for q=2, which is more informative than a single pin that hides it.
55+
Three things follow. First, convergence is per-surface: the outer surface
56+
`dpm[3,3]` (q=4) *does* plateau under the auto grid — the last four points agree
57+
to about 1% — while `dpm[2,2]` is marginal and `dpm[1,1]` (q=2) never settles,
58+
still moving ~7% between the two tightest grids. A plateau detector must
59+
therefore report per-surface rather than pass/fail for the whole diagonal.
60+
(As the `ldp` scan below shows, q=2 is not inherently unconvergeable — it is the
61+
auto grid that prevents it from settling.)
6062

6163
Second, the growth rate is linear in Δ′: `gamma/dpm[1,1]` is 24.1 to within 0.5%
6264
across the whole scan, so a converged Δ′ is both necessary and sufficient for a
@@ -67,13 +69,36 @@ Third — and this is the blocker — the `implied` column (what
6769
relative to the grid actually used, from 1.7x to 2.2x. The two-pass scheme stops
6870
after pass 2, so tightening `psi_accuracy` moves it *further* from
6971
self-consistency rather than closer, and the warning's advice to "consider
70-
tightening psi_accuracy" is counterproductive in this regime. Until knot
71-
refinement iterates to a fixed point, a plateau search is scanning a moving
72-
target.
72+
tightening psi_accuracy" is counterproductive in this regime.
73+
74+
The same deck on a deterministic `ldp` grid, which skips the measure-and-re-form
75+
step entirely, converges:
76+
77+
| mpsi | dpm[1,1] | dpm[2,2] | dpm[3,3] | gamma 2/1 (Hz) |
78+
|---|---|---|---|---|
79+
| 128 | 5.208 | -8.666 | -19.157 | 126.2 |
80+
| 256 | 7.097 | -5.187 | -15.729 | 171.2 |
81+
| 512 | 8.489 | -6.217 | -16.517 | 204.4 |
82+
| 1024 | 8.932 | -6.298 | -16.529 | 214.9 |
83+
| 2048 | 8.914 | -6.385 | -16.468 | 214.5 |
84+
85+
Successive `dpm[1,1]` increments are +1.889, +1.392, +0.443, -0.018: the last
86+
doubling moves both Δ′ and the growth rate by 0.2%. So the q=2 Δ′ is **not**
87+
intrinsically ill-conditioned — it converges to ≈8.91, with gamma ≈214.5 Hz, and
88+
`dpm[3,3]` converges to ≈-16.5 on *both* grid families, which is what a physical
89+
value should do. The non-convergence under the auto grid is an artifact of the
90+
generator, not of the Δ′ extraction.
91+
92+
Two consequences. A plateau criterion is implementable today against a fixed
93+
`ldp` grid, without waiting on the auto-grid work. And the auto grid's answers
94+
are biased in both directions relative to the converged value: at its default
95+
`psi_accuracy` it gave 6.39 (28% low), at its tightest 9.51 (7% high). Anything
96+
pinned on the auto grid should be read with that in mind.
7397

7498
This is not implemented. Doing it properly needs:
7599

76-
- knot refinement iterated to a fixed point (repeat the measure-and-re-form
100+
- either a fixed `ldp` grid (which already converges, see above) or knot
101+
refinement iterated to a fixed point (repeat the measure-and-re-form
77102
step until `implied_knot_count` stops exceeding the grid in use), since
78103
without it the scan target keeps moving;
79104
- a scan driver over `psi_accuracy` × truncation (`psihigh`, `dmlim`, `qhigh`)

0 commit comments

Comments
 (0)